Subject: RE: libiconv 1.9.1 on NetBSD 1.6.1 (port sparc64)
To: None <port-sparc64@netbsd.org>
From: Alexander Zich <ads@lazernet.de>
List: port-sparc64
Date: 09/04/2003 18:43:54
Hey nice,

you found my message :-)

Well I can tell you how I got around the problem:

When you have a look to error.h line 50 where the error funtions are
defined. They are enclosed in an #ifdef block. Just force the compiler to
use the #elseif branch (for example by adding a 2 to the #ifdef line).

You will then get another error in unsetenv.c. I think you can get around
that by changing the return type of unsetenv() from int to void. You will
get warnings but no errors.

Try a bit, it should work. Please note this is a hack. could compile it and
'make test' also works but there might be "side effects".

Hope this could help.

Bye,
  Alex




-----Original Message-----
From: port-sparc64-owner@NetBSD.org
[mailto:port-sparc64-owner@NetBSD.org]On Behalf Of Dario Borchers
Sent: Tuesday, May 13, 2003 4:26 PM
To: port-sparc64@netbsd.org
Subject: libiconv 1.9.1 on NetBSD 1.6.1 (port sparc64)


Hi,

in the archive i've found those ones:
http://mail-index.netbsd.org/port-sparc64/2003/08/21/0000.html
and
http://mail-index.netbsd.org/port-sparc64/2003/08/23/0002.html

I've got the same problem: libiconv 1.9.1 just doesn't build, i get the same
error message.
I downloaded pkgsrc from cvs yesterday, and have built the midnight
commander
succsessfully with it, so pkgsrc works just fine.

The build-environment is:
gcc 2.95.3 20010315
libc.so.12.83.1

HAVE_VPRINTF is not defined in the configure.h after the configure-script
has
finished.

Then i tried compiling the tarball on Debian Woody, using gcc 2.95.4 and
libc-2.2.5.so, and it just compiles fine.

hope, anyone can give me some hints...

Dario Borchers
mailinglists at borchers.homelinux.net