[VCDImager Bugs/Devel] vcdimager 0.7.20 build problem under Mac OS X

Sebastian Hagedorn <[email protected]> Mon, 01 Mar 2004 00:16:32 +0100
Newsgroups gmane.comp.gnu.vcdimager.bugs
Message-ID <2147483647.1078100192@[192.168.1.11]>
--===============0042711771==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="==========20F2B5B102D6B9D77D92=========="

--==========20F2B5B102D6B9D77D92==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

the versioning scheme used in lib/Makefile.am breaks under Mac OS X,=20
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 :=3D $(shell expr $(libvcdinfo_la_CURRENT) -=20
$(libvcdinfo_la_AGE))

 libvcdinfo_la_DEPENDENCIES +=3D libvcdinfo.la.ver
-libvcdinfo_la_LDFLAGS +=3D -Wl,--version-script=3Dlibvcdinfo.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=20
.libs/info.o .libs/inf.o .libs/info_private.o .libs/vcd_read.o -all_load=20
../lib/.libs/libvcd.a  -L/sw/lib /sw/lib/libiso9660.dylib=20
/sw/lib/libcdio.dylib -lm -Wl,--version-script=3Dlibvcdinfo.la.ver=20
-install_name  /usr/local/lib/libvcdinfo.0.dylib -compatibility_version 1=20
-current_version 1.1
/usr/bin/libtool: unknown option character `-' in:=20
--version-script=3Dlibvcdinfo.la.ver
Usage: /usr/bin/libtool -static [-] file [...] [-filelist=20
listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist=20
listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]=20
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]=20
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table=20
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]=20
[-noall_load]
make[2]: *** [libvcdinfo.la] Error 1

Cheers, Sebastian
--
Sebastian Hagedorn
Ehrenfeldg=FCrtel 156, 50823 K=F6ln, Germany
http://www.spinfo.uni-koeln.de/~hgd/

"Being just contaminates the void" - Robyn Hitchcock
--==========20F2B5B102D6B9D77D92==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkBCctAACgkQGXsGmU0QW0VwUACdFZLdN3GElPkgaPRghtRSIGXv
QOgAoIpAMD6gJ1MDo+R9ymzYn0SWWPJm
=MaBs
-----END PGP SIGNATURE-----

--==========20F2B5B102D6B9D77D92==========--




--===============0042711771==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Bug-VCDImager mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-vcdimager

--===============0042711771==--