[MPlayer-cygwin] undefined reference to `load_termcap' ?

Sascha Sommer saschasommer at freenet.de
Wed Jul 7 10:28:06 CEST 2004


On Wednesday 07 July 2004 09:44, mdew . wrote:
> I'm rather new to mingw, just trying to compile mplayer...it gets
> quiet far, but fails.
>
> gcc -I. -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe
> -ffa st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -DHAVE_ MPLAYER  -DSYS_LINUX -D__USE_UNIX98
> -D_REENTRANT -D_GNU_SOURCE -c -o nav_read.o nav_read.c
> ar rc libmpdvdkit.a css.o device.o dvd_input.o dvd_reader.o dvd_udf.o
> error.o if o_print.o ifo_read.o ioctl.o libdvdcss.o nav_print.o nav_read.o
> ranlib libmpdvdkit.a
> make[1]: Leaving directory `/c/mingw/main/libmpdvdkit2'
> windres -o osdep/mplayer-rc.o osdep/mplayer.rc
> gcc -I../libvo -I../../libvo  -O4 -march=pentium4 -mtune=pentium4 -pipe
> -ffast-m ath -fomit-frame-pointer -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -Ilibmpdemu x -Iloader -Ilibvo            -o
> mplayer.exe mplayer.o mp_msg.o cpudetect.o code c-cfg.o spudec.o playtree.o
> playtreeparser.o asxparser.o vobsub.o subreader.o su b_cc.o find_sub.o
> m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer .o
> parser-mpcmd.o osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a 
> vidix/libvid ix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a
> liba52/liba52.a libmpeg2/libmpeg 2.a   libaf/libaf.a
> libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale .a
> osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lz
> -ljpeg      -ltermcap  -lws2_32 -lwinmm        libfaad2/libfaad2.a   
> -lopen gl32 -lgdi32       -lws2_32                 -liconv -lintl -lm
> mplayer.o(.text+0x432f):mplayer.c: undefined reference to `load_termcap'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
>

./configure --disable-termcap
I don't know why your version of termcap doesn't export load_termcap, though.

Sascha




More information about the MPlayer-cygwin mailing list