OpenWrt Forum Archive

Topic: Compiling Kamikaze on redhat 9 for NSLU2 target - ultimately USBIP

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

My ultimate aim is to get USBIP running under openwrt on a linksys NSLU2.

I therefore believe I need to understand and succesfully compile Kamikaze before moving onto compiling the USBIP package.

The instructions for compiling Kamikaze are described here.

http://www.nslu2-linux.org/wiki/OpenWrt … structions

and Here

http://people.bu.edu/ebishop/openwrt-programming.html  (Part3)

Which are essentially the same

However when I type in make menuconfig I get the following error.

Prerequisite check failed. Use FORCE=1 to override.
make: *** [tmp/.prereq-build] Error 1

If I type in

make V=99 FORCE=1 menuconfig

I get the following.

make[1]: Entering directory `/openwrt/kamikaze_7.09/scripts/config'
cc -DKBUILD_NO_NLS   -c -o zconf.tab.o zconf.tab.c
In file included from zconf.tab.c:2168:
lex.zconf.c: In function `zconf_fopen':
lex.zconf.c:2231: error: `PATH_MAX' undeclared (first use in this function)
lex.zconf.c:2231: error: (Each undeclared identifier is reported only once
lex.zconf.c:2231: error: for each function it appears in.)
In file included from zconf.tab.c:2170:
confdata.c: In function `conf_get_default_confname':
confdata.c:73: error: `PATH_MAX' undeclared (first use in this function)
confdata.c:73: error: storage size of `fullname' isn't known
make[1]: *** [zconf.tab.o] Error 1
make[1]: Leaving directory `/openwrt/kamikaze_7.09/scripts/config'
make: *** [scripts/config/mconf] Error 2

Can anyone point me in the correct direction to get a succesful compilation?
And also possibly help in my aim to get USBIP compiled for openwrt on the NSLU2.

Thankyou

Jeremy (Bullfrog528)

The discussion might have continued from here.