bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] failure to compile


From: Baho Utot
Subject: [Bug-cpio] failure to compile
Date: Thu, 6 Nov 2008 19:59:01 -0500
User-agent: KMail/1.9.9

I am using the following gcc 

Using built-in specs.
Target: i686-pc-linux-gnu
Configured 
with: ../configure --prefix=/usr --enable-shared 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix 
--mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit 
--disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu 
--disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.2 (GCC)

to try to build cpio-2.9

I get this error

 userspec.c; \
        then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else 
rm -f ".deps/userspec.Tpo"; exit 1; fi
gcc -std=gnu99  -g -O2   -o cpio  copyin.o copyout.o copypass.o defer.o 
dstring.o global.o main.o tar.o util.o filemode.o idcache.o makepath.o 
userspec.o ../lib/libcpio.a
../lib/libcpio.a(argp-help.o): In function `_option_is_end':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:606: multiple definition 
of `_option_is_end'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:606: first 
defined here
../lib/libcpio.a(argp-help.o): In function `_option_is_short':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:594: multiple definition 
of `_option_is_short'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:594: first 
defined here
../lib/libcpio.a(argp-help.o): In function `argp_usage':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:588: multiple definition 
of `argp_usage'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:588: first 
defined here
../lib/libcpio.a(argp-parse.o): In function `_option_is_end':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:606: multiple definition 
of `_option_is_end'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:606: first 
defined here
../lib/libcpio.a(argp-parse.o): In function `argp_usage':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:588: multiple definition 
of `argp_usage'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:588: first 
defined here
../lib/libcpio.a(argp-parse.o): In function `_option_is_short':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:594: multiple definition 
of `_option_is_short'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:594: first 
defined here
../lib/libcpio.a(argp-pvh.o): In function `_option_is_end':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:606: multiple definition 
of `_option_is_end'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:606: first 
defined here
../lib/libcpio.a(argp-pvh.o): In function `_option_is_short':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:594: multiple definition 
of `_option_is_short'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:594: first 
defined here
../lib/libcpio.a(argp-pvh.o): In function `argp_usage':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:588: multiple definition 
of `argp_usage'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:588: first 
defined here
../lib/libcpio.a(argp-eexst.o): In function `_option_is_end':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:606: multiple definition 
of `_option_is_end'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:606: first 
defined here
../lib/libcpio.a(argp-eexst.o): In function `_option_is_short':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:594: multiple definition 
of `_option_is_short'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:594: first 
defined here
../lib/libcpio.a(argp-eexst.o): In function `argp_usage':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp.h:588: multiple definition 
of `argp_usage'
main.o:/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src/../lib/argp.h:588: first 
defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_putc':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:233: multiple 
definition of `argp_fmtstream_putc'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:233:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_point':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:279: multiple 
definition of `argp_fmtstream_point'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:279:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_wmargin':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:267: multiple 
definition of `argp_fmtstream_set_wmargin'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:267:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_rmargin':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:255: multiple 
definition of `argp_fmtstream_set_rmargin'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:255:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_lmargin':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:243: multiple 
definition of `argp_fmtstream_set_lmargin'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:243:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_write':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:207: multiple 
definition of `argp_fmtstream_write'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:207:
 
first defined here
../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_puts':
/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:220: multiple 
definition of `argp_fmtstream_puts'
../lib/libcpio.a(argp-help.o):/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/lib/argp-fmtstream.h:220:
 
first defined here
collect2: ld returned 1 exit status
make[2]: *** [cpio] Error 1
make[2]: Leaving directory `/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scrat/ARCH/BROKEN/cpio/src/cpio-2.9'
make: *** [all] Error 2

Can you help?

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]