VM issues.

Wolfgang Eder edw at generalmagic.at
Tue Mar 8 11:26:44 UTC 2005


Alan Grimes wrote:

> Ned Konz wrote:
> 
>> Which "everything"? You should be removing:
>> * the build directory
>> * doing a "clean out" from VMMaker
>>  
>>
> 
> I did a fresh generation and then one with only your plugins...
> 
> 
>> So the answer would be "no". I recommend that you give it a try with 
>> exactly
>>
>> that set of internal and external plugins, and with no flags given to 
>> configure.
>>
>> I'm trying to eliminate variables here.
>>  
>>
> 
> Precicely as expected.....
> 
> 
> /bin/sh /home/atg/source/trunk/bld/libtool --mode=link gcc -g -O2 
> -fomit-frame-pointer -DLSB_FIRST=1    -export-dynamic -R/usr/local/lib 
> -o squeak vm/vm.a FilePlugin/FilePlugin.a 
> FloatArrayPlugin/FloatArrayPlugin.a GeniePlugin/GeniePlugin.a 
> SecurityPlugin/SecurityPlugin.a SocketPlugin/SocketPlugin.a 
> disabledPlugins.o version.o -lutil -ldl -lm -lnsl   vm/vm.a
> mkdir .libs
> 
> gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -o squeak 
> disabledPlugins.o version.o -Wl,--export-dynamic  
> FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a 
> GeniePlugin/GeniePlugin.a SecurityPlugin/SecurityPlugin.a 
> SocketPlugin/SocketPlugin.a -lutil -ldl -lm -lnsl vm/vm.a -Wl,--rpath 
> -Wl,/usr/local/lib

Alan,
you could try to move the vm/vm.a in front of FilePlugin/FilePlugin.a

just a wild guess, though.
good luck
Wolfgang



> vm/vm.a(sqNamedPrims.o)(.data+0x8): undefined reference to 
> `FilePlugin_exports'
> vm/vm.a(sqNamedPrims.o)(.data+0xc): undefined reference to 
> `FloatArrayPlugin_exports'
> vm/vm.a(sqNamedPrims.o)(.data+0x10): undefined reference to 
> `GeniePlugin_exports'
> vm/vm.a(sqNamedPrims.o)(.data+0x14): undefined reference to 
> `SecurityPlugin_exports'
> vm/vm.a(sqNamedPrims.o)(.data+0x18): undefined reference to 
> `SocketPlugin_exports'
> collect2: ld returned 1 exit status
> make: *** [squeak] Error 1
> bash-2.05b$
> 
> 
> 






More information about the Squeak-dev mailing list