Neptune354 http://cyberstorm.altervista.org/phpBB3/ |
|
compilation problem - zebra libs i think? http://cyberstorm.altervista.org/phpBB3/viewtopic.php?f=8&t=32 |
Page 1 of 1 |
Author: | monkeyboy [ 23 Oct 2007, 20:35 ] |
Post subject: | compilation problem - zebra libs i think? |
hi, Im trying to compile neptune354 for a v1 wag354 Ive been staring at this for a while now finding errors and fixing them as i go (missing app etc) and just cant past this one im using Linux version 2.6.22.6 (gcc version 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)) TI-toolchains-2_1_0-cy07 toolchain linked to /opt/cy I dont know how much of this you need , so heres a screen full (sorry if its too much). Code: mipsel-uclibc-gcc -Os -pipe -Wall -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -D_DISABLE_SERIAL_ -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DPLUGIN -c -o ipcp.o ipcp.c ipcp.c:2161: warning: `IPPROTO_TCP' redefined /opt/cy/mipsfple-uclibc/include/netinet/in.h:43: warning: this is the location of the previous definition ipcp.c: In function `ipcp_reqci': ipcp.c:1314: warning: unused variable `maskbuf' ipcp.c:1313: warning: unused variable `fp' ipcp.c: In function `ip_check_options': ipcp.c:1589: warning: unused variable `local' ipcp.c:1588: warning: unused variable `hp' ipcp.c: In function `ipcp_up': ipcp.c:1841: warning: implicit declaration of function `unlink' mipsel-uclibc-gcc -Os -pipe -Wall -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -D_DISABLE_SERIAL_ -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DPLUGIN -c -o md4.o md4.c mipsel-uclibc-gcc -Os -pipe -Wall -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -D_DISABLE_SERIAL_ -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DPLUGIN -c -o chap_ms.o chap_ms.c mipsel-uclibc-gcc -Os -pipe -Wall -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -D_DISABLE_SERIAL_ -I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DPLUGIN -o pppd main.o magic.o fsm.o lcp.o upap.o chap.o md5.o ccp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o ipcp.o md4.o chap_ms.o -lcrypt -Lplugins/pppoe -lpppoe -Lplugins -lpppoatm -L../../lib -latm -L../../nvram -lnvram -L../../shared -lshared make[1]: Leaving directory `/data/src/router/trunk/router/pppd/pppd' make -C zebra CC=mipsel-uclibc-gcc make[1]: Entering directory `/data/src/router/trunk/router/zebra' make all-recursive make[2]: Entering directory `/data/src/router/trunk/router/zebra' Making all in lib make[3]: Entering directory `/data/src/router/trunk/router/zebra/lib' source='version.c' object='version.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ mipsel-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/zebra/etc/\" -I. -I.. -I.. -I.. -I../lib -Wall -c version.c source='network.c' object='network.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ mipsel-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/zebra/etc/\" -I. -I.. -I.. -I.. -I../lib -Wall -c network.c In file included from zebra.h:40, from network.c:23: /opt/cy/mipsfple-uclibc/include/string.h:264: parse error before `(' /opt/cy/mipsfple-uclibc/include/string.h:264: warning: conflicting types for built-in function `memcpy' /opt/cy/mipsfple-uclibc/include/string.h:264: parse error before `__const' /opt/cy/mipsfple-uclibc/include/string.h:267: parse error before `(' /opt/cy/mipsfple-uclibc/include/string.h:267: warning: conflicting types for built-in function `memset' make[3]: *** [network.o] Error 1 make[3]: Leaving directory `/data/src/router/trunk/router/zebra/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/src/router/trunk/router/zebra' make[1]: *** [all] Error 2 make[1]: Leaving directory `/data/src/router/trunk/router/zebra' make: *** [zebra] Error 2 Thanks (in advance) for all the help MonkeyBoy |
Author: | monkeyboy [ 24 Oct 2007, 00:36 ] |
Post subject: | Re: compilation problem - zebra libs i think? |
thought id try and do it on another machive (virtual pc) and got a different error... argh If either are solvable then can anybody let me know or at least point me in the right direction. Code: Making clean in zebra make[2]: Entering directory `/usr/src/wag/svn/trunk/router/zebra/zebra' test -z "zebra" || rm -f zebra rm -f *.o make[2]: Leaving directory `/usr/src/wag/svn/trunk/router/zebra/zebra' Making clean in lib make[2]: Entering directory `/usr/src/wag/svn/trunk/router/zebra/lib' test -z "libzebra.a" || rm -f libzebra.a rm -f *.o make[2]: Leaving directory `/usr/src/wag/svn/trunk/router/zebra/lib' Making clean in . make[2]: Entering directory `/usr/src/wag/svn/trunk/router/zebra' make[2]: Nothing to be done for `clean-am'. make[2]: Leaving directory `/usr/src/wag/svn/trunk/router/zebra' make[1]: Leaving directory `/usr/src/wag/svn/trunk/router/zebra' [ ! -d ipupdate ] || make -C ipupdate clean make[1]: Entering directory `/usr/src/wag/svn/trunk/router/ipupdate' cd . && automake --foreign --include-deps Makefile configure.in:10: warning: AC_ARG_PROGRAM invoked multiple times Makefile.am:3: `ez_ipupdate_SOURCES' includes configure substitution `@EXTRASRC@'; Makefile.am:3: configure substitutions are not allowed in _SOURCES variables make[1]: *** [Makefile.in] Error 1 make[1]: Leaving directory `/usr/src/wag/svn/trunk/router/ipupdate' make: *** [ipupdate-clean] Error 2 all because my nebaztag is have trouble connected via wifi to the router with the 1.01.11-neptune354 firmware.. oh well |
Author: | cyberstorm [ 24 Oct 2007, 12:15 ] |
Post subject: | Re: compilation problem - zebra libs i think? |
I think is a problem of automake. I have installed version 1.9 and 1.7 but NOT 1.8. I dont know if 1.10 is working, just do like I did. Btw, zebra is used for RIP and BGP, quite useless IMO, so you can even disable it in Makefile |
Author: | C@rciofone [ 24 Oct 2007, 15:26 ] |
Post subject: | Re: compilation problem - zebra libs i think? |
cyberstorm wrote: I think is a problem of automake. I have installed version 1.9 and 1.7 but NOT 1.8. I dont know if 1.10 is working, just do like I did. Btw, zebra is used for RIP and BGP, quite useless IMO, so you can even disable it in Makefile For example with kubuntu I need automake 1.4. |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |