Link problem trying to use audiofloat library in my kext
Link problem trying to use audiofloat library in my kext
- Subject: Link problem trying to use audiofloat library in my kext
- From: Phil Montoya <email@hidden>
- Date: Tue, 13 Dec 2005 17:30:20 -0800
I'm trying to use the AudioReflector float library for my universal
binary port. I cannot seem to get the library to link with my kext.
I had been using an older target with the ppc version of the blitter
code which compiled and linked just fine. When I upgraded the target
the link failed. II tried creating a target from scratch and
duplicated all of the settings in the Reflector float library but I
still get the same link error. Any ideas?
(note. I replaced the rest of the files names with ... because they
are long and uninteresting but you can see the rest of the link options)
-Phil
Ld "/Users/demo/..." normal ppc
cd /Users/demo/...
/usr/bin/g++-4.0 -o /Users/demo/... -L/Users/demo/... -L/Users/
demo/... -F/Users/demo/... -filelist /Users/demo/... -
lAudioFloatLibrary -arch ppc -static -nostdlib -r -lkmodc++ /Users/
demo/...-normal/ppc/..._info.o -lkmod -lcc_kext -lcpp_kext -mmacosx-
version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: /Users/demo/ntv2projects/macdriver/build/Development ppc/
libAudioFloatLibrary.a(PCMBlitterLibPPC.o) incompatible, file
contains unsupported type of section 1 (__TEXT,__picsymbolstub1) in
load command 0 (must specify "-dynamic" to be used)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden