• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
JNI trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: JNI trouble
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Detect editing a outline view cell
  • Next by Date: Re: crash on command-W
  • Previous by thread: Re: Detect editing a outline view cell
  • Next by thread: Re: JNI trouble
  • Index(es):
    • Date
    • Thread