Re: Re: How to set environement path variable
Dalibor Topic <[email protected]> Thu, 17 Jan 2008 22:50:56 +0100
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Arun Prasad Mohan wrote: > Hi, > > From the install file i found for setting environment variable > * > Or on systems that have the `env' program, you can do it like this: > > "env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure" > Yeah, that's a way to set environment variables. You can also put them in front of the ./configure call, that way they are 'recorded' in config.log. > binS.o -Wl,--export-dynamic ../../kaffe/kaffevm/.libs/libkaffevm.so -ldl > -lm ../../replace/.libs/libreplace.a -lpthread -Wl,--rpath > -Wl,/usr/local/kaffe/jre/lib/i386 > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_frem' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_lmul' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_ldiv' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_freml' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_ashrl' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_lrem' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_lshrl' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_lshll' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_fdivl' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_fdiv' > ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `soft_lcmp' > collect2: ld returned 1 exit status > make[2]: *** [kaffe-bin] Error 1 > make[2]: Leaving directory `/home/arunprasadmohan/Desktop/kaffe-1.1.7 > /kaffe/kaffe' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/arunprasadmohan/Desktop/kaffe-1.1.7/kaffe' > make: *** [install-recursive] Error 1 > > *How to proceed further. Need your help.... I don't know what you're trying to achieve, so I can't tell you how to proceed. If you want to debug the failure, you should look into the build system for 1.1.7, figure out what LDFLAGS=-s does, and how it changes the results of the build. The question is: Do you really need to use LDFLAGS=-s? Is make install-strip not sufficient for that? The meta question is if you and seejith really need to use 1.1.7 for your project, as 1.1.8, the current release, should work a bit better in many respects. I can't reproduce the problem on current CVS head that you've found, so whatever it was that's causing it in 1.1.7, it seems to have been fixed meanwhile. I hope to roll out 1.1.9 soon, and if you are interested in trying out a release candidate, just send me an e-mail, and I'll put one up on the weekend, or come to our IRC channel #kaffe on irc.freenode.net for hands on help when I'm around. cheers, dalibor topic