Latest CVS download won't compile for me

Ron Jobmann RJobmann at Omnitronix.com
Fri Sep 22 19:07:26 UTC 2006


I did a download of 1.2.1 a month to replace the 1.0.0 that comes as
default in the Snapgear distribution. I got the config figured out (I
think) and ran my build and things broke in the networking module of
Busybox. I didn't see anything on the List yet so I didn't work on this
for awhile.

This morning I grabbed the latest from CVS because there have been some
small changes and for my build system Busybox networking is still
broken. I've included the messages below. [Note: it appears the applets
and some of the other utils build fine]

make[2]: Entering directory `trunk/user/busybox'
CC networking/route.o
In file included from /usr/local/arm-linux/sys-include/net/route.h:28,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/net/dst.h:30: error: parse error before
"atomic_t"
/usr/local/arm-linux/sys-include/net/dst.h:61: error: parse error before
"tclassid"
/usr/local/arm-linux/sys-include/net/dst.h:67: error: parse error before
'}' token
/usr/local/arm-linux/sys-include/net/dst.h:77: error: parse error before
"__u32"
/usr/local/arm-linux/sys-include/net/dst.h:85: error: parse error before
"atomic_t"
/usr/local/arm-linux/sys-include/net/dst.h:87: error: parse error before
'}' token
In file included from /usr/local/arm-linux/sys-include/linux/vfs.h:4,
from /usr/local/arm-linux/sys-include/linux/fs.h:14,
from /usr/local/arm-linux/sys-include/linux/capability.h:17,
from /usr/local/arm-linux/sys-include/linux/binfmts.h:5,
from /usr/local/arm-linux/sys-include/linux/sched.h:9,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/asm/statfs.h:12: error: redefinition of
`struct statfs'
In file included from /usr/local/arm-linux/sys-include/linux/sched.h:11,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/linux/kernel.h:180: error: redefinition
of `struct sysinfo'
In file included from /usr/local/arm-linux/sys-include/linux/sched.h:18,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/asm/semaphore.h:18: error: parse error
before "wait_queue_head_t"
/usr/local/arm-linux/sys-include/asm/semaphore.h: In function
`sema_init':
/usr/local/arm-linux/sys-include/asm/semaphore.h:47: error:
dereferencing pointer to incomplete type
/usr/local/arm-linux/sys-include/asm/semaphore.h:48: error:
dereferencing pointer to incomplete type
/usr/local/arm-linux/sys-include/asm/semaphore.h:49: error:
dereferencing pointer to incomplete type
/usr/local/arm-linux/sys-include/asm/semaphore.h: In function
`sem_getcount':
/usr/local/arm-linux/sys-include/asm/semaphore.h:130: error:
dereferencing pointer to incomplete type
In file included from /usr/local/arm-linux/sys-include/linux/signal.h:4,
from /usr/local/arm-linux/sys-include/linux/sched.h:26,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/asm/signal.h: At top level:
/usr/local/arm-linux/sys-include/asm/signal.h:27: error: conflicting
types for `sigset_t'
/usr/local/arm-linux/include/sys/select.h:38: error: previous
declaration of `sigset_t'
/usr/local/arm-linux/sys-include/asm/signal.h:163: error: redefinition
of `struct sigaction'
/usr/local/arm-linux/sys-include/asm/signal.h:178: error: redefinition
of `struct sigaltstack'
In file included from /usr/local/arm-linux/sys-include/linux/signal.h:5,
from /usr/local/arm-linux/sys-include/linux/sched.h:26,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/asm/siginfo.h:8: error: redefinition of
`union sigval'
/usr/local/arm-linux/sys-include/asm/siginfo.h:16: error: redefinition
of `struct siginfo'
/usr/local/arm-linux/sys-include/asm/siginfo.h:200: error: redefinition
of `struct sigevent'
In file included from /usr/local/arm-linux/sys-include/linux/sched.h:83,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/linux/time.h:9: error: redefinition of
`struct timespec'
/usr/local/arm-linux/sys-include/linux/time.h:88: error: redefinition of
`struct timeval'
/usr/local/arm-linux/sys-include/linux/time.h:93: error: redefinition of
`struct timezone'
/usr/local/arm-linux/sys-include/linux/time.h:119: error: redefinition
of `struct itimerspec'
/usr/local/arm-linux/sys-include/linux/time.h:124: error: redefinition
of `struct itimerval'
In file included from /usr/local/arm-linux/sys-include/linux/sched.h:85,
from /usr/local/arm-linux/sys-include/net/inetpeer.h:14,
from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/linux/resource.h:21: error:
redefinition of `struct rusage'
/usr/local/arm-linux/sys-include/linux/resource.h:40: error:
redefinition of `struct rlimit'
In file included from /usr/local/arm-linux/sys-include/net/route.h:29,
from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/net/inetpeer.h: In function
`inet_putpeer':
/usr/local/arm-linux/sys-include/net/inetpeer.h:49: error: `jiffies'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/inetpeer.h:49: error: (Each
undeclared identifier is reported only once
/usr/local/arm-linux/sys-include/net/inetpeer.h:49: error: for each
function it appears in.)
In file included from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/net/route.h:37:2: warning: #warning
This file is not supposed to be used outside of kernel.
In file included from trunk/user/busybox/networking/route.c:32:
/usr/local/arm-linux/sys-include/net/route.h: At top level:
/usr/local/arm-linux/sys-include/net/route.h:66: error: field `dst' has
incomplete type
/usr/local/arm-linux/sys-include/net/route.h:125: error: parse error
before "old_gw"
/usr/local/arm-linux/sys-include/net/route.h:130: error: parse error
before "u32"
/usr/local/arm-linux/sys-include/net/route.h:135: error: parse error
before "addr"
/usr/local/arm-linux/sys-include/net/route.h:138: error: parse error
before '*' token
/usr/local/arm-linux/sys-include/net/route.h:143: error: parse error
before "u32"
/usr/local/arm-linux/sys-include/net/route.h: In function
`ip_route_output':
/usr/local/arm-linux/sys-include/net/route.h:145: error: `daddr'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:145: error: `saddr'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:145: error: `oif'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:145: error: `tos'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:147: error: `rp' undeclared
(first use in this function)
/usr/local/arm-linux/sys-include/net/route.h: At top level:
/usr/local/arm-linux/sys-include/net/route.h:161: error: parse error
before "tos"
/usr/local/arm-linux/sys-include/net/route.h: In function
`rt_tos2priority':
/usr/local/arm-linux/sys-include/net/route.h:163: error: `tos'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h: At top level:
/usr/local/arm-linux/sys-include/net/route.h:166: error: parse error
before "u32"
/usr/local/arm-linux/sys-include/net/route.h: In function
`ip_route_connect':
/usr/local/arm-linux/sys-include/net/route.h:169: error: `rp' undeclared
(first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:169: error: `dst'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:169: error: `src'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:169: error: `tos'
undeclared (first use in this function)
/usr/local/arm-linux/sys-include/net/route.h:169: error: `oif'
undeclared (first use in this function)
In file included from trunk/user/busybox/networking/route.c:33:
/usr/local/arm-linux/include/net/if.h: At top level:
/usr/local/arm-linux/include/net/if.h:45: error: parse error before
numeric constant
/usr/local/arm-linux/include/net/if.h:111: error: redefinition of
`struct ifmap'
/usr/local/arm-linux/include/net/if.h:126: error: redefinition of
`struct ifreq'
/usr/local/arm-linux/include/net/if.h:176: error: redefinition of
`struct ifconf'
trunk/user/busybox/networking/route.c:469: warning: declaration of
`flags' shadows a global declaration
/usr/local/arm-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
trunk/user/busybox/networking/route.c: In function `displayroutes':
trunk/user/busybox/networking/route.c:486: warning: declaration of
`flags' shadows a global declaration
/usr/local/arm-linux/sys-include/net/dst.h:34: warning: shadowed
declaration is here
make[3]: *** [trunk/user/busybox/networking/route.o] Error 1
make[2]: *** [_all] Error 2
make[2]: Leaving directory `trunk/user/busybox'

I'm using:
[mymachine]$ arm-linux-gcc -v
Reading specs from /usr/local/lib/gcc-lib/arm-linux/3.3.2/specs
Configured with: ../configure --target=arm-linux --disable-shared
--with-headers=/home/gerg/new-wave.xscale/linux-2.4.x/include
--with-gnu-as --with-gnu-ld --enable-multilib
Thread model: posix
gcc version 3.3.2

which builds everything else in the user apps tree, including Busybox
1.0.0.

Any suggestions or more info needed or?



______________________________________
Ron Jobmann
Porting/Integration/Build Engineer
Omnitronix, Inc.
1200 N. 96TH ST
Seattle, WA 98103-3310
http://www.omnitronix.com
(206) 624-4985 ex: 120 / Fax: (206) 624-5610


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060922/afa7170d/attachment-0001.htm 


More information about the busybox mailing list