[kaffe] cvs build fails

Dalibor Topic robilad at yahoo.com
Wed Feb 26 09:29:01 PST 2003


Zdravo Milose,

--- Milos Negovanovic <milosn at xtra.co.nz> wrote:
> cvs build fails on NetBSD-STABLE/i386 system with
> this
> error msg:
> 
> gcc -march=i686 -O2 -pipe -Wall -Wstrict-prototypes
> -DKVER='"1.1.x-cvs"'
> -I/home/milosn/projects/java/kaffe/./kaffe/kaffevm
>
-I/home/milosn/projects/java/kaffe/./kaffe/kaffevm/systems/unix-jthreads
> -I../../config -I../../include -c jar.c
> /bin/sh ../../config/regen-forward
> ./../kaffevm/utf8const.c utf8const.c
> gcc -march=i686 -O2 -pipe -Wall -Wstrict-prototypes
> -DKVER='"1.1.x-cvs"'
> -I/home/milosn/projects/java/kaffe/./kaffe/kaffevm
>
-I/home/milosn/projects/java/kaffe/./kaffe/kaffevm/systems/unix-jthreads
> -I../../config -I../../include -c utf8const.c

[snip]

> utf8const.o: In function `utf8ConstNew':
> utf8const.o(.text+0x1e8): undefined reference to
> `jthread_disable_stop'

The problem seems to be that the INCLUDES from
kaffe/kaffeh/Makefile.am are not expanded to include
the -DKAFFEH, so some files assume they are built for
the VM (instead of kaffeh) and use functions that are
not available in kaffeh.

The proper fix for this would be to look at the
Automake docs to see how to add -DKAFFEH to CFLAGS in
kaffe/kaffeh/Makefile.am. Could you take a look and
send me a patch?

cheers,
dalibor topic

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/




More information about the kaffe mailing list