Compile of 2.2.0 on FC9 fails

Richard Bos ml at radoeka.nl
Thu Mar 19 13:11:28 CET 2009


On Thu, Mar 19, 2009 at 12:15:47PM +0100, Albrecht Dre? wrote:
> Well, the subject says it all - when running "sh install-kolab.sh" I get
> 
> <snip>
> if /usr/bin/gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../  
> -I../lib    -g -O2 -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" -c -o utf8.o  
> utf8.c; \
>          then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; else rm -f  
> ".deps/utf8.Tpo"; exit 1; fi
> utf8.c:26:1: Warnung: >>iconv_t<< redefiniert
> In Datei, eingef?gt von ../lib/system.h:21,
>                   von utf8.c:19:
> ../config.h:1084:1: Warnung: dies ist die Stelle der vorherigen  
> Definition
> /usr/bin/gcc -std=gnu99  -g -O2   -o tar  buffer.o compare.o create.o  
> delete.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o  
> system.o tar.o transform.o update.o utf8.o ../lib/libtar.a    
> -lrt../lib/libtar.a(argp-fmtstream.o): In function  
> `argp_fmtstream_putc':
> /tmp/openpkg-20071227/tar-1.19/lib/argp-fmtstream.h:233: multiple  
> definition of `argp_fmtstream_putc'
> tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp-fmtstream.h:233:  
> first defined here
> [more similar messages]
> collect2: ld gab 1 als Ende-Status zur?ck
> gmake[2]: *** [tar] Fehler 1
> gmake[2]: Leaving directory `/tmp/openpkg-20071227/tar-1.19/src'
> gmake[1]: *** [all-recursive] Fehler 1
> gmake[1]: Leaving directory `/tmp/openpkg-20071227/tar-1.19'
> gmake: *** [all] Fehler 2
> </snip>
> 
> Any ideas what goes wrong?


You're using a gcc 4.3 or newer.  Install an older gcc version
and that will do it.  This is also mentioned in the trouble
shooting section of the release notes.  You have to link
gcc and cc to the "older gcc" executable.

-- 
Richard




More information about the users mailing list