Hey all!
I am trying to compile hydrogen 0.9.4 on OS X 10.4.5. Installed all
the developer stuff, QT4 for mac compiled just fine as did
libsndfile. Now it seems that ld doesn't behave like it does on
Linux, when trying to build FLAC I get some weird errors from it (log
attached).
Also, Hydrogen by default tries to build ALSA MIDI and audio support,
I disabled audio support in the .pri file but still it fails trying
to find ALSA MIDI headers - what should I do here?
Thanks a lot,
Artemiy.
Making all in .
/bin/sh ../../libtool --mode=link gcc -I../.. -I./include -I../../include -O2
-DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W
-Winline -DFLaC__INLINE=__inline__ -g -O2 -o libFLAC.la -rpath /usr/lib
-version-info 7:0:0 -lm bitbuffer.lo bitmath.lo cpu.lo crc.lo file_decoder.lo
file_encoder.lo fixed.lo float.lo format.lo lpc.lo md5.lo memory.lo
metadata_iterators.lo metadata_object.lo seekable_stream_decoder.lo
seekable_stream_encoder.lo stream_decoder.lo stream_encoder.lo
stream_encoder_framing.lo ia32/libFLAC-asm.la
../../libtool: line 3664: Mach-O dynamically linked shared library: command not
found
*** Warning: linker path does not have real file for library -lm.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libm and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib
../../libtool: line 3664: Mach-O dynamically linked shared library: command not
found
*** Warning: linker path does not have real file for library -lc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libc and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libSystem.B.dylib
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
../../libtool: line 4062: test: : integer expression expected
../../libtool: line 4062: test: : integer expression expected
creating reloadable object files...
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
../../libtool: line 4096: test: : integer expression expected
creating a temporary reloadable object file: .libs/libFLAC.la-19.o
/usr/bin/ld -r -o .libs/libFLAC.la-1.o .libs/bitbuffer.o
/usr/bin/ld -r -o .libs/libFLAC.la-2.o .libs/bitmath.o .libs/libFLAC.la-1.o
/usr/bin/ld -r -o .libs/libFLAC.la-3.o .libs/cpu.o .libs/libFLAC.la-2.o
/usr/bin/ld -r -o .libs/libFLAC.la-4.o .libs/crc.o .libs/libFLAC.la-3.o
/usr/bin/ld -r -o .libs/libFLAC.la-5.o .libs/file_decoder.o .libs/libFLAC.la-4.o
/usr/bin/ld -r -o .libs/libFLAC.la-6.o .libs/file_encoder.o .libs/libFLAC.la-5.o
/usr/bin/ld -r -o .libs/libFLAC.la-7.o .libs/fixed.o .libs/libFLAC.la-6.o
/usr/bin/ld -r -o .libs/libFLAC.la-8.o .libs/float.o .libs/libFLAC.la-7.o
/usr/bin/ld -r -o .libs/libFLAC.la-9.o .libs/format.o .libs/libFLAC.la-8.o
/usr/bin/ld -r -o .libs/libFLAC.la-10.o .libs/lpc.o .libs/libFLAC.la-9.o
/usr/bin/ld -r -o .libs/libFLAC.la-11.o .libs/md5.o .libs/libFLAC.la-10.o
/usr/bin/ld -r -o .libs/libFLAC.la-12.o .libs/memory.o .libs/libFLAC.la-11.o
/usr/bin/ld -r -o .libs/libFLAC.la-13.o .libs/metadata_iterators.o
.libs/libFLAC.la-12.o
/usr/bin/ld -r -o .libs/libFLAC.la-14.o .libs/metadata_object.o
.libs/libFLAC.la-13.o
/usr/bin/ld -r -o .libs/libFLAC.la-15.o .libs/seekable_stream_decoder.o
.libs/libFLAC.la-14.o
/usr/bin/ld -r -o .libs/libFLAC.la-16.o .libs/seekable_stream_encoder.o
.libs/libFLAC.la-15.o
/usr/bin/ld -r -o .libs/libFLAC.la-17.o .libs/stream_decoder.o
.libs/libFLAC.la-16.o
/usr/bin/ld -r -o .libs/libFLAC.la-18.o .libs/stream_encoder.o
.libs/libFLAC.la-17.o
/usr/bin/ld -r -o .libs/libFLAC.la-19.o .libs/stream_encoder_framing.o
.libs/libFLAC.la-18.o
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libFLAC.7.0.0.dylib .libs/libFLAC.la-19.o -all_load
ia32/.libs/libFLAC-asm.a -install_name /usr/lib/libFLAC.7.dylib
-compatibility_version 8 -current_version 8.0
/usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(cpu_asm.o) is not an object
file (not allowed in a library)
/usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(fixed_asm.o) is not an object
file (not allowed in a library)
/usr/bin/libtool: file: ia32/.libs/libFLAC-asm.a(lpc_asm.o) is not an object
file (not allowed in a library)
make[4]: *** [libFLAC.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2