bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar-1.13.93 build failure: ICONV_CONST undefined


From: Paul Jarc
Subject: [Bug-tar] tar-1.13.93 build failure: ICONV_CONST undefined
Date: Thu, 11 Mar 2004 16:35:01 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

I'm unable to build tar 1.13.93 on my GNU/Linux system (gcc 3.3.2,
glibc 2.3.2).  It looks like ICONV_CONST should simply be replaced
with const.

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib   -I/nil  -O2 -pipe -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:283: error: parse error before "ICONV_CONST"
utf8.c: In function `iconv':
utf8.c:285: error: number of arguments doesn't match prototype
/package/misc/spf/tar-1.13.93/spf/glibc/include/iconv.h:44: error: prototype 
declaration
utf8.c: In function `utf8_convert':
utf8.c:337: warning: passing arg 2 of `iconv' from incompatible pointer type
make[2]: *** [utf8.o] Error 1
make[2]: Leaving directory `/fs/data/mount/home/prj/src/spf/tar-1.13.93/src'


paul




reply via email to

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