Problems with CygWind (was: Re: [kaffe] undefined references in kaffeh)

Andrea Scian andrea.scian at katamail.com
Fri Jul 4 06:10:02 PDT 2003


are you asking for more error with CygWin?
here they are! ;-)

1) I see that I need for inet_ntop function. In your mail (the one talking about cygwin patch) you say to download it from http://ftp.sergei.cc/pub/ircII/ircii-current/ircii/source/inet_ntop.c but adding it to kaffe (I edit manually the ./kaffe/kaffe/Makefile and add it to kaffe_bin_OBJECTS and kaffe_bin_SOURCES) give me a lots of compiling errors (it says it neds irc.h that I don't have)

2) I don't need AWT so I disable it now (--with-awt=no) but while building with AWT selected it give me the follow message:

.
.
.
Making all in awt
make[2]: Entering directory `/Progetti/Java/kaffe-1.1.0/libraries/clib/awt'
Making all in X
make[3]: Entering directory `/Progetti/Java/kaffe-1.1.0/libraries/clib/awt/X'
if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include   -DKVER='"1.1.0"' -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../../config -I../../../../include  -DKAFFE_VMDEBUG -g -O2 -Wall -Wstrict-prototypes  -I/usr/X11R6/include -g -O2 -Wall -Wstrict-prototypes -MT tlk.lo -MD -MP -MF ".deps/tlk.Tpo" \
  -c -o tlk.lo `test -f 'tlk.c' || echo './'`tlk.c; \
then mv -f ".deps/tlk.Tpo" ".deps/tlk.Plo"; \
else rm -f ".deps/tlk.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include -DKVER=\"1.1.0\" -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../../config -I../../../../include -DKAFFE_VMDEBUG -g -O2 -Wall -Wstrict-prototypes -I/usr/X11R6/include -g -O2 -Wall -Wstrict-prototypes -MT tlk.lo -MD -MP -MF .deps/tlk.Tpo -c tlk.c  -DPIC -o .libs/tlk.o
if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include   -DKVER='"1.1.0"' -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../../config -I../../../../include  -DKAFFE_VMDEBUG -g -O2 -Wall -Wstrict-prototypes  -I/usr/X11R6/include -g -O2 -Wall -Wstrict-prototypes -MT wnd.lo -MD -MP -MF ".deps/wnd.Tpo" \
  -c -o wnd.lo `test -f 'wnd.c' || echo './'`wnd.c; \
then mv -f ".deps/wnd.Tpo" ".deps/wnd.Plo"; \
else rm -f ".deps/wnd.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../../config -I../../../../include -DKVER=\"1.1.0\" -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm -I/Progetti/Java/kaffe-1.1.0/./kaffe/kaffevm/systems/unix-jthreads -I../../../../config -I../../../../include -DKAFFE_VMDEBUG -g -O2 -Wall -Wstrict-prototypes -I/usr/X11R6/include -g -O2 -Wall -Wstrict-prototypes -MT wnd.lo -MD -MP -MF .deps/wnd.Tpo -c wnd.c  -DPIC -o .libs/wnd.o
In file included from /usr/include/w32api/windows.h:87,
                 from /usr/include/w32api/rpc.h:2,
                 from /usr/include/w32api/wtypes.h:1,
                 from ../../../../config/config-std.h:43,
                 from toolkit.h:15,
                 from wnd.c:15:
/usr/include/w32api/winspool.h:239: unnamed fields of type other than struct or union are not allowed
/usr/include/w32api/winspool.h:254: unnamed fields of type other than struct or union are not allowed
/usr/include/w32api/winspool.h:275: unnamed fields of type other than struct or union are not allowed
/usr/include/w32api/winspool.h:300: unnamed fields of type other than struct or union are not allowed
/usr/include/w32api/winspool.h:446: unnamed fields of type other than struct or union are not allowed
/usr/include/w32api/winspool.h:469: unnamed fields of type other than struct or union are not allowed
make[3]: *** [wnd.lo] Error 1
make[3]: Leaving directory `/Progetti/Java/kaffe-1.1.0/libraries/clib/awt/X'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Progetti/Java/kaffe-1.1.0/libraries/clib/awt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Progetti/Java/kaffe-1.1.0/libraries/clib'
make: *** [all-recursive] Error 1
.
.
.

3) I see that while running ./configure it says:

checking winbase.h presence... yes
configure: WARNING: winbase.h: present but cannot be compiled
configure: WARNING: winbase.h: check for missing prerequisite headers?
configure: WARNING: winbase.h: proceeding with the preprocessor's result
configure: WARNING: Report this bug-autoconf at gnu.org

the same with winnt.h (I'm running under WinXP), winsock.h...
windows.h can be found and used...
if you want I can give you the full configure.log

any idea about these errors??

>
>thanks for testing the patch. how does it fail now?
>
>cheers,
>dalibor topic
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com




More information about the kaffe mailing list