Opened 15 years ago

Closed 15 years ago

#1399 closed defect (fixed)

MPlayer does not compile with --disable-libdvdcss-internal

Reported by: borish@… Owned by: diego@…
Priority: important Component: build system
Version: HEAD Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I could not compile mplayer-export-2009-01-30 on FreeBSD 7.0 with gcc 4.2.1 when I disabled libdvdcss-internal:

/usr/src/mplayer-export-2009-01-30#./configure --disable-mencoder --disable-libdvdcss-internal && gmake install
...
libdvdread4/dvd_input.c:57:38: error: ../../msvc/contrib/dlfcn.c: No such file or directory
libdvdread4/dvd_input.c: In function 'dvdinput_setup':
libdvdread4/dvd_input.c:296: warning: implicit declaration of function 'dlopen'
libdvdread4/dvd_input.c:296: error: 'RTLD_LAZY' undeclared (first use in this function)
libdvdread4/dvd_input.c:296: error: (Each undeclared identifier is reported only once
libdvdread4/dvd_input.c:296: error: for each function it appears in.)
libdvdread4/dvd_input.c:296: warning: assignment makes pointer from integer without a cast
libdvdread4/dvd_input.c:305: warning: implicit declaration of function 'dlsym'
libdvdread4/dvd_input.c:324: warning: implicit declaration of function 'dlclose'
gmake: * [libdvdread4/dvd_input.o] Error 1

Change History (1)

comment:1 by diego@…, 15 years ago

op_sys: FreeBSDAll
rep_platform: PC (x86 with SSE)All
Resolution: fixed
Status: newclosed

I just committed a fix.

Note: See TracTickets for help on using tickets.