[kaffe] Re: Linker Errors on OS X 10.4.11 - Kaffe 1.1.8

Michael Franz mvfranz at gmail.com
Wed Feb 20 18:08:00 PST 2008


I was able to get Kaffe 1.1.8 to build.  I needed to add --with-staticlib
--with-staticvm  --disable-shared .  I think there is something wrong with
the default linking in the build process.
When I run the tests however, it is not too promising.  135 of 150 tests
fail.


On Sun, Feb 10, 2008 at 11:14 AM, Michael Franz <mvfranz at gmail.com> wrote:

> Hi,
> I tried to build Kaffe 1.1.8 on OS X 10.4.11.  I used the same
> configuration script that works for kaffe 1.1.7.  Here are the following
> linker errors:
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> _KGC_getMainCollector
> _ObjectClass
> _initStaticLock
> _jthread_disable_stop
> _jthread_enable_stop
> _jthread_sleep
> _loadClass
> _locks_internal_lockMutex
> _locks_internal_unlockMutex
> _newArrayChecked
> _postExceptionMessage
> _postOutOfMemory
> _stringC2Java
> _stringJava2C
> _throwError
> _types
> _utf8ConstFromString
> _utf8ConstRelease
> _AllocObjectArray
> _buildStackTrace
> _utf8Const2Java
> _KaffeVM_registerObjectReference
> _instanceof
> _javaLangRefPhantomReference
> _javaLangRefSoftReference
> _javaLangRefWeakReference
> _SignalError
> _processClass
> _soft_instanceof
> _Kaffe_JavaVMArgs
> _execute_java_constructor
> _throwException
> _KaffeVM_makeReflectConstructor
> _KaffeVM_makeReflectField
> _KaffeVM_makeReflectMethod
> _discardErrorInfo
> _findMethodLocal
> _getClass
> _init_name
> _loadArray
> _stringJava2Utf8ConstReplace
> _throwExternalException
> _utf8Const2JavaReplace
> _utf8ConstEqual
> _booleanClass
> _byteClass
> _charClass
> _classFileInit
> _classMappingLoad
> _classname2pathname
> _doubleClass
> _floatClass
> _intClass
> _longClass
> _lookupClassEntry
> _lookupClassEntryInternal
> _newClass
> _readClass
> _shortClass
> _utf8ConstAddRef
> _voidClass
> _CloneClass
> _dbgGetMask
> _jthread_current
> _jthread_get_data
> _jthread_interrupted
> _kaffe_dprintf
> _locks_internal_broadcastCond
> _locks_internal_signalCond
> _locks_internal_waitCond
> _newArray
> _newObject
> _loadNativeLibrary
> _main_collector
> _runFinalizerOnExit
> _stringJava2CBuf
> _stringInternString
> _jfree
> _jmalloc
> _printStackTrace
> _finalizeThread
> _getCurrentThread
> _interruptThread
> _jthread_get_status
> _jthread_is_interrupted
> _setPriorityThread
> _startThread
> _yieldThread
> _getStackTraceElements
> _getEngine
> _getLibraryPath
> _realBootClassPath
> _realClassPath
> _userProperties
>
> Michael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20080220/9f59048b/attachment-0003.htm 


More information about the kaffe mailing list