Gentoo Archives: gentoo-dev

From: "Tod M. Neidt" <tneidt@××××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems
Date: Mon, 17 Sep 2001 17:08:45
Message-Id: 1000750324.438.10.camel@Q.neidt.net
In Reply to: [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems by Martin Schlemmer
1 On Mon, 2001-09-17 at 22:00, Martin Schlemmer wrote:
2 > hi
3 >
4 > i am trying to verify if other people have problems merging
5 > iproute2-2.2.4-r3.ebuild.
6 >
7 > it fails during compile stage. the problem seems that KERNEL_INCLUDE is
8 > set to "/usr/include". if it is changed to "/usr/src/linux/include" it
9 > compiles fine here.
10 >
11 > feedback would be appreciated.
12 >
13 > greetings
14 > MS
15 Hi!
16
17 I can verify this problem, although haven't tried your fix.
18 The relevant error messages i get follow.
19
20 tod
21
22 gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
23 -include ../include-glibc/glibc-bugs.h -I/usr/include -I../include
24 -DRESOLVE_HOSTNAMES -c -o utils.o utils.c
25 utils.c:130: parse error before `*'
26 utils.c:131: warning: function declaration isn't a prototype
27 utils.c: In function `get_addr_1':
28 utils.c:133: `addr' undeclared (first use in this function)
29 utils.c:133: (Each undeclared identifier is reported only once
30 utils.c:133: for each function it appears in.)
31 utils.c:138: `name' undeclared (first use in this function)
32 utils.c:139: `family' undeclared (first use in this function)
33 utils.c:159: storage size of `dna' isn't known
34 utils.c:161: warning: implicit declaration of function `dnet_pton'
35 utils.c:159: warning: unused variable `dna'
36 utils.c:174: warning: left-hand operand of comma expression has no
37 effect
38 utils.c: At top level:
39 utils.c:186: parse error before `*'
40 utils.c:187: warning: function declaration isn't a prototype
41 utils.c: In function `get_prefix_1':
42 utils.c:192: `dst' undeclared (first use in this function)
43 utils.c:194: `arg' undeclared (first use in this function)
44 utils.c:195: `family' undeclared (first use in this function)
45 utils.c:211: warning: unreachable code at beginning of switch statement
46 utils.c: At top level:
47 utils.c:233: parse error before `*'
48 utils.c:234: warning: function declaration isn't a prototype
49 utils.c: In function `get_addr':
50 utils.c:235: `family' undeclared (first use in this function)
51 utils.c:236: `arg' undeclared (first use in this function)
52 utils.c:239: `dst' undeclared (first use in this function)
53 utils.c: At top level:
54 utils.c:246: parse error before `*'
55 utils.c:247: warning: function declaration isn't a prototype
56 utils.c: In function `get_prefix':
57 utils.c:248: `family' undeclared (first use in this function)
58 utils.c:249: `arg' undeclared (first use in this function)
59 utils.c:252: `dst' undeclared (first use in this function)
60 utils.c: In function `get_addr32':
61 utils.c:261: `inet_prefix' undeclared (first use in this function)
62 utils.c:261: parse error before `addr'
63 utils.c:262: `addr' undeclared (first use in this function)
64 utils.c:267: warning: control reaches end of non-void function
65 utils.c: At top level:
66 utils.c:270: warning: function declaration isn't a prototype
67 utils.c:301: parse error before `*'
68 utils.c:302: warning: function declaration isn't a prototype
69 utils.c: In function `inet_addr_match':
70 utils.c:303: `a' undeclared (first use in this function)
71 utils.c:304: `b' undeclared (first use in this function)
72 utils.c:305: `bits' undeclared (first use in this function)
73 utils.c: In function `rt_addr_n2a':
74 utils.c:355: warning: implicit declaration of function `ipx_ntop'
75 utils.c:355: warning: return makes pointer from integer without a cast
76 utils.c:358: variable `dna' has initializer but incomplete type
77 utils.c:358: warning: excess elements in struct initializer
78 utils.c:358: warning: (near initialization for `dna')
79 utils.c:358: extra brace group at end of initializer
80 utils.c:358: (near initialization for `dna')
81 utils.c:358: warning: excess elements in struct initializer
82 utils.c:358: warning: (near initialization for `dna')
83 utils.c:358: storage size of `dna' isn't known
84 utils.c:360: warning: implicit declaration of function `dnet_ntop'
85 utils.c:360: warning: return makes pointer from integer without a cast
86 utils.c:358: warning: unused variable `dna'
87 utils.c: In function `format_host':
88 utils.c:371: `resolve_hosts' undeclared (first use in this function)
89 make[1]: *** [utils.o] Error 1
90 make[1]: *** Waiting for unfinished jobs....
91 make[1]: Leaving directory
92 `/var/tmp/portage/iproute2-2.2.4-r3/work/iproute2/lib'
93 make: *** [all] Error 2
94
95 !!! ERROR: the make command did not complete successfully.
96 !!! ("make -j2")
97 !!! Since this is a critical task, ebuild will be stopped.
98
99 done!
100 >>> emerge sys-apps/iproute2-2.2.4-r3 to /
101 !!! emerge aborting on
102 /usr/portage/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild .