Skip to contentSkip to conversation

iproute compile error

LARTC Ciprian Niculescu 3 participants 5 messages May 14, 2002

lore
Share & tools
lore
#0 lore raw

www:/usr/src/iproute2 # make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Report bugs to <[email protected]>.

www:/usr/src/iproute2 # make
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include -c -o utils.o utils.c
In file included from /usr/include/sys/socket.h:35,

                  from utils.c:22:

../include-glibc/bits/socket.h:33: warning: redefinition of socklen_t' /usr/include/unistd.h:247: warning: socklen_t' previously declared here In file included from utils.c:26:
/usr/include/arpa/inet.h:35: parse error before `inet_addr' /usr/include/arpa/inet.h:35: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:38: parse error before `inet_lnaof' /usr/include/arpa/inet.h:38: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:42: parse error before __net' /usr/include/arpa/inet.h:46: parse error before inet_netof' /usr/include/arpa/inet.h:46: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:50: parse error before `inet_network' /usr/include/arpa/inet.h:50: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:74: parse error before `inet_aton' /usr/include/arpa/inet.h:74: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:78: parse error before `__net' make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Kernel version ? iproute version ? Patched ? Have you first compiled the kernel ?

Stef

Quoted 46 lines · Ciprian Niculescu

www:/usr/src/iproute2 # make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Report bugs to <[email protected]>.

www:/usr/src/iproute2 # make
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc

(quoted diff) +0 -2
-include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include    -c -o utils.o utils.c

In file included from /usr/include/sys/socket.h:35,

                  from utils.c:22:

../include-glibc/bits/socket.h:33: warning: redefinition of socklen_t' /usr/include/unistd.h:247: warning: socklen_t' previously declared here In file included from utils.c:26:
/usr/include/arpa/inet.h:35: parse error before `inet_addr' /usr/include/arpa/inet.h:35: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:38: parse error before `inet_lnaof' /usr/include/arpa/inet.h:38: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:42: parse error before __net' /usr/include/arpa/inet.h:46: parse error before inet_netof' /usr/include/arpa/inet.h:46: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:50: parse error before `inet_network' /usr/include/arpa/inet.h:50: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:74: parse error before `inet_aton' /usr/include/arpa/inet.h:74: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:78: parse error before `__net' make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Ciprian Niculescu

kernel 2.4.18 + imq + htb

tryed befor and after, kernel compile , and boot the new kernel

C

Quoted 50 lines · Stef Coene

Kernel version ? iproute version ? Patched ? Have you first compiled the kernel ?

Stef

Quoted 43 lines · Ciprian Niculescu

www:/usr/src/iproute2 # make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Report bugs to <[email protected]>.

www:/usr/src/iproute2 # make
make[1]: Entering directory `/usr/src/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc

(quoted diff) +0 -2
-include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include    -c -o utils.o utils.c

In file included from /usr/include/sys/socket.h:35,

                 from utils.c:22:

../include-glibc/bits/socket.h:33: warning: redefinition of socklen_t' /usr/include/unistd.h:247: warning: socklen_t' previously declared here In file included from utils.c:26:
/usr/include/arpa/inet.h:35: parse error before `inet_addr' /usr/include/arpa/inet.h:35: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:38: parse error before `inet_lnaof' /usr/include/arpa/inet.h:38: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:42: parse error before __net' /usr/include/arpa/inet.h:46: parse error before inet_netof' /usr/include/arpa/inet.h:46: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:50: parse error before `inet_network' /usr/include/arpa/inet.h:50: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:74: parse error before `inet_aton' /usr/include/arpa/inet.h:74: warning: data definition has no type or storage class
/usr/include/arpa/inet.h:78: parse error before `__net' make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2

Quoted 5 lines
Quoted 4 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Ciprian Niculescu
Quoted 3 lines · Ciprian Niculescu

kernel 2.4.18 + imq + htb

tryed befor and after, kernel compile , and boot the new kernel

I think there was a problem with htb + 2.4.18. But I'm not sure.

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Ciprian Niculescu
Quoted 5 lines · Stef Coene
Quoted 3 lines · Ciprian Niculescu

kernel 2.4.18 + imq + htb

tryed befor and after, kernel compile , and boot the new kernel

I think there was a problem with htb + 2.4.18. But I'm not sure.

I use htb with 2.4.18 with no problem on a woody (iproute already patched)

Luc

Quoted 3 lines

Stef

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/