Hi,
I am trying to compile the WL18xx drivers for an AM437x based system.
For some reason, "Configure" will not consider the library part and return the following error:
EAD is now at f328848 bump version to 4.14 Makefile was found. Kernel version was set to 4.19.. /lib/ld-linux-armhf.so.3: No such file or directory make: *** No rule to make target 'clean'. Stop. ****** ******* make: *** No targets specified and no makefile found. Stop. ****** ERROR 0 *******
This is my setup.env:
# \\\// # -(o o)- #========================oOO==(_)==OOo======================= # This file contains the exports needed for automating the # build process of WLAN components. # Place this file in the same directory with build_wl18xx.sh # No need to run 'source setup-env', the build # scripts will perform it internally. #=========================================================== # User specific environment settings - use full PATH # TOOLCHAIN_PATH setting is mandatory. ex: TOOLCHAIN_PATH=/smabit-dev/ti/sitara/ti-processor-sdk-linux-am437x-evm-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/ export TOOLCHAIN_PATH=/smabit-dev/ti/sitara/am437x/cross-toolchain/armv7at2hf-neon-linux-gnueabi/usr/bin # ./fs folder will be created if ROOTFS is set to DEFAULT export ROOTFS=DEFAULT # KERNEL_PATH setting is mandatory. ex: KERNEL_PATH=/opt/ti-processor-sdk-linux-am335x-evm-06.00.00.07/board-support/linux-4.19.38+gitAUTOINC+4dae378bbe-g4dae378bbe export KERNEL_PATH=/smabit-dev/ti/sitara/am437x/kernel/kernel-out # CROSS_COMPILE setting is mandatory export CROSS_COMPILE=arm-linux-gnueabihf- # ARCH setting is mandatory export ARCH=arm [ "$TOOLCHAIN_PATH" != "" ] && export PATH=$TOOLCHAIN_PATH:$PATH export LD_LIBRARY_PATH=/smabit-dev/ti/sitara/am437x/cross-toolchain/armv7at2hf-neon-linux-gnueabi/lib export LIBRARY_PATH=/smabit-dev/ti/sitara/am437x/cross-toolchain/armv7at2hf-neon-linux-gnueabi/lib
I have added LD_LIBRARY_PATH and LIBRARY_PATH to the script hoping to resolve the issue that way but no change.
The line where it happens if compiling "update" is this in the buikd_openssl function:
[ -z $NO_CONFIG ] && ./Configure linux-generic32 --prefix=`path filesystem`/usr/local
However, if selecting other targets, the problem is the same. Always happens on the Configure.
The kernel or other software is cross-compiling fine with the same settings. I was able to conclude the previous steps from https://www.ti.com/lit/ug/swru561a/swru561a.pdf without problems.
Any idea what I might have done wrong? Is there any way to pass the correct library path through to Configure?
Regards
Peter