0
0

Using Mac OS X 10.3.9 ppc

having some code that build fine on 3.7.4, then I upgraded to 3.7.5 and I get:
[quote:18gg5p34]gcc -dynamiclib -framework JavaVM -framework Carbon -o liblwjgl-fmod3.jnilib ext fmod3.o org_lwjgl_fmod3_FMOD.o org_lwjgl_fmod3_FMusic.o org_lwjgl_fmod3_FSound.o ../common_tools.o
/Users/matzon/Development/fmodapi375mac/api/lib/libfmod.a
/usr/bin/libtool: internal link edit command failed
ld: table of contents for archive: /Users/matzon/Development/fmodapi375mac/api/lib/libfmod.a is out of date; rerun ranlib(1) (can’t load from it)
make: *** [liblwjgl-fmod3.jnilib] Error 1
[/quote:18gg5p34]
I then tried to rerun ranlib (just trying ideas) – but that gave a whole other slew of problems
[quote:18gg5p34]lib/libfmod.a(system_debug.o) has no symbols
lib/libfmod.a(mixer_c_spline.o) has no symbols

common symbols not allowed with MH_DYLIB output format with the -multi_module option
[/quote:18gg5p34]

  • You must to post comments
0
0

yay – that worked perfectly! – everything compiled as expected and works.
Can I use that libfmod.a – or will it change for a 3.7.5.1 update?
I’m about to release – and would like to know if I should wait for an official "fix" – and if so – how long to wait.

  • You must to post comments
0
0

You can use that libfmod.a

  • You must to post comments
0
0

Hello!

I have the same ranlib error above, but I can’t seem to get to the FTP archive you list…connection error, and anonymous entry will not accept my full email address as password.

Could you post somewhere else or something?

Desperately trying to compile today…3.7.5 using:

powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061)

david

  • You must to post comments
0
0

nope – make:
[quote:1pdqws3e]gcc -g -O3 -o simple main.c ../../api/lib/libfmod.a -framework Carbon[/quote:1pdqws3e]
gives me lots of these:
[quote:1pdqws3e]
ld: ../../api/lib/libfmod.a(music_formatit.o) r_type field of relocation entry 323 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(music_formatit.o) stray relocation PPC_RELOC_PAIR entry (324) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(music_formatit.o) r_type field of relocation entry 325 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(fmusic.o) r_type field of relocation entry 813 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(fmusic.o) stray relocation PPC_RELOC_PAIR entry (814) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(fmusic.o) r_type field of relocation entry 815 in section (__TEXT,__text) invalid[/quote:1pdqws3e]

  • You must to post comments
0
0

same error using
[quote:14tfh4mt]g++ -g -O3 -o simple main.c ../../api/lib/libfmod.a -framework Carbon[/quote:14tfh4mt] – that is, first the
[quote:14tfh4mt]ld: table of contents for archive: ../../api/lib/libfmod.a is out of date; rerun ranlib(1) (can’t load from it)[/quote:14tfh4mt] then I run ranlib as suggested, and then I get a slew of [quote:14tfh4mt]ld: ../../api/lib/libfmod.a(music_formatit.o) r_type field of relocation entry 323 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(music_formatit.o) stray relocation PPC_RELOC_PAIR entry (324) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(music_formatit.o) r_type field of relocation entry 325 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(fmusic.o) r_type field of relocation entry 813 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(fmusic.o) stray relocation PPC_RELOC_PAIR entry (814) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(fmusic.o) r_type field of relocation entry 815 in section (__TEXT,__text) invalid[/quote:14tfh4mt]

  • You must to post comments
0
0

What version of gcc are you using? I have tried gcc3.3 and 4.0 on our mac without any problems.

  • You must to post comments
0
0

[quote:1cdeucu8]Darwin MacBeth.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc

gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)

[/quote:1cdeucu8] on a 10.3.9 mac (cube)

running the makefile for simple on fmod 3.7.4 produces a clean binary.

  • You must to post comments
0
0

bump

  • You must to post comments
0
0

hi,

i just uploaded a libfmod.a to http://ftp.fmod.org (u:upload, p:upload).

Could you give that one a shot? There’s also the dynamic library libfmod.dylib up there as well which may work if the static version still isn’t working for you.

  • You must to post comments
0
0

then I get these when compiling my own project:
[quote:2iuexjyh]ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/api/lib/libfmod.a(fmusic.o) definition of common _FMUSIC_DummyChannel (size 392)
/api/lib/libfmod.a(fmusic.o) definition of common _FMUSIC_DummyInstrument (size 712)
/api/lib/libfmod.a(fmusic.o) definition of common _FMUSIC_DummyVirtualChannel (size 156)
/api/lib/libfmod.a(fmusic.o) definition of common _FMUSIC_VirtualChannel (size 59904)
/api/lib/libfmod.a(system_file.o) definition of common _FSOUND_File_Queue (size 1792)
/api/lib/libfmod.a(music_formatmod.o) definition of common _FMUSIC_MOD_DummyChannel (size 156)
/api/lib/libfmod.a(music_formats3m.o) definition of common _FMUSIC_S3M_DummyChannel (size 156)
/api/lib/libfmod.a(output_mac.o) definition of common _SampleRates (size 6)
/api/lib/libfmod.a(output_mac.o) definition of common _Sinfo (size 6)
/api/lib/libfmod.a(format_mpeg_layer2.o) definition of common _muls (size 6912)
/api/lib/libfmod.a(format_mpeg_layer3.o) definition of common _longLimit (size 828)
/api/lib/libfmod.a(format_mpeg_layer3.o) definition of common _shortLimit (size 504)
/api/lib/libfmod.a(output_mac_carbonsndplaydb.o) definition of common _gFreeList (size 4)
/api/lib/libfmod.a(output_mac_carbonsndplaydb.o) definition of common _gNMRecBusy (size 1)
/api/lib/libfmod.a(output_mac_carbonsndplaydb.o) definition of common _gNMRecPtr (size 4)
/api/lib/libfmod.a(output_mac_carbonsndplaydb.o) definition of common _gSilenceOnes (size 4)
/api/lib/libfmod.a(output_mac_carbonsndplaydb.o) definition of common _gSilenceTwos (size 4)
/usr/bin/libtool: internal link edit command failed
make: *** [liblwjgl-fmod3.jnilib] Error 1[/quote:2iuexjyh]

and these for samples/simple:
[quote:2iuexjyh]ld: ../../api/lib/libfmod.a(fsound_dsp_fft.o) stray relocation PPC_RELOC_PAIR entry (137) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(fsound_dsp_fft.o) r_type field of relocation entry 138 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(fsound_dsp_fft.o) stray relocation PPC_RELOC_PAIR entry (139) in section (__TEXT,__text)
ld: ../../api/lib/libfmod.a(codebook.o) r_type field of relocation entry 9 in section (__TEXT,__text) invalid
ld: ../../api/lib/libfmod.a(codebook.o) stray relocation PPC_RELOC_PAIR entry (10) in section (__TEXT,__text)[/quote:2iuexjyh]

  • You must to post comments
0
0

okay, i just uploaded a new libfmod.a to the same place, this time built with codewarrior rather than gcc. I recall 3.7.4 was build with codewarrior so thats the only difference i could think of that could be causing your problem. Let me know how it goes

  • You must to post comments
Showing 11 results
Your Answer

Please first to submit.