bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar-1.19 with gcc-4.3.0 - multiply defined functions


From: Poor Yorick
Subject: [Bug-tar] tar-1.19 with gcc-4.3.0 - multiply defined functions
Date: Mon, 07 Apr 2008 16:25:08 +0000

building tar-1.19 with gcc-4.3.0 fails:

    gcc -m32 -std=gnu99  -g -O2  -L/path/to/lib -L/path/to/lib64
    -Wl,-rpath,/path/to/lib -Wl,-rpath,/path/to/lib64 -Wl,--enable-new-dtags -o
    rmt  rmt.o ../lib/libtar.a ../lib/libtar.a(argp-fmtstream.o): In function
    `argp_fmtstream_putc':
    /path/to/src/tar-1.19/tar-1.19/lib/argp-fmtstream.h:233: multiple
    definition of `argp_fmtstream_putc'
    
../lib/libtar.a(argp-help.o):/path/to/bootstrap/src/tar-1.19/tar-1.19/lib/argp-fmtstream.h:233:
    first defined here

A similar build on a similarly-built gcc-4.2.0 succeeds.  Perhaps some gcc 
error checking has become more strict.


-- 
Poor Yorick





reply via email to

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