[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VCDImager Bugs/Devel] vcdimager 0.7.20 build problem under Mac OS X
From: |
Sebastian Hagedorn |
Subject: |
[VCDImager Bugs/Devel] vcdimager 0.7.20 build problem under Mac OS X |
Date: |
Mon, 01 Mar 2004 00:16:32 +0100 |
Hi,
the versioning scheme used in lib/Makefile.am breaks under Mac OS X,
because the loader doesn't know the flag --version-script.
I had to make this change to get it to compile:
--- Makefile.am.orig Fri Feb 13 01:52:18 2004
+++ Makefile.am Mon Mar 1 00:11:19 2004
@@ -118,7 +118,6 @@
libvcdinfo_la_MAJOR := $(shell expr $(libvcdinfo_la_CURRENT) -
$(libvcdinfo_la_AGE))
libvcdinfo_la_DEPENDENCIES += libvcdinfo.la.ver
-libvcdinfo_la_LDFLAGS += -Wl,--version-script=libvcdinfo.la.ver
libvcdinfo.la.ver: $(libvcdinfo_la_OBJECTS)
echo 'VCDINFO_$(libvcdinfo_la_MAJOR) {' > $@
Without this change I get the following error:
gcc -dynamiclib -undefined dynamic_lookup -o .libs/libvcdinfo.0.0.1.dylib
.libs/info.o .libs/inf.o .libs/info_private.o .libs/vcd_read.o -all_load
../lib/.libs/libvcd.a -L/sw/lib /sw/lib/libiso9660.dylib
/sw/lib/libcdio.dylib -lm -Wl,--version-script=libvcdinfo.la.ver
-install_name /usr/local/lib/libvcdinfo.0.dylib -compatibility_version 1
-current_version 1.1
/usr/bin/libtool: unknown option character `-' in:
--version-script=libvcdinfo.la.ver
Usage: /usr/bin/libtool -static [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
[-noall_load]
make[2]: *** [libvcdinfo.la] Error 1
Cheers, Sebastian
--
Sebastian Hagedorn
Ehrenfeldgürtel 156, 50823 Köln, Germany
http://www.spinfo.uni-koeln.de/~hgd/
"Being just contaminates the void" - Robyn Hitchcock
pgpZoVlmp30Fp.pgp
Description: PGP signature
- [VCDImager Bugs/Devel] vcdimager 0.7.20 build problem under Mac OS X,
Sebastian Hagedorn <=