[kaffe] Can not build out Kaffe

Dalibor Topic robilad at yahoo.com
Tue Nov 5 04:58:59 PST 2002


Hi Wu,

--- Wu Kun <wukun at cmrd.panasonic.com.cn> wrote:
> I try to build out Kaffe 1.0.7 on Window 2000
> Professional (SP5) with
> CygWin 1.3.14-1, GNU Make 3.79.1. The ./configure
> command seems run and
> complete normally but "make" can not be completed:
>  
> "...
> cc1: warning: changing search order for system
> directory
> "/usr/local/include"
> cc1: warning:   as it has already been specified as
> a non-system
> directory
> 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[4]: *** [wnd.lo] Error 1
> make[4]: Leaving directory
> `/cygdrive/f/tmp/kaffe-1.0.7/libraries/clib/awt/X'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/cygdrive/f/tmp/kaffe-1.0.7/libraries/clib/awt'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/cygdrive/f/tmp/kaffe-1.0.7/libraries/clib'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory
> `/cygdrive/f/tmp/kaffe-1.0.7/libraries'
> make: *** [install-recursive] Error 1
>  
> ..."
>  
> What's wrong with my build ?

your compiler complains about your system's header
files. take a quick look at the lines in the header
files, that the compiler complains about and see if
you can figure out what's wrong. Alternatively, if you
don't need the AWT, you could try to configure kaffe
without AWT, and see if it still need to include that
header file.

best regards,

dalibor topic


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/




More information about the kaffe mailing list