Beagle Bone Black板子 编译Wlink8 各个Utilities时遇到了问题
TI技术支持:您好
我按照指导书上的要求http://processors.wiki.ti.com/index.php/Using_the_WL18xx_Cape_with_BeagleBone_Black 在步骤3.4时,也就是编译libnl组建时:
./wl18xx_build.sh libnl build 遇到了问题:
./wl18xx_build.sh: line 761: cd: /ti-wl18xx/libnl-2.0: No such file or directory
./wl18xx_build.sh: line 196: cd: /ti-wl18xx/libnl-2.0: No such file or directory
make: *** No targets specified and no makefile found. Stop.
这个问题导致安装其它utilities无法继续,在此上一步,也就是:
~$./wl18xx_build.sh wl18xx_modules build ~$sudo ./wl18xx_build.sh wl18xx_modules install
可以正常执行。我将ti-wl18xx直接放在根目录下/ti-wl18xx,我不知道是不是环境变量的设置出现了问题。环境变量文件设置如下:
# User specific environment settings
export BUILD_DIR="/ti-wl18xx"
export WILINK8_PARTIAL_ROOTFS_DIR=$BUILD_DIR/partial_rootfs
export CROSS_COMPILE="arm-linux-gnueabi-"
export PATH="$PATH:/usr/bin"
export ROOTFS=$WILINK8_PARTIAL_ROOTFS_DIR
export WORK_SPACE="/ti-wl18xx"
export KLIB_BUILD=$BUILD_DIR/kernel/kernel
export BUILD_VERSION="r8"
#===========================================================
export ARCH="arm"
export MY_PREFIX="/usr"
export MY_SYSCONFDIR="/etc"
export MY_LOCALSTATEDIR="/var"
export CC="${CROSS_COMPILE}gcc"
export CXX="${CROSS_COMPILE}g++"
export AR="${CROSS_COMPILE}ar"
export RANLIB="${CROSS_COMPILE}ranlib"
export CFLAGS="${CFLAGS} -I${ROOTFS}${MY_PREFIX}/include"
export CPPFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS} -L${ROOTFS}${MY_PREFIX}/lib"
export PKG_CONFIG_SYSROOT_DIR=${ROOTFS}
export PKG_CONFIG_PATH="${ROOTFS}${MY_PREFIX}/lib/pkgconfig:${ROOTFS}/lib/pkgconfig"
export PKG_CONFIG_LIBDIR=""
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=""
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=""
LS=/bin/ls
请教一下问题出现在何处,谢谢!
./wl18xx_build.sh all如何, 你可以运行一下
./wl18xx_build.sh -h看一下帮助