From: "Tod M. Neidt" <tneidt@fidnet.com>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] iproute2-2.2.4-r3.ebuild merge problems
Date: Mon Sep 17 17:09:01 2001 [thread overview]
Message-ID: <1000750324.438.10.camel@Q.neidt.net> (raw)
In-Reply-To: <1000764009.693.14.camel@nosferatu.lan>
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 .
prev parent reply other threads:[~2001-09-17 23:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1000750324.438.10.camel@Q.neidt.net \
--to=tneidt@fidnet.com \
--cc=gentoo-dev@cvs.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox