您好!
我正在尝试为基于 AM437x 的系统编译 WL18xx 驱动程序。
出于某种原因、"Configure"不会考虑库部分并返回以下错误:
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 *******
这是我的 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
我已将 LD_LIBRARY_PATH 和 LIBRARY_PATH 添加到脚本中、希望以这种方式解决问题、但没有更改。
在 buikd_openssl 函数中、如果编译"update"、则会发生该情况的行是: 
[-z $no_config ]&&./Configure Linux-generic32 --prefix=`path filesystem`/usr/local 
但是、如果选择其他目标、问题是相同的。 总是发生在配置上。
内核或其他软件使用相同的设置进行交叉编译。 我在 https://www.ti.com/lit/ug/swru561a/swru561a.pdf 上顺利完成了先前的步骤 。
有什么想法、我可能会出什么问题? 是否有任何方法将正确的库路径传递到配置?
此致 
Peter 
 
				 
		 
					