解决warning: environment variable 'STAGING_DIR' not defined
[复制链接]
wateras@wateras-virtual-machine:~/curtest$ make
mipsel-openwrt-linux-gcc -g -Wall -c main.c
mipsel-openwrt-linux-uclibc-gcc.bin: warning: environment variable 'STAGING_DIR' not defined
mipsel-openwrt-linux-gcc -g -Wall -o main main.o -I/home/wateras/curtest/curl/include -L/home/wateras/curtest -lcurl
mipsel-openwrt-linux-uclibc-gcc.bin: warning: environment variable 'STAGING_DIR' not defined
mipsel-openwrt-linux-uclibc-gcc.bin: warning: environment variable 'STAGING_DIR' not defined
执行export STAGING_DIR=$STAGING_DIR:/home/linux64/mips/
再执行make
wateras@wateras-virtual-machine:~/curtest$ make
mipsel-openwrt-linux-gcc -g -Wall -c main.c
mipsel-openwrt-linux-gcc -g -Wall -o main main.o -I/home/wateras/curtest/curl/include -L/home/wateras/curtest -lcurl
就不会报出警告了。
此内容由EEWORLD论坛网友wateras1原创,如需转载或用于商业用途需征得作者同意并注明出处
|