Matthew Burgess([EMAIL PROTECTED])@Mon, Sep 19, 2005 at 02:23:53PM +0100:
This is on a gcc-4.0.1 based LFS. Has anyone encountered this problem?
You are not alone in this.
I just tried in my own build and i receive the same.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ:
Matthew Burgess wrote:
Hi,
Using current svn instructions, I get the following after issuing 'make
check':
This is on a gcc-4.0.1 based LFS. Has anyone encountered this problem?
I tried looking for updates in upstream CVS, but genfile.c is in the
.cvsignore file, hence doesn't show up :(
Chris Staub wrote:
Don't know, I just tried building it but it wouldn't even compile at all
(on GCC4 LFS)...
From http://www.linuxfromscratch.org/blfs/view/svn/general/cpio.html:
sed -i -e s/invalid_arg/argmatch_invalid/ src/mt.c
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
Matthew Burgess wrote:
Hi,
Using current svn instructions, I get the following after issuing 'make
check':
genfile.c:63: error: static declaration of ‘argp_program_version’
follows non-static declaration
../lib/argp.h:428: error: previous declaration of ‘argp_program_version’
was here
Matthew Burgess wrote:
Chris Staub wrote:
Don't know, I just tried building it but it wouldn't even compile at
all (on GCC4 LFS)...
From http://www.linuxfromscratch.org/blfs/view/svn/general/cpio.html:
sed -i -e s/invalid_arg/argmatch_invalid/ src/mt.c
Oops, sorry, I copied-and-pasted
Alexander E. Patrakov wrote:
1) Remove static, as you did. That's correct if argp_program_version
is used anywhere outside genfile.c.
OK, looks like it is the correct fix then:
# grep -rl argp_program_version *
lib/argp.h
lib/argp-parse.c
lib/argp-pv.c
lib/argp-pvh.c
src/main.c