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