[DVDnav-discuss] re: removing autoshit stuff from dvdnav build system

sci-fi at hush.ai sci-fi at hush.ai
Sat Apr 21 07:34:00 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Fri, 20 Apr 2007 16:59:44 -0500 Nico Sabbi
<nicola_sabbi at fastwebnet.it> wrote:
> sci-fi at hush.ai wrote:
>
>> cd obj && gcc -shared -o libdvdnav.so dvdnav.so highlight.so
>> navigation.so read_cache.so remap.so searching.so settings.so
>> decoder.so vm.so vmcmd.so dvd_input.so dvd_reader.so dvd_udf.so
>> ifo_print.so ifo_read.so md5.so nav_print.so nav_read.so
>> powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
>> /usr/bin/ld: Undefined symbols:
>> _main
>> collect2: ld returned 1 exit status
>> make: *** [libdvdnav.so] Error 1
>> make: Leaving directory
>> `/Volumes/IBMama/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav'
>>
>> The Makefile coming from ./configure works just fine thru-out the
>> build, including tacking on the .dylib suffix (fwiw I use
>> libtool-1.5.23b which has quite a lot of badly needed darwin
fixes,
>> renamed to glibtool[ize] as what Fink does, so we don't step on
>> Apple's non-gnu libtool -- note that I don't use Fink for
anything
>> but "clues" when I get stuck building things right out of the
>> tarballs).
>>
>> Thanks...  :)
>
> please, post the output of the linking phase of the old configure

I hope this is the right snip:

[...]
/bin/sh ../libtool --tag=CC   --mode=link gcc  -O3 -Wall -
D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -Os -mpowerpc64 -
mcpu=970 -mtune=970 -mpowerpc-gpopt -mpowerpc-gfxopt -mmultiple -
mstring -mfused-madd -mpim-altivec -faltivec -maltivec -
mabi=altivec -floop-optimize2 -fbranch-target-load-optimize2 -Wall
- -version-info 5:0:1 -export-symbols-regex
"(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" -Wl,-read_only_relocs,warning  -
o libdvdnav.la -rpath /usr/local/lib dvdnav.lo read_cache.lo
navigation.lo highlight.lo searching.lo settings.lo remap.lo -
lpthread ../src/dvdread/libdvdread.la ../src/vm/libdvdvm.la
generating symbol list for `libdvdnav.la'
/usr/bin/nm -p  .libs/dvdnav.o .libs/read_cache.o
..libs/navigation.o .libs/highlight.o .libs/searching.o
..libs/settings.o .libs/remap.o  ../src/dvdread/.libs/libdvdread.a
.../src/vm/.libs/libdvdvm.a | sed -n -e 's/^.*[
]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-
9]*\)$/\1 _\2 \2/p' | /usr/local/bin/sed 's/.* //' | sort | uniq >
..libs/libdvdnav.exp
/usr/local/bin/grep -E -e "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)"
".libs/libdvdnav.exp" > ".libs/libdvdnav.expT"
mv -f ".libs/libdvdnav.expT" ".libs/libdvdnav.exp"
rm -fr .libs/libdvdnav.lax
mkdir .libs/libdvdnav.lax
rm -fr .libs/libdvdnav.lax/libdvdread.a
mkdir .libs/libdvdnav.lax/libdvdread.a
Extracting
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/dvdr
ead/.libs/libdvdread.a
(cd .libs/libdvdnav.lax/libdvdread.a && ar x
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/dvdr
ead/.libs/libdvdread.a)
rm -fr .libs/libdvdnav.lax/libdvdvm.a
mkdir .libs/libdvdnav.lax/libdvdvm.a
Extracting
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/vm/.
libs/libdvdvm.a
(cd .libs/libdvdnav.lax/libdvdvm.a && ar x
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/vm/.
libs/libdvdvm.a)
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," <
..libs/libdvdnav.exp > .libs/libdvdnav-symbols.expsym
gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
..libs/libdvdnav.4.1.0.dylib  .libs/dvdnav.o .libs/read_cache.o
..libs/navigation.o .libs/highlight.o .libs/searching.o
..libs/settings.o .libs/remap.o
..libs/libdvdnav.lax/libdvdread.a/dvd_input.o
..libs/libdvdnav.lax/libdvdread.a/dvd_reader.o
..libs/libdvdnav.lax/libdvdread.a/dvd_udf.o
..libs/libdvdnav.lax/libdvdread.a/ifo_print.o
..libs/libdvdnav.lax/libdvdread.a/ifo_read.o
..libs/libdvdnav.lax/libdvdread.a/md5.o
..libs/libdvdnav.lax/libdvdread.a/nav_print.o
..libs/libdvdnav.lax/libdvdread.a/nav_read.o
..libs/libdvdnav.lax/libdvdvm.a/decoder.o
..libs/libdvdnav.lax/libdvdvm.a/vm.o
..libs/libdvdnav.lax/libdvdvm.a/vmcmd.o   -lpthread  -mpowerpc64 -
mcpu=970 -mtune=970 -mpowerpc-gpopt -mpowerpc-gfxopt -mmultiple -
mstring -mfused-madd -mpim-altivec -maltivec -mabi=altivec -Wl,-
read_only_relocs -Wl,warning -install_name
/usr/local/lib/libdvdnav.4.dylib -Wl,-compatibility_version -Wl,6 -
Wl,-current_version -Wl,6.0
nmedit -s .libs/libdvdnav-symbols.expsym .libs/libdvdnav.4.1.0.dylib
(cd .libs && rm -f libdvdnav.4.dylib && ln -s libdvdnav.4.1.0.dylib
libdvdnav.4.dylib)
(cd .libs && rm -f libdvdnav.dylib && ln -s libdvdnav.4.1.0.dylib
libdvdnav.dylib)
rm -fr .libs/libdvdnav.lax
mkdir .libs/libdvdnav.lax
rm -fr .libs/libdvdnav.lax/lt1-libdvdread.a
mkdir .libs/libdvdnav.lax/lt1-libdvdread.a
Extracting
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/dvdr
ead/.libs/libdvdread.a
(cd .libs/libdvdnav.lax/lt1-libdvdread.a && ar x
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/dvdr
ead/.libs/libdvdread.a)
rm -fr .libs/libdvdnav.lax/lt2-libdvdvm.a
mkdir .libs/libdvdnav.lax/lt2-libdvdvm.a
Extracting
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/vm/.
libs/libdvdvm.a
(cd .libs/libdvdnav.lax/lt2-libdvdvm.a && ar x
/var/root/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src/../src/vm/.
libs/libdvdvm.a)
ar cru .libs/libdvdnav.a  dvdnav.o read_cache.o navigation.o
highlight.o searching.o settings.o remap.o  .libs/libdvdnav.lax/lt1-
libdvdread.a/dvd_input.o .libs/libdvdnav.lax/lt1-
libdvdread.a/dvd_reader.o .libs/libdvdnav.lax/lt1-
libdvdread.a/dvd_udf.o .libs/libdvdnav.lax/lt1-
libdvdread.a/ifo_print.o .libs/libdvdnav.lax/lt1-
libdvdread.a/ifo_read.o .libs/libdvdnav.lax/lt1-libdvdread.a/md5.o
..libs/libdvdnav.lax/lt1-libdvdread.a/nav_print.o
..libs/libdvdnav.lax/lt1-libdvdread.a/nav_read.o
..libs/libdvdnav.lax/lt2-libdvdvm.a/decoder.o
..libs/libdvdnav.lax/lt2-libdvdvm.a/vm.o .libs/libdvdnav.lax/lt2-
libdvdvm.a/vmcmd.o
ranlib .libs/libdvdnav.a
rm -fr .libs/libdvdnav.lax .libs/libdvdnav.lax
creating libdvdnav.la
(cd .libs && rm -f libdvdnav.la && ln -s ../libdvdnav.la
libdvdnav.la)
make[3]: Leaving directory
`/Volumes/IBMama/Projects/svn.mplayerhq.hu/dvdnav/libdvdnav/src'
[...]

now ain't all that crazy

-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wkYEARECAAYFAkYpokYACgkQZbt5KOxKrtS1WwCfTvHn+Z4uN6mu2iGOhAlRWqXVG5AA
n3rpp1xe6LY1c2YUiXvlNA0N+IpX
=nk9f
-----END PGP SIGNATURE-----

--
Want to work from home?  Study to become a certified medical transcriptionist at these schools.
http://tagline.hushmail.com/fc/CAaCXv1R3e3Et4teYCJcXgHMJA9XI0y9/





More information about the DVDnav-discuss mailing list