I have some JNI code that I wrote using the QTKit which compiles fine if I either compile it in 10.5 or target 10.6, but when I try to target 10.5 in 10.6 I get some strange obejctive-c errors(basically it doesn't seem to be able to send messages to self or super.
Here is the output of my makefile, can anyone tell me whats going on?😕
Here is the output of my makefile, can anyone tell me whats going on?😕
Code:
/usr/bin/gcc -Wall -O -dynamic -I/System/Library/Frameworks/JavaVM.framework/Headers -c -arch x86_64 QTMovieController.m QTMovieProcessor.m QTMovieViewComponent.m
/usr/bin/gcc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -bundle -o libQTMovieViewComponent.jnilib *.o -framework JavaVM -framework Cocoa -framework QTkit
Undefined symbols:
"_objc_msgSendSuper2", referenced from:
-[QTMovieController init] in QTMovieController.o
-[QTMovieViewComponent mouseDown:] in QTMovieViewComponent.o
-[QTMovieViewComponent mouseDragged:] in QTMovieViewComponent.o
-[QTMovieViewComponent scrollWheel:] in QTMovieViewComponent.o
-[QTMovieViewComponent init] in QTMovieViewComponent.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [jnipart] Error 1