This is a problem caused by the linker not being able to find  
LanguageKit.

Can you use ldd to check if SmalltalkKit.so is linked against  
LangaugeKit?  If it isn't, then I've done something wrong with the  
makefile there.

Probably the best work-around for this is to add etoile/Etoile/Build  
to LD_LIBRARY_PATH while building Étoilé, although I thought this was  
done already by Quentin's code.

As a short-term hack, you can either add -lLanguageKit to the list of  
linker flags in ScriptServices, or do make install in Etoile/Langauges/ 
LanguageKit.

David

On 21 Nov 2008, at 10:19, Fred Morcos wrote:

> building etoile-trunk:
>
> Build Project: ScriptServices
>
> Making all for app ScriptServices...
> Creating ScriptServices.app/....
> Compiling file ScriptServices.m ...
> Linking app ScriptServices ...
> /personal/build/etoile/Etoile/Build/libSmalltalkKit.so: undefined
> reference to `__objc_class_name_LKClassMethod'
> /personal/build/etoile/Etoile/Build/libSmalltalkKit.so: undefined
> reference to `__objc_class_name_LKInstanceMethod'
> /personal/build/etoile/Etoile/Build/libSmalltalkKit.so: undefined
> reference to `__objc_class_name_LKMessageCascade'
> collect2: ld returned 1 exit status
> make[4]: *** [ScriptServices.app/./ScriptServices] Error 1
> make[3]: *** [ScriptServices.all.app.variables] Error 2
> make[2]: *** [internal-all] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
>
> on a side note, what is the generating header files?
>
> ex:
>
> Making build-headers for framework SmalltalkKit...
> Creating SmalltalkKit.framework/Versions/0/Headers...
> Creating SmalltalkKit.framework/Versions/0/Headers/ 
> SmalltalkCompiler.h...
> Creating SmalltalkKit.framework/Versions/0/Headers/SmalltalkKit.h...
> Creating SmalltalkKit.framework/Versions/0/Headers/ 
> SmalltalkParser.h...
> Creating derived_src/.stamp...
> Creating SmalltalkKit.framework/Versions/0/Resources...
> Updating Version/Current symlink...
>
> -- 
> Fred Morcos
> http://fredmorcos.blogspot.com/
> http://katoob.googlecode.com/
> https://savannah.nongnu.org/projects/objective-gtk/
> http://grafer.googlecode.com/
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss


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

Répondre à