This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Pb of compilation of libgcj on WinNT


Hello,
Good and less good news,

1/ GOOD : I've compiled fine all the latest snapshop 19990602
of egcs on NT.

2/ BAD : The compilation process works well when I run configure
>  ./configure  --prefix=/Cygnus/cygwin-b20
--exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 -v i586-cygwin32
BUT when I try to build the compiler with another prefix (to be able to 
have a separate package) with
>  ./configure  --prefix=/cygnustmp
--exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 -v i586-cygwin32
There are still problem during the building of the library (more precisely
the libiberty.a). The configuring process do not find the standard include
files (like stdio.h .....)
I tried several thing which has been said here in this mailing list but the
problem is still here ????

3/ BAD : I tried now to compile the latest snapshot of ligcj 19990602
And I have the following problem during the compilation =

rm -f java/io/.libs/natFileDescriptor.lo
c++ -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -Iinclude
-I../../../libj
ava/include -I../../../libjava/../boehm-gc -I./../boehm-gc -DSILENT=1 
-DNO_SIGNA
LS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1
-I../../../libjava/../compat-include
-I../../../libjava/../zlib -fno-rtti -fvtable-thunks -ffloat-store -W 
-Wall -g
-O2 -c  -DPIC java/io/natFileDescriptor.cc -o
java/io/.libs/natFileDescriptor.lo

java/io/natFileDescriptor.cc: In method `jint
java::io::FileDescriptor::availabl
e()':
java/io/natFileDescriptor.cc:256: implicit declaration of function `int 
select(.
..)'
make[2]: *** [java/io/natFileDescriptor.lo] Error 1 make[1]: ***
[all-recursive] Error 1
make: *** [all-target-libjava] Error 2

*********************************************************************** It
seems that the configuring process find a good select( fonction
but the compiler do not find this function ????

Any suggestion ??

*********************************************************************** 
Last one, having compiled all the egcs-snapshot ok,
I can proceed to make all the testsuite,

What is the procedure ? precisely (something like make test I guess !!) and
how do you want to receive the result ?


Thx


Herve





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