Re: error while make after configuring to use interpreter engine and enabling debug

Dalibor Topic <[email protected]>
Newsgroups gmane.comp.java.vm.kaffe.general
Message-ID <[email protected]>
sreejith k s wrote:
> hi,
> I had configured kaffe without enabling any flag and installation  was
> fine.the n i reconfigured it to use interpreter engine and enable debug
> using
> 
> ./confiure --with-engine=intrp --enable-debug
> 
> then i gave 'make'
> 
> it showed following error;
> 
> ../../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `jit_debug'
> collect2: ld returned 1 exit status
> make[2]: *** [kaffe-bin] Error 1
> make[2]: Leaving directory `/home/sreejith/Desktop/kaffe-1.1.7/kaffe/kaffe'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sreejith/Desktop/kaffe-1.1.7/kaffe'
> make: *** [all-recursive] Error 1
> 
> is it because of the old configured files creating problems.

Yes.

> i gave make uninstall and then make distclean.but again while reconfiguring
> met with the same error.

It works for me on CVS head, so it seems to have been fixed meanwhile. 
If you use 1.1.7, I'd suggest configuring from a different directory for 
each configuration you want to build, i.e.

mkdir build-intrp-debug && cd build-intrp-debug && 
/path/to/kaffe/configure --your-options

cheers,
dalibor topic

cheers,
dalibor topic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.