Subject: libiconv compiling problems
To: None <port-sparc64@netbsd.org>
From: Alexander Zich <ads@lazernet.de>
List: port-sparc64
Date: 08/21/2003 18:04:12
Hello!

I have problems compiling libiconv for sparc64. I have attached the error
message at the bottom.

I made a 'make clean' and a 'cvs update' before and stared compiling with
'make'.

Does anyone have had the same problems? Or any idea how I can get around
this?

I don't know so much about NetBSD and C sources so that I would not like to
change any sources.

Thx in advance,
  Alex



cc -shared  .libs/iconv.o .libs/localcharset.o
libs/relocatable.o  -L/usr/pkgsrc/converters/libiconv/work/.buildlink/lib  -
Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libiconv.so.4 -o .libs/libiconv.so.4.0
(cd .libs && rm -f libiconv.so.4 && ln -s libiconv.so.4.0 libiconv.so.4)
(cd .libs && rm -f libiconv.so && ln -s libiconv.so.4.0 libiconv.so)
(cd .libs && rm -f libiconv.so && ln -s libiconv.so.4.0 libiconv.so)
ar cru .libs/libiconv.a  iconv.o localcharset.o relocatable.o
ranlib .libs/libiconv.a
creating libiconv.la
(cd .libs && rm -f libiconv.la && ln -s ../libiconv.la libiconv.la)
cd srclib && make all
sed -e 's/@''HAVE__BOOL''@/0/g' < ./stdbool.h.in > stdbool.h
cp ./alloca_.h alloca.h
cc -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DHAVE_CONFIG_H -I. -I. -I
.. -I../lib -I. -I.   -I/usr/pkg/include  -O -ffixed-g4 -I/usr/pkg/include -
c `test -f 'error.c' || echo './'`error.c
error.c: In function `error':
error.c:263: argument `message' doesn't match prototype
error.h:50: prototype declaration
error.c:263: number of arguments doesn't match prototype
error.h:50: prototype declaration
error.c: In function `error_at_line':
error.c:329: argument `message' doesn't match prototype
error.h:54: prototype declaration
error.c:329: number of arguments doesn't match prototype
error.h:54: prototype declaration
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/converters/libiconv/work/libiconv-1.9.1/srclib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/converters/libiconv/work/libiconv-1.9.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/converters/libiconv
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/converters/libiconv
bash-2.05b#