|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
cpio build failsI am trying to build cpio on a Linux system using gcc 4.3.2 Here is a log of the build where it fails. if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib -march=i686 -mtune=generic -O2 -pipe -MT userspec.o -MD -MP -MF ".deps/userspec.Tpo" -c -o userspec.o userspec.c; \ then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else rm -f ".deps/userspec.Tpo"; exit 1; fi gcc -std=gnu99 -march=i686 -mtune=generic -O2 -pipe -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': argp-help.c:(.text+0x0): multiple definition of `_option_is_end' main.o:main.c:(.text+0x0): first defined here ../lib/libcpio.a(argp-help.o): In function `_option_is_short': argp-help.c:(.text+0x480): multiple definition of `_option_is_short' main.o:main.c:(.text+0x1d90): first defined here ../lib/libcpio.a(argp-help.o): In function `argp_usage': argp-help.c:(.text+0x3580): multiple definition of `argp_usage' main.o:main.c:(.text+0x1350): first defined here ../lib/libcpio.a(argp-parse.o): In function `_option_is_end': argp-parse.c:(.text+0x0): multiple definition of `_option_is_end' main.o:main.c:(.text+0x0): first defined here ../lib/libcpio.a(argp-parse.o): In function `argp_usage': argp-parse.c:(.text+0x210): multiple definition of `argp_usage' main.o:main.c:(.text+0x1350): first defined here ../lib/libcpio.a(argp-parse.o): In function `_option_is_short': argp-parse.c:(.text+0x350): multiple definition of `_option_is_short' main.o:main.c:(.text+0x1d90): first defined here ../lib/libcpio.a(argp-pvh.o): In function `_option_is_end': argp-pvh.c:(.text+0x0): multiple definition of `_option_is_end' main.o:main.c:(.text+0x0): first defined here ../lib/libcpio.a(argp-pvh.o): In function `_option_is_short': argp-pvh.c:(.text+0x30): multiple definition of `_option_is_short' main.o:main.c:(.text+0x1d90): first defined here ../lib/libcpio.a(argp-pvh.o): In function `argp_usage': argp-pvh.c:(.text+0x70): multiple definition of `argp_usage' main.o:main.c:(.text+0x1350): first defined here ../lib/libcpio.a(argp-eexst.o): In function `_option_is_end': argp-eexst.c:(.text+0x0): multiple definition of `_option_is_end' main.o:main.c:(.text+0x0): first defined here ../lib/libcpio.a(argp-eexst.o): In function `_option_is_short': argp-eexst.c:(.text+0x30): multiple definition of `_option_is_short' main.o:main.c:(.text+0x1d90): first defined here ../lib/libcpio.a(argp-eexst.o): In function `argp_usage': argp-eexst.c:(.text+0x70): multiple definition of `argp_usage' main.o:main.c:(.text+0x1350): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_putc': argp-fmtstream.c:(.text+0x6b0): multiple definition of `argp_fmtstream_putc' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x690): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_point': argp-fmtstream.c:(.text+0x700): multiple definition of `argp_fmtstream_point' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x5d0): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_wmargin': argp-fmtstream.c:(.text+0x730): multiple definition of `argp_fmtstream_set_wmargin' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x600): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_rmargin': argp-fmtstream.c:(.text+0x760): multiple definition of `argp_fmtstream_set_rmargin' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x630): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_set_lmargin': argp-fmtstream.c:(.text+0x790): multiple definition of `argp_fmtstream_set_lmargin' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x660): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_write': argp-fmtstream.c:(.text+0x880): multiple definition of `argp_fmtstream_write' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x6e0): first defined here ../lib/libcpio.a(argp-fmtstream.o): In function `argp_fmtstream_puts': argp-fmtstream.c:(.text+0x8f0): multiple definition of `argp_fmtstream_puts' ../lib/libcpio.a(argp-help.o):argp-help.c:(.text+0x1740): first defined here collect2: ld returned 1 exit status make[3]: *** [cpio] Error 1 make[3]: Leaving directory Can anyone shed some light as to why the build is failing? Thanks _______________________________________________ Bug-cpio mailing list Bug-cpio@... http://lists.gnu.org/mailman/listinfo/bug-cpio |
| Free embeddable forum powered by Nabble | Forum Help |