[MPlayer-users] mplayer on FreeBSD 8.1 amd64
Antonio Olivares
olivares14031 at yahoo.com
Thu Jul 29 05:57:48 CEST 2010
--- On Wed, 7/28/10, Jerry <mplayer.user at seibercom.net> wrote:
> From: Jerry <mplayer.user at seibercom.net>
> Subject: Re: [MPlayer-users] mplayer on FreeBSD 8.1 amd64
> To: MPlayer-users at mplayerhq.hu
> Date: Wednesday, July 28, 2010, 5:41 PM
> On Wed, 28 Jul 2010 11:11:05 -0700
> (PDT)
> Antonio Olivares <olivares14031 at yahoo.com>
> articulated:
>
> > Dear folks,
> >
> > I went to mplayer website and got the latest snapshot
> svn
> >
> > 2010-07-28. Tried to compile, but got
> errors. On FreeBSD 8.1, I
> > used make, but get errors, how do I go around
> those errors?
> >
> > http://pastebin.com/raw.php?i=STNUG40M
> >
> > or
> >
> > http://pastebin.com/RknFN5rs
> >
> > whichever one works?
> >
> > gmake is not on FreeBSD 8.1?, should I install it and
> try it?
>
> Why don't you just install the ports version:
>
> /usr/ports/multimedia/mplayer
>
> Be sure to run "make config" before building the port.
>
> --
> Jerry ✌
> MPlayer.user at seibercom.net
>
narrowed it down to libdvdcss/ioctl.c
cc -MMD -MF libdvdcss/ioctl.d -MT libdvdcss/ioctl.o -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/schroedinger-1.0 -I/usr/local/include/orc-0.4 -c -o libdvdcss/ioctl.o libdvdcss/ioctl.c
libdvdcss/ioctl.c: In function 'ioctl_ReadCopyright':
libdvdcss/ioctl.c:161: error: storage size of 'dvd' isn't known
libdvdcss/ioctl.c:164: error: 'DVD_STRUCT_COPYRIGHT' undeclared (first use in this function)
libdvdcss/ioctl.c:164: error: (Each undeclared identifier is reported only once
libdvdcss/ioctl.c:164: error: for each function it appears in.)
libdvdcss/ioctl.c:167: error: 'DVDIOCREADSTRUCTURE' undeclared (first use in this function)
libdvdcss/ioctl.c:161: warning: unused variable 'dvd'
libdvdcss/ioctl.c: In function 'ioctl_ReadDiscKey':
libdvdcss/ioctl.c:304: error: storage size of 'dvd' isn't known
libdvdcss/ioctl.c:307: error: 'DVD_STRUCT_DISCKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:311: error: 'DVDIOCREADSTRUCTURE' undeclared (first use in this function)
libdvdcss/ioctl.c:304: warning: unused variable 'dvd'
libdvdcss/ioctl.c: In function 'ioctl_ReadTitleKey':
libdvdcss/ioctl.c:472: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:475: error: 'DVD_REPORT_TITLE_KEY' undeclared (first use in this function)
libdvdcss/ioctl.c:479: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:472: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_ReportAgid':
libdvdcss/ioctl.c:637: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:640: error: 'DVD_REPORT_AGID' undeclared (first use in this function)
libdvdcss/ioctl.c:643: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:637: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_ReportChallenge':
libdvdcss/ioctl.c:759: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:762: error: 'DVD_REPORT_CHALLENGE' undeclared (first use in this function)
libdvdcss/ioctl.c:765: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:759: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_ReportASF':
libdvdcss/ioctl.c:893: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:896: error: 'DVD_REPORT_ASF' undeclared (first use in this function)
libdvdcss/ioctl.c:899: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:893: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_ReportKey1':
libdvdcss/ioctl.c:1026: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1029: error: 'DVD_REPORT_KEY1' undeclared (first use in this function)
libdvdcss/ioctl.c:1032: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1026: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_InvalidateAgid':
libdvdcss/ioctl.c:1153: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1156: error: 'DVD_INVALIDATE_AGID' undeclared (first use in this function)
libdvdcss/ioctl.c:1159: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1153: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_SendChallenge':
libdvdcss/ioctl.c:1266: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1269: error: 'DVD_SEND_CHALLENGE' undeclared (first use in this function)
libdvdcss/ioctl.c:1274: error: 'DVDIOCSENDKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1266: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_SendKey2':
libdvdcss/ioctl.c:1403: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1406: error: 'DVD_SEND_KEY2' undeclared (first use in this function)
libdvdcss/ioctl.c:1411: error: 'DVDIOCSENDKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1403: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_ReportRPC':
libdvdcss/ioctl.c:1545: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1548: error: 'DVD_REPORT_RPC' undeclared (first use in this function)
libdvdcss/ioctl.c:1550: error: 'DVDIOCREPORTKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1545: warning: unused variable 'auth_info'
libdvdcss/ioctl.c: In function 'ioctl_SendRPC':
libdvdcss/ioctl.c:1697: error: storage size of 'auth_info' isn't known
libdvdcss/ioctl.c:1700: error: 'DVD_SEND_RPC' undeclared (first use in this function)
libdvdcss/ioctl.c:1703: error: 'DVDIOCSENDKEY' undeclared (first use in this function)
libdvdcss/ioctl.c:1697: warning: unused variable 'auth_info'
gmake: *** [libdvdcss/ioctl.o] Error 1
[olivares@ /usr/home/olivares/Downloads/mplayer-checkout-2010-07-28]$
Suggestions/advice/ are greatly appreciated.
Regards,
Antonio
More information about the MPlayer-users
mailing list