Re: [Sablevm-user] Cygwin Compile Problems
Brought to you by:
egagnon
From: David <db...@cs...> - 2004-05-05 22:24:29
|
Hi, SableVM 1.1.3 does not have Cygwin support... Some code necessary to get it work on Cygwin has been merged in the development version (called the staging version). I am not sure if the code is sufficient yet to have SableVM compile out-of-the-box on that platform but it is one step closer. So, I would recommend that you obtain SableVM development tree (staging branch): http://devel.sablevm.org/wiki/Getting Note that this will require to have subversion as well as the automake/autoconf tools. You can also get a daily snapshot here: http://devel.sablevm.org/shot/ We are working improving the configuration to autodetect if -lrt is needed. Meanwhile, with a staging version, it can be fixed by removing -lrt in src/libsablevm/Makefile.am and running ./autogen.sh then ./configure etc. David On Wed, May 05, 2004 at 09:59:16PM +0100, Antony Baxter wrote: > Hi, >=20 > I'm trying to compile SableVM 1.1.3 on Cygwin. I got > the=20 > sablevm-classpath-1.1.3 package to compile ok with > only minimal changes,=20 > but am having problems compiling sablevm-1.1.3. It > compiles fine up to: >=20 > gcc -g -O2 -Wall -fno-gcse -Wno-unused > -fno-strict-aliasing -o=20 > sablevm.exe sablevm.o ../libsablevm/.libs/libsablevm.a > -lpthread=20 > /usr/lib/./libffi.a /usr/lib/libltdl.dll.a -lrt > /usr/lib/libpopt.dll.a >=20 > which fails with: >=20 > sablevm.o(.text+0x1d97): In function `main': > /home/jon/src/sable/sablevm-1.1.3/src/sablevm/sablevm.c:1351: > undefined=20 > reference to `_JNI_CreateJavaVM' > Info: resolving _poptHelpOptions by linking to > __imp__poptHelpOptions=20 > (auto-import) > collect2: ld returned 1 exit status > <thread /usr/lib/./libffi.a /usr/lib/libltdl.dll.a > -lrt=20 > /usr/lib/libpopt.dll.a > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld= : >=20 > cannot find -lrt > collect2: ld returned 1 exit status >=20 > I'm using Cygwin 1.5.9-1 & gcc 3.3.1. Anyone got any > ideas? >=20 > Thanks, >=20 > Antony >=20 >=20 >=20 > =09 > =09 > =09 > ____________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping"=20 > your friends today! Download Messenger Now=20 > http://uk.messenger.yahoo.com/download/index.html >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to=20 > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3 > _______________________________________________ > Sablevm-user mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-user --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |