JNI trouble
JNI trouble
- Subject: JNI trouble
- From: brien colwell <email@hidden>
- Date: Mon, 09 Jun 2008 23:15:30 -0700
hi all,
I'm having some trouble compiling a JNI lib on Osx. I get the following "Undefined synbols" errors ... does anyone have a pointer? Very much appreciated!
Brien
cc -bundle -I/System/Library/Frameworks/JavaVM.framework/Headers -o libName.jnilib -framework JavaVM JNITabletjnilib.m
Undefined symbols:
"_objc_msgSendSuper", referenced from:
-[CustomApplication sendEvent:] in ccf3ZHsd.o
".objc_class_name_NSApplication", referenced from:
literal-pointer@__OBJC@__cls_refs@NSApplication in ccf3ZHsd.o
.objc_class_name_CustomApplication in ccf3ZHsd.o
"___CFConstantStringClassReference", referenced from:
cfstring=Couldn't attach to JVM in ccf3ZHsd.o
"_objc_msgSend_fpret", referenced from:
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
"_NSLog", referenced from:
-[CustomApplication sendEvent:] in ccf3ZHsd.o
"_objc_msgSend", referenced from:
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
-[CustomApplication sendEvent:] in ccf3ZHsd.o
_Java_TabletWrapper_startup in ccf3ZHsd.o
_Java_TabletWrapper_startup in ccf3ZHsd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden