Re: 0.95 branch created

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

 



On Sat, 2007-04-07 at 00:51 +0200, Mark Wielaard wrote:
> Hi,
> 
> A release branch has been created 'classpath-0_95-branch'
> I'll try to pick up any fixes made on the trunk, but if you feel some
> patch is release critical please do CC me.

As with any release, I have a build failure on IRIX:

$ uname -a
IRIX64 fp98 6.5 07141529 IP27 mips

 cc -64 -D__MIPSEB__ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/jni/native-lib -g -c cpnet.c -Wp,-MDupdate,.deps/cpnet.TPlo  -DPIC -o .libs/cpnet.o
cc-1164 cc: WARNING File = cpnet.c, Line = 640
  Argument of type "struct hostent **" is incompatible with parameter of type
          "int *".

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

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

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

cc-1515 cc: ERROR File = cpnet.c, Line = 640
  A value of type "struct hostent *" cannot be assigned to an entity of type
          "int".

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

2 errors detected in the compilation of "cpnet.c".

>From IRIX's manpage:

struct hostent *gethostbyname_r(const char *name, struct hostent *hent, char *buffer, int bufsize, int *h_errnop);

How should we handle that?

- twisti


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

  Powered by Linux