libgcj/1363: libjgcj make fails on natPlainDatagramSocketImpl.cc

shell@shellware.com shell@shellware.com
Wed Dec 20 12:25:00 GMT 2000


>Number:         1363
>Category:       libgcj
>Synopsis:       libjgcj make fails on natPlainDatagramSocketImpl.cc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    tromey
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:19:18 PST 2000
>Closed-Date:    
>Last-Modified:  Sun Sep 10 22:20:01 PDT 2000
>Originator:     shell@shellware.com
>Release:        2.95.1
>Organization:
>Environment:
win32 - W2K - Cygwin 1.1.4 (Net Release) - GCC 2.95.2 - Cause could be environmental
>Description:
c++ -DHAVE_CONFIG_H -I. -I/usr/local/src/libgcj-2.95.1/libjava -I./include -Iinc
lude -I/usr/local/src/libgcj-2.95.1/libjava/include -I/usr/local/src/libgcj-2.95
.1/libjava/../boehm-gc -I./../boehm-gc -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=
1 -DJAVA_FINALIZATION=1 -I/usr/local/src/libgcj-2.95.1/libjava/../compat-include
 -I/usr/local/src/libgcj-2.95.1/libjava/../zlib -fno-rtti -fvtable-thunks -fperm
issive -ffloat-store -W -Wall -g -O2 -c /usr/local/src/libgcj-2.95.1/libjava/jav
a/net/natPlainDatagramSocketImpl.cc -o java/net/natPlainDatagramSocketImpl.o
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:59:
field `mreq6' has incomplete type
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc: In
method `void java::net::PlainDatagramSocketImpl::mcastGrp(java::net::InetAddress
 *, __java_boolean)':
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
 `IPPROTO_IPV6' undeclared (first use this function)
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
 (Each undeclared identifier is reported only once
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
 for each function it appears in.)
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:321:
 `IPV6_ADD_MEMBERSHIP' undeclared (first use this function)
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:321:
 `IPV6_DROP_MEMBERSHIP' undeclared (first use this function)
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:325:
 `sizeof' applied to incomplete type `ipv6_mreq'
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:301:
 warning: `int level' might be used uninitialized in this function
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:301:
 warning: `int opname' might be used uninitialized in this function
/usr/local/src/libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:302:
 warning: `const char * ptr' might be used uninitialized in this function
make[2]: *** [java/net/natPlainDatagramSocketImpl.lo] Error 1
make[2]: Leaving directory `/usr/local/build/libgcj-2.95.1/i686-pc-cygwin/libjav
a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/build/libgcj-2.95.1/i686-pc-cygwin/libjav
a'
make: *** [all-target-libjava] Error 2
>How-To-Repeat:
Install Cygwin 1.1.4
Install gcc 2.95.2
Configure & Make libjgcj
>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR libgcj/336

State-Changed-From-To: open->feedback
State-Changed-By: tromey
State-Changed-When: Sun Sep 10 22:19:37 2000
State-Changed-Why:
    Do you have any way to try this with a later release of
    gcj?  2.95.2 is rather old, unfortunately.
    
    It is possible that this problem is fixed in the cvs
    version of libgcj.  Or, maybe it isn't.  I don't know,
    because I'm not set up to use Cygwin.  We don't do
    Cygwin builds of libgcj on a regular basis.
    
    If you can try the cvs libgcj, and it still fails,
    could you perhaps do any debugging of it?  It might be
    as simple as adding the appropriate #ifdefs in parts of
    the code.  Basically, any more data would be useful here --
    we'd like to fix this, but don't really have the resources
    to do all the investigation right now.

From: tromey@cygnus.com
To: java-gnats@sourceware.cygnus.com, shell@shellware.com, tromey@cygnus.com
Cc:  
Subject: Re: libgcj/336
Date: 11 Sep 2000 05:19:37 -0000

 Synopsis: libjgcj make fails on natPlainDatagramSocketImpl.cc
 
 State-Changed-From-To: open->feedback
 State-Changed-By: tromey
 State-Changed-When: Sun Sep 10 22:19:37 2000
 State-Changed-Why:
     Do you have any way to try this with a later release of
     gcj?  2.95.2 is rather old, unfortunately.
     
     It is possible that this problem is fixed in the cvs
     version of libgcj.  Or, maybe it isn't.  I don't know,
     because I'm not set up to use Cygwin.  We don't do
     Cygwin builds of libgcj on a regular basis.
     
     If you can try the cvs libgcj, and it still fails,
     could you perhaps do any debugging of it?  It might be
     as simple as adding the appropriate #ifdefs in parts of
     the code.  Basically, any more data would be useful here --
     we'd like to fix this, but don't really have the resources
     to do all the investigation right now.
 
 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=336&database=java
>Unformatted:




More information about the Gcc-prs mailing list