bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar-1.13.93 doesn't compile on NetBSD/sparc-1.5


From: Adrian Bunk
Subject: [Bug-tar] tar-1.13.93 doesn't compile on NetBSD/sparc-1.5
Date: Wed, 25 Feb 2004 17:40:46 +0100
User-agent: Mutt/1.4.2i

I got the following compile error when trying to compile tar-1.13.93 on 
NetBSD/sparc-1.5 using gcc 2.95.3 with GNU libiconv-1.9.2 installed:


<--  snip  -->

...
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv_t... yes
checking for iconv in -liconv... no
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib   
-I/usr/local/include  -O2 -
mcpu=v8 -c utf8.c
utf8.c:283: parse error before `ICONV_CONST'
utf8.c: In function `libiconv':
utf8.c:285: number of arguments doesn't match prototype
/usr/local/include/iconv.h:82: prototype declaration
gmake[2]: *** [utf8.o] Error 1
gmake[2]: Leaving directory `/aux/adrian/build/tar-1.13.93/src'

<--  snip  -->


config.log says:


<--  snip  -->

...
configure:19667: checking for iconv in -liconv
configure:19697: gcc -o conftest -O2 -mcpu=v8 -I/usr/local/include  
conftest.c -liconv   >&5
/var/tmp/ccJimx7z.o(.text+0x4): In function `main':
: undefined reference to `iconv'
collect2: ld returned 1 exit status
...

<--  snip  -->


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed





reply via email to

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