[kaffe] Darwin 7 PPC Build Error

Guilhem Lavaux guilhem at kaffe.org
Mon Jan 3 22:54:31 PST 2005


Michael Franz wrote:
> I think I finally have the tinderbox working - more tweaks will be
> needed.  The current build is failing with:
> ccache gcc -g -O2 -Wchar-subscripts -Wcomment -Wformat=2
> -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces
> -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wswitch-default
> -Wswitch-enum -Wtrigraphs -Wunused-function -Wunused-label
> -Wunused-parameter -Wunused-variable -Wunused-value -Wunknown-pragmas
> -Wstrict-aliasing -W -Wfloat-equal -Wundef -Wendif-labels -Wshadow
> -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
> -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wmissing-noreturn -Wmissing-format-attribute -Wpacked
> -Wredundant-decls -Wnested-externs -Winvalid-pch -Winline -Wlong-long
> -Wdisabled-optimization -fsigned-char -o .libs/jitBasic jitBasic.o
> jit_stub.o version.o .libs/jitBasicS.o 
> ../../kaffe/kaffevm/.libs/libkaffevm.dylib -L/usr/local/lib
> /Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/kaffe/kaffevm/verifier/.libs/libkaffeverifier.dylib
> /Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/kaffe/kaffevm/kaffe-gc/.libs/libkaffegc.dylib
> -lm ../../libltdl/.libs/libltdlc.a -ldl
> ld: warning -L: directory name (/usr/local/lib) does not exist
> ld: Undefined symbols:
> _repsem_destroy
> _repsem_getvalue
> _repsem_init
> _repsem_post
> _repsem_wait
> 
> Michael
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> 


Hi,


You have to add $(top_builddir)/replace/libreplace.la to the list of 
libraries to be linked with in LIBADD in Makefile.am.

Here is a patch for this.

Regards,

Guilhem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jit_patch
Url: http://kaffe.org/pipermail/kaffe/attachments/20050104/9739af04/attachment-0002.txt 


More information about the kaffe mailing list