Having some trouble compiling Japhar on RedHat 5.2
1. configure tells me to check on NEED_UNDERSCORE in include/config.h
2. make bombs early on thread_test, and I haven't found where
MONITOR_enter, etc. are defined, just that they are declared in
include/native-threads.h.
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wreturn-type -Wcast-align
-pedantic -o thread_test thread_test.o ../arch/libarch.la -ldl
-lpthread -lm
gcc -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wreturn-type -Wcast-align -pedantic -o
thread_test thread_test.o ../arch/.libs/libarch.a -ldl -lpthread -lm
-ldl -lpthread -lm
thread_test.o: In function `thread_func':
/home/brian/hungry/java/japhar/arch/thread_test.c:60: undefined
reference to `MONITOR_enter'
/home/brian/hungry/java/japhar/arch/thread_test.c:62: undefined
reference to `MONITOR_exit'
thread_test.o: In function `main':
/home/brian/hungry/java/japhar/arch/thread_test.c:82: undefined
reference to `MONITOR_create'
/home/brian/hungry/java/japhar/arch/thread_test.c:84: undefined
reference to `THREAD_start'
/home/brian/hungry/java/japhar/arch/thread_test.c:85: undefined
reference to `THREAD_start'
make[1]: *** [thread_test] Error 1
make[1]: Leaving directory `/home/brian/hungry/java/japhar/arch'
make: *** [all-recursive] Error 1
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------