Hi!
I try to compile user space package, but unsuccesfully
When I've check whats wrong I've got:
[rusink@localhost ]$ mipsel-openwrt-linux-uclibc-gcc --std=gnu99 -E -I. -Wall -c main.c >main.E
mipsel-openwrt-linux-uclibc-gcc: warning: environment variable 'STAGING_DIR' not defined
main.c:1:27: fatal error: libubox/uloop.h: No such file or directory
compilation terminated.
I've checked ~/openwrt/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/usr/include/libubox/utils.h - is on place....
Who can tell where and how should I define 'STAGING_DIR?
I've tried to do it like:
export PATH=$PATH:~/openwrt/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/
export STAGING_DIR=~/openwrt/staging_dir/toolchain-mipsel_r2_gcc-4.6-linaro_uClibc-0.9.33.2/
And than do make package/my_package/compile but got the same errors.
(Last edited by rusink on 6 Mar 2013, 06:39)