• 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
Re: Link problem trying to use audiofloat library in my kext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link problem trying to use audiofloat library in my kext


  • Subject: Re: Link problem trying to use audiofloat library in my kext
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 13 Dec 2005 17:57:32 -0800

As I recall, the specific compilers settings you use to create the floating point library is very important. I also recall that when I upgraded the PhantomAudioDriver to be the AudioReflectorDriver, I had to change a lot of compiler settings to get things to build right.

I'd look at the build settings of the floating point library and make sure that they match up with those being used in AudioRefelctorDriver project.

On Dec 13, 2005, at 5:30 PM, Phil Montoya wrote:

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)


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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
References: 
 >Link problem trying to use audiofloat library in my kext (From: Phil Montoya <email@hidden>)

  • Prev by Date: Re: DataSourceName notification?
  • Next by Date: mp3 file making CAAudioFile spin in BasicRead()
  • Previous by thread: Link problem trying to use audiofloat library in my kext
  • Next by thread: didFinishPlaying problem
  • Index(es):
    • Date
    • Thread