[MPlayer-cygwin] Missing dha library

Diego Biurrun diego at biurrun.de
Thu Mar 29 06:46:07 CEST 2007


On Thu, Mar 29, 2007 at 12:29:47AM +0200, Jakob Knudsen wrote:
> I am using gcc version 3.4.4 on windows 2000 to compile mplayer under
> cygwin. After a clean check out of the sources
> the compilation fails due to a missing dha library.
> 
> The last lines of the compile are:
> ============================================================
> make[1]: Entering directory
> `/cygdrive/e/installation/mplayer/mplayer/vidix/drivers'
> cc -fPIC -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I.  -I..
> -I../libavutil -O4 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer
> -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/freetype2   -c -o
> cyberblade_vid.o cyberblade_vid.c
> cyberblade_vid.c:1: warning: -fPIC ignored for target (all code is position independent)
> cc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/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/e/installation/mplayer/mplayer/vidix/drivers'
> make: *** [vidix/libvidix.a] Error 2
> ========================================================
> 
> The libdha directory is where it should be and compiled just fine. Can
> anybody shed some light on the situation?

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

Diego



More information about the MPlayer-cygwin mailing list