On Fri, Aug 29, 2008 at 03:29:34PM -0600, Dane Elshof wrote:
> Okay, I fixed that error by downloading llvm from svn and compiling (it seems
> like debug is the default build for llvm for svn, from the tarball it was
> release).  Now, I'm getting this error:
> 
> /usr/bin/ld: cannot find -lSmalltalkKit
> collect2: ld returned 1 exit status

This looks like an error I know. Could it be that you are trying
to build on an amd64 machine? If so, it probably helps to remove
llvm from your system completely, reconfigure it with the
--enable-pic flag and than make and install it. The
--enable-optimized switch couldn't hurt either, llvm's
performance in debug mode is said to be really bad.

I guess that the actual error is btw a bit above the snipplet you
posted. On 64bit machines objects can only be used in shared 
libraries when they are PIC(position independent code)-enabled. 
Since the llvm objects are not by default, ld cannot use them to 
generate libSmalltalkKit.so, which is why it cannot be found when
trying to link to it. At least, that's what happened in my 
experiments, but ymmv.

Hope it helps


Niels

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à