[DVDnav-discuss] [PATCH] libdvdnavmini depends on libdvdread
LRN
lrn1986 at gmail.com
Fri Apr 13 17:29:37 CEST 2012
-----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-----
-------------- next part --------------
--- libdvdnav-4.2.0/src/Makefile.am.orig 2012-04-13 18:58:11 +0400
+++ libdvdnav-4.2.0/src/Makefile.am 2012-04-13 19:00:18 +0400
@@ -28,7 +28,8 @@
libdvdnavmini_la_SOURCES = $(libdvdnav_la_SOURCES)
libdvdnavmini_la_LIBADD = $(THREAD_LIBS) \
- $(top_builddir)/src/vm/libdvdvm.la
+ $(top_builddir)/src/vm/libdvdvm.la \
+ -ldvdread
libdvdnavmini_la_LDFLAGS = $(libdvdnav_la_LDFLAGS)
More information about the DVDnav-discuss
mailing list