Re: Missing dha library

Thomas Plank <[email protected]>
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
Diego Biurrun ([email protected]) wrote:

> Hmmm, can you provide the log of the libdha directory as well?

I can provide it too:

make -C libdha
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/libdha'
gcc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o libdha.o libdha.c
libdha.c:1: warning: -fPIC ignored for target (all code is position independent)
In file included from libdha.c:36:
sysdep/libdha_win32.c:34:1: warning: "FILE_ANY_ACCESS" redefined
In file included from /usr/lib/../include/w32api/ddk/ntddk.h:76,
                 from sysdep/libdha_win32.c:8,
                 from libdha.c:36:
/usr/lib/../include/w32api/ddk/winddk.h:273:1: warning: this is the location of the previous definition
In file included from libdha.c:36:
sysdep/libdha_win32.c:35:1: warning: "CTL_CODE" redefined
In file included from /usr/lib/../include/w32api/ddk/ntddk.h:76,
                 from sysdep/libdha_win32.c:8,
                 from libdha.c:36:
/usr/lib/../include/w32api/ddk/winddk.h:1037:1: warning: this is the location of the previous definition
In file included from libdha.c:36:
sysdep/libdha_win32.c: In function 'map_phys_mem':
sysdep/libdha_win32.c:85: warning: assignment makes pointer from integer without a cast
gcc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o mtrr.o mtrr.c
mtrr.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o pci.o pci.c
pci.c:1: warning: -fPIC ignored for target (all code is position independent)
LC_ALL=C gawk -f pci_db2c.awk oth/pci.db
Total lines parsed: 7006
gcc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o pci_names.o pci_names.c
pci_names.c:1: warning: -fPIC ignored for target (all code is position independent)
In file included from pci_names.c:7:
pci_dev_ids.c:1622:18: warning: trigraph ??) ignored, use -trigraphs to enable
pci_names.c:1577:23: warning: trigraph ??) ignored, use -trigraphs to enable
gcc -shared -Wl,-soname -Wl,libdha.so -o libdha.so libdha.o mtrr.o pci.o pci_names.o 
ln -sf libdha.so libdha.so.1.0
ln -sf libdha.so libdha.so.1
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libdha'
make -C vidix
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix'
gcc -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o vidixlib.o vidixlib.c
ar r libvidix.a vidixlib.o
ar: creating libvidix.a
ranlib libvidix.a
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix'
make -C vidix/drivers
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix/drivers'
gcc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/local/include/freetype2 -I/usr/local/include   -c -o cyberblade_vid.o cyberblade_vid.c
cyberblade_vid.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so
/usr/bin/ld: cannot find -ldha
collect2: ld returned 1 exit status
make[1]: *** [cyberblade_vid.so] Error 1
rm cyberblade_vid.o
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/vidix/drivers'
make: *** [vidix/libvidix.a] Error 2

-- 
mfg Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.