Re: native-lib errors on IRIX

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

 



Andreas Tobler wrote:
Paul Jenner wrote:

On Tue, 2006-09-12 at 19:28 +0200, Christian Thalinger wrote:
We have some problems building current CVS heads with tgolem on an IRIX
machine.  The problems are located in native-lib, like:

cc-1020 cc: ERROR File = cpnet.c, Line = 260
  The identifier "SOCKET_NOSIGNAL" is undefined.

      ret = send(fd, data, len, SOCKET_NOSIGNAL);
                                ^
or

cc-1136 cc: ERROR File = cpnet.c, Line = 613
  Too many arguments in function call.

ret = gethostbyname_r (hostname, &hret, buf, buflen, &result, &herr);
- twisti

^
Any ideas how to fix these issues, especially the gethostbyname_r one?

Guess you found it already but did you see patch to fix these issues on
other platforms from Andreas Tobler recently:

http://lists.gnu.org/archive/html/commit-classpath/2006-08/msg00272.html

Looks like it didn't fix it for IRIX but maybe he has some ideas?

Problem is, that only linux, darwin and FreeBSD support a usable flag for this kind of call. I did not find a solution for other archs and my sparc and hpuxen will also fail when cp gets reimported to gcc.

Side notice, they won't muck up since we use gcj native stuff and not cp native stuff.

Andreas


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux