* [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems
@ 2001-09-17 16:03 Martin Schlemmer
2001-09-17 17:09 ` Tod M. Neidt
0 siblings, 1 reply; 2+ messages in thread
From: Martin Schlemmer @ 2001-09-17 16:03 UTC (permalink / raw
To: Gentoo-Dev
hi
i am trying to verify if other people have problems merging
iproute2-2.2.4-r3.ebuild.
it fails during compile stage. the problem seems that KERNEL_INCLUDE is
set to "/usr/include". if it is changed to "/usr/src/linux/include" it
compiles fine here.
feedback would be appreciated.
greetings
MS
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems
2001-09-17 16:03 [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems Martin Schlemmer
@ 2001-09-17 17:09 ` Tod M. Neidt
0 siblings, 0 replies; 2+ messages in thread
From: Tod M. Neidt @ 2001-09-17 17:09 UTC (permalink / raw
To: gentoo-dev
On Mon, 2001-09-17 at 22:00, Martin Schlemmer wrote:
> hi
>
> i am trying to verify if other people have problems merging
> iproute2-2.2.4-r3.ebuild.
>
> it fails during compile stage. the problem seems that KERNEL_INCLUDE is
> set to "/usr/include". if it is changed to "/usr/src/linux/include" it
> compiles fine here.
>
> feedback would be appreciated.
>
> greetings
> MS
Hi!
I can verify this problem, although haven't tried your fix.
The relevant error messages i get follow.
tod
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
-include ../include-glibc/glibc-bugs.h -I/usr/include -I../include
-DRESOLVE_HOSTNAMES -c -o utils.o utils.c
utils.c:130: parse error before `*'
utils.c:131: warning: function declaration isn't a prototype
utils.c: In function `get_addr_1':
utils.c:133: `addr' undeclared (first use in this function)
utils.c:133: (Each undeclared identifier is reported only once
utils.c:133: for each function it appears in.)
utils.c:138: `name' undeclared (first use in this function)
utils.c:139: `family' undeclared (first use in this function)
utils.c:159: storage size of `dna' isn't known
utils.c:161: warning: implicit declaration of function `dnet_pton'
utils.c:159: warning: unused variable `dna'
utils.c:174: warning: left-hand operand of comma expression has no
effect
utils.c: At top level:
utils.c:186: parse error before `*'
utils.c:187: warning: function declaration isn't a prototype
utils.c: In function `get_prefix_1':
utils.c:192: `dst' undeclared (first use in this function)
utils.c:194: `arg' undeclared (first use in this function)
utils.c:195: `family' undeclared (first use in this function)
utils.c:211: warning: unreachable code at beginning of switch statement
utils.c: At top level:
utils.c:233: parse error before `*'
utils.c:234: warning: function declaration isn't a prototype
utils.c: In function `get_addr':
utils.c:235: `family' undeclared (first use in this function)
utils.c:236: `arg' undeclared (first use in this function)
utils.c:239: `dst' undeclared (first use in this function)
utils.c: At top level:
utils.c:246: parse error before `*'
utils.c:247: warning: function declaration isn't a prototype
utils.c: In function `get_prefix':
utils.c:248: `family' undeclared (first use in this function)
utils.c:249: `arg' undeclared (first use in this function)
utils.c:252: `dst' undeclared (first use in this function)
utils.c: In function `get_addr32':
utils.c:261: `inet_prefix' undeclared (first use in this function)
utils.c:261: parse error before `addr'
utils.c:262: `addr' undeclared (first use in this function)
utils.c:267: warning: control reaches end of non-void function
utils.c: At top level:
utils.c:270: warning: function declaration isn't a prototype
utils.c:301: parse error before `*'
utils.c:302: warning: function declaration isn't a prototype
utils.c: In function `inet_addr_match':
utils.c:303: `a' undeclared (first use in this function)
utils.c:304: `b' undeclared (first use in this function)
utils.c:305: `bits' undeclared (first use in this function)
utils.c: In function `rt_addr_n2a':
utils.c:355: warning: implicit declaration of function `ipx_ntop'
utils.c:355: warning: return makes pointer from integer without a cast
utils.c:358: variable `dna' has initializer but incomplete type
utils.c:358: warning: excess elements in struct initializer
utils.c:358: warning: (near initialization for `dna')
utils.c:358: extra brace group at end of initializer
utils.c:358: (near initialization for `dna')
utils.c:358: warning: excess elements in struct initializer
utils.c:358: warning: (near initialization for `dna')
utils.c:358: storage size of `dna' isn't known
utils.c:360: warning: implicit declaration of function `dnet_ntop'
utils.c:360: warning: return makes pointer from integer without a cast
utils.c:358: warning: unused variable `dna'
utils.c: In function `format_host':
utils.c:371: `resolve_hosts' undeclared (first use in this function)
make[1]: *** [utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/iproute2-2.2.4-r3/work/iproute2/lib'
make: *** [all] Error 2
!!! ERROR: the make command did not complete successfully.
!!! ("make -j2")
!!! Since this is a critical task, ebuild will be stopped.
done!
>>> emerge sys-apps/iproute2-2.2.4-r3 to /
!!! emerge aborting on
/usr/portage/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild .
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-17 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-17 16:03 [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems Martin Schlemmer
2001-09-17 17:09 ` Tod M. Neidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox