[Sablevm-user] Cygwin Compile Problems
Brought to you by:
egagnon
From: <ant...@ya...> - 2004-05-05 20:59:23
|
Hi, I'm trying to compile SableVM 1.1.3 on Cygwin. I got the sablevm-classpath-1.1.3 package to compile ok with only minimal changes, but am having problems compiling sablevm-1.1.3. It compiles fine up to: gcc -g -O2 -Wall -fno-gcse -Wno-unused -fno-strict-aliasing -o sablevm.exe sablevm.o ../libsablevm/.libs/libsablevm.a -lpthread /usr/lib/./libffi.a /usr/lib/libltdl.dll.a -lrt /usr/lib/libpopt.dll.a which fails with: sablevm.o(.text+0x1d97): In function `main': /home/jon/src/sable/sablevm-1.1.3/src/sablevm/sablevm.c:1351: undefined reference to `_JNI_CreateJavaVM' Info: resolving _poptHelpOptions by linking to __imp__poptHelpOptions (auto-import) collect2: ld returned 1 exit status <thread /usr/lib/./libffi.a /usr/lib/libltdl.dll.a -lrt /usr/lib/libpopt.dll.a /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lrt collect2: ld returned 1 exit status I'm using Cygwin 1.5.9-1 & gcc 3.3.1. Anyone got any ideas? Thanks, Antony ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |