broken: jamvm-1.4.2 on amd64

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

broken: jamvm-1.4.2 on amd64

Frederick C. Druseikis-2
I've gotten two reports that jamvm-1.4.2 on amd64 won't build.

This is a mistake on my part.

Sorry, No meaningful patch.


Reply | Threaded
Open this post in threaded view
|

Re: broken: jamvm-1.4.2 on amd64

steven mestdagh
Frederick C. Druseikis [2006-04-24, 21:39:16]:
> I've gotten two reports that jamvm-1.4.2 on amd64 won't build.
>
> This is a mistake on my part.
>
> Sorry, No meaningful patch.

the attached patch gets me a bit further, but results in some linker
errors:

cc  -O2 -pipe -Wformat -Wbounded   -o jamvm  alloc.o cast.o class.o
dll.o excep.o execute.o hash.o interp.o jam.o jni.o lock.o natives.o
reflect.o resolve.o string.o thread.o utf8.o zip.o properties.o direct.o
dll_ffi.o access.o frame.o os/linux/x86_64/libnative.a os/linux/libos.a
-lz -lm -lpthread
class.o(.text+0xfcc): In function `createArrayClass':
: warning: strcpy() is almost always misused, please use strlcpy()
class.o(.text+0x2edf): In function `bootClassPathResource':
: warning: sprintf() is often misused, please use snprintf()
class.o(.text+0x2305): In function `loadSystemClass':
: warning: strcat() is almost always misused, please use strlcat()
dll.o(.text+0x82e): In function `callJNIWrapper':
: undefined reference to `callJNIMethod'
dll.o(.text+0x8a8): In function `lookupLoadedDlls':
: undefined reference to `nativeExtraArg'



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


jamvm.patch (1K) Download Attachment