This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Error while compiling gcj on cygwin 1.1.4


Hi there,

I'm trying to get gcj running on cygwin.
From that known website (don't remember the URL right now), I got myself
libgcj-2.95.1 tarball and ran the ./configure thing.
After about an HOUR of compiling on my K6-III machine (is this normal, btw?
;)) I got this error:

---- log start -----

../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:59:
field `mreq6' has incomplete type
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc: In
method `void
java::net::PlainDatagramSocketImpl::mcastGrp(java::net::InetAddress *,
__java_boolean)':
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
`IPPROTO_IPV6' undeclared (first use this function)
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
(Each undeclared identifier is reported only once
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:320:
for each function it appears in.)
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:321:
`IPV6_ADD_MEMBERSHIP' undeclared (first use this function)
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:321:
`IPV6_DROP_MEMBERSHIP' undeclared (first use this function)
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:325:
`sizeof' applied to incomplete type `ipv6_mreq'
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:301:
warning: `int level' might be used uninitialized in this function
../.././libgcj-2.95.1/libjava/java/net/natPlainDatagramSocketImpl.cc:301:
warning: `int opname' might be used uninitialized in this function
../.././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[1]: *** [all-recursive] Error 1
make: *** [all-target-libjava] Error 2

---- log end---

What's causing this?

Secondly I'd like to know why cygwin make doesn't allow me to have ALL LOG
in _one_ protocol file.

$ make 1>&2 2>/tmp/log/error.log

... doesn't work. Instead I get _only_ the errors.

However, I'm not going to "shout" at the cygwin developers as long as I
don't know if this is really a cygwin bug.
Maybe it's just me who left UN*X school too early. *grin*

Could anyone please help me with the gcj issue?
Thanks.

Andreas




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]