[PATCH] libdvdnavmini depends on libdvdread
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch fixes the following error messages one might get when building libdvdnav on W32 using MinGW: libtool: link: gcc -shared .libs/libdvdnavmini-4.dll.def .libs/dvdnav.o .libs/read_cache.o .libs/navigation.o .libs/highlight.o .libs/searching.o .libs/settings.o .libs/remap.o -Wl,--whole-archive ../src/vm/.libs/libdvdvm.a -Wl,--no-whole-archive -O3 -march=i686 - -o .libs/libdvdnavmini-4.dll -Wl,--enable-auto-image-base -Xlinker - --out-implib -Xlinker .libs/libdvdnavmini.dll.a Creating library file: .libs/libdvdnavmini.dll.a.libs/dvdnav.o:dvdnav.c:(.text+0x27): undefined reference to `DVDCloseFile' .libs/dvdnav.o:dvdnav.c:(.text+0x3bc): undefined reference to `navRead_DSI' .libs/dvdnav.o:dvdnav.c:(.text+0x3ef): undefined reference to `navRead_PCI' .libs/dvdnav.o:dvdnav.c:(.text+0x556): undefined reference to `DVDOpenFile' .libs/dvdnav.o:dvdnav.c:(.text+0x60e): undefined reference to `DVDCloseFile' .libs/dvdnav.o:dvdnav.c:(.text+0xbb1): undefined reference to `DVDCloseFile' .libs/dvdnav.o:dvdnav.c:(.text+0xf1b): undefined reference to `DVDOpenFile' .libs/read_cache.o:read_cache.c:(.text+0xfa7): undefined reference to `DVDReadBlocks' .libs/read_cache.o:read_cache.c:(.text+0xff0): undefined reference to `DVDReadBlocks' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x990): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x99c): undefined reference to `ifoOpenVTSI' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x9ae): undefined reference to `ifoRead_VTS_PTT_SRPT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x9bc): undefined reference to `ifoRead_PGCIT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x9ce): undefined reference to `ifoRead_PGCI_UT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x9dc): undefined reference to `ifoRead_VOBU_ADMAP' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x9ee): undefined reference to `ifoRead_TITLE_VOBU_ADMAP' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xf33): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xf49): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xf5e): undefined reference to `DVDClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xfc3): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xfd9): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0xfee): undefined reference to `DVDClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x13d5): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x13eb): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1400): undefined reference to `DVDClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1418): undefined reference to `DVDOpen' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x142a): undefined reference to `ifoOpenVMGI' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x143d): undefined reference to `ifoRead_FP_PGC' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1450): undefined reference to `ifoRead_TT_SRPT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1463): undefined reference to `ifoRead_PGCI_UT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1476): undefined reference to `ifoRead_PTL_MAIT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1489): undefined reference to `ifoRead_VTS_ATRT' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x149c): undefined reference to `ifoRead_VOBU_ADMAP' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1792): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x1883): undefined reference to `ifoClose' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x4724): undefined reference to `ifoOpen' ../src/vm/.libs/libdvdvm.a(vm.o):vm.c:(.text+0x4731): undefined reference to `ifoClose -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPiEZgAAoJEOs4Jb6SI2CwmgMH/j2Cm7JKrQ6XdLmPBCU5f8gr mjPTKuUmxJ49t0Ps+yOi78yyRNMl+OnPyPl+IZY3B+0WoosmTp/UYE/6/s9KHgAE 4R7TKQc/Y81UhsFjqeiumnbnu8eJHx8lWtIfxSum1jhskeTxtY/rVBA502jPteO2 1CVl5gY63IlJ66KXo4bybMMLY1YRV5K48oHZqxV1ETwMWgCKFOPOSc0s8BxcfRO2 3mVTg+mNgDSh8Qx/IdOVVS/LEhgrqBE+TOqAV6i8ReQqBvi0RNXov2NwRq5RdHS4 1EmX/4CeDtHE/4DNvF/kg0HNHMORX16EWZK7mMUsk0ctaboEEfgChFlggjhC//0= =CTKO -----END PGP SIGNATURE-----
libtool: link: gcc -shared .libs/libdvdnavmini-4.dll.def .libs/dvdnav.o .libs/read_cache.o .libs/navigation.o .libs/highlight.o .libs/searching.o .libs/settings.o .libs/remap.o -Wl,--whole-archive ../src/vm/.libs/libdvdvm.a -Wl,--no-whole-archive -O3 -march=i686 - -o .libs/libdvdnavmini-4.dll -Wl,--enable-auto-image-base -Xlinker - --out-implib -Xlinker .libs/libdvdnavmini.dll.a Creating library file: .libs/libdvdnavmini.dll.a.libs/dvdnav.o:dvdnav.c:(.text+0x27): undefined reference to `DVDCloseFile'
I think I ran into this before... I haven't tried the patch it probably works well. I guess dvdnav has 2 "ways to configure" one is to just run "configure2" and the other "./autogen.sh" then configure? How does that fit with your experience? (does the problem occur just with the first). I'm all for it if it fixes that... -roger-
This patch fixes the following error messages one might get when building libdvdnav on W32 using MinGW:
I put this patch into my tree. It would be helpful if someone who develops or builds on Windows could give this patch a shot. Otherwise, I am highly likely to push the patch into svn. Thanks E -- Erik Hovland erik@hovland.org http://hovland.org/
I put this patch into my tree. It would be helpful if someone who develops or builds on Windows could give this patch a shot. Otherwise, I am highly likely to push the patch into svn.
I would test it if Mr. LRN would respond to my previous email...
participants (3)
-
Erik Hovland -
LRN -
Roger Pack