Discussion:
Hmm weird: no longer can compile libdvdcss onto my GNU/Linux box
Xavier MAILLARD
2002-12-22 00:32:54 UTC
Permalink
Hi,

As said in the subject, I no longer can get libdvdcss compiled on my
box.

I try to do it this evening with a cvs shot up-to-date and here what I
have :

/usr/include/linux/limits.h:14: warning: this is the location of the previous definition
ioctl.c:271: #error "DVD ioctls are unavailable on this system"
ioctl.c:444: #error "DVD ioctls are unavailable on this system"
ioctl.c:608: #error "DVD ioctls are unavailable on this system"
ioctl.c:732: #error "DVD ioctls are unavailable on this system"
ioctl.c:866: #error "DVD ioctls are unavailable on this system"
ioctl.c:999: #error "DVD ioctls are unavailable on this system"

May someone help me to resolve that ?

I use a GNU/Linux Debian Sid box and It has always worked good
before. In fact I used to compile almost everyday for awhile now.

Cheers,

zeDek
--
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Sam Hocevar
2002-12-22 15:08:09 UTC
Permalink
Post by Xavier MAILLARD
As said in the subject, I no longer can get libdvdcss compiled on my
box.
Did you bootstrap?
Post by Xavier MAILLARD
/usr/include/linux/limits.h:14: warning: this is the location of the previous definition
This error is useless without the previous lines.
Post by Xavier MAILLARD
ioctl.c:271: #error "DVD ioctls are unavailable on this system"
If bootstrap doesn't help, could you please send the output of
bootstrap, configure and "grep '#' config.h" ?

Thanks,
--
Sam.
--
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Xavier MAILLARD
2002-12-22 22:15:54 UTC
Permalink
Post by Sam Hocevar
Post by Xavier MAILLARD
As said in the subject, I no longer can get libdvdcss compiled on my
box.
Did you bootstrap?
Yup sure :) But nothing went wrong with bootstrap.
Post by Sam Hocevar
Post by Xavier MAILLARD
/usr/include/linux/limits.h:14: warning: this is the location of the
previous definition
This error is useless without the previous lines.
Ok. I'll know for future bug reports. Here is the full compilation
process output:

,----
|
| cd . && /bin/sh /home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/missing --run autoheader
| touch ./config.h.in
| cd . && /bin/sh ./config.status config.h
| config.status: creating config.h
| config.status: config.h is unchanged
| make all-recursive
| make[1]: Entering directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel'
| Making all in src
| make[2]: Entering directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src'
| Making all in dvdcss
| make[3]: Entering directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src/dvdcss'
| make[3]: Rien à faire pour « all ».
| make[3]: Leaving directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src/dvdcss'
| make[3]: Entering directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src'
| source='libdvdcss.c' object='libdvdcss.lo' libtool=yes \
| depfile='.deps/libdvdcss.Plo' tmpdepfile='.deps/libdvdcss.TPlo' \
| depmode=gcc /bin/sh ../depcomp \
| /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c -o libdvdcss.lo `test -f 'libdvdcss.c' || echo './'`libdvdcss.c
| mkdir .libs
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c libdvdcss.c -Wp,-MD,.deps/libdvdcss.TPlo -fPIC -DPIC -o .libs/libdvdcss.lo
| In file included from libdvdcss.c:119:
| common.h:42: warning: redefinition of `int8_t'
| /usr/include/sys/types.h:191: warning: `int8_t' previously declared here
| common.h:44: warning: redefinition of `int32_t'
| /usr/include/sys/types.h:193: warning: `int32_t' previously declared here
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c libdvdcss.c -Wp,-MD,.deps/libdvdcss.TPlo -o libdvdcss.o >/dev/null 2>&1
| mv -f .libs/libdvdcss.lo libdvdcss.lo
| source='device.c' object='device.lo' libtool=yes \
| depfile='.deps/device.Plo' tmpdepfile='.deps/device.TPlo' \
| depmode=gcc /bin/sh ../depcomp \
| /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c -o device.lo `test -f 'device.c' || echo './'`device.c
| rm -f .libs/device.lo
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c device.c -Wp,-MD,.deps/device.TPlo -fPIC -DPIC -o .libs/device.lo
| In file included from device.c:57:
| common.h:42: warning: redefinition of `int8_t'
| /usr/include/sys/types.h:191: warning: `int8_t' previously declared here
| common.h:44: warning: redefinition of `int32_t'
| /usr/include/sys/types.h:193: warning: `int32_t' previously declared here
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c device.c -Wp,-MD,.deps/device.TPlo -o device.o >/dev/null 2>&1
| mv -f .libs/device.lo device.lo
| source='css.c' object='css.lo' libtool=yes \
| depfile='.deps/css.Plo' tmpdepfile='.deps/css.TPlo' \
| depmode=gcc /bin/sh ../depcomp \
| /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c -o css.lo `test -f 'css.c' || echo './'`css.c
| rm -f .libs/css.lo
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c css.c -Wp,-MD,.deps/css.TPlo -fPIC -DPIC -o .libs/css.lo
| In file included from css.c:54:
| common.h:42: warning: redefinition of `int8_t'
| /usr/include/sys/types.h:191: warning: `int8_t' previously declared here
| common.h:44: warning: redefinition of `int32_t'
| /usr/include/sys/types.h:193: warning: `int32_t' previously declared here
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c css.c -Wp,-MD,.deps/css.TPlo -o css.o >/dev/null 2>&1
| mv -f .libs/css.lo css.lo
| source='ioctl.c' object='ioctl.lo' libtool=yes \
| depfile='.deps/ioctl.Plo' tmpdepfile='.deps/ioctl.TPlo' \
| depmode=gcc /bin/sh ../depcomp \
| /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c -o ioctl.lo `test -f 'ioctl.c' || echo './'`ioctl.c
| rm -f .libs/ioctl.lo
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST -g -O2 -c ioctl.c -Wp,-MD,.deps/ioctl.TPlo -fPIC -DPIC -o .libs/ioctl.lo
| In file included from ioctl.c:92:
| common.h:76: warning: `PATH_MAX' redefined
| /usr/include/linux/limits.h:14: warning: this is the location of the previous definition
| ioctl.c:271: #error "DVD ioctls are unavailable on this system"
| ioctl.c:444: #error "DVD ioctls are unavailable on this system"
| ioctl.c:608: #error "DVD ioctls are unavailable on this system"
| ioctl.c:732: #error "DVD ioctls are unavailable on this system"
| ioctl.c:866: #error "DVD ioctls are unavailable on this system"
| ioctl.c:999: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1128: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1239: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1376: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1513: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1668: #error "DVD ioctls are unavailable on this system"
| ioctl.c:1795: #error "DVD ioctls are unavailable on this system"
| make[3]: *** [ioctl.lo] Erreur 1
| make[3]: Leaving directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src'
| make[2]: *** [all-recursive] Erreur 1
| make[2]: Leaving directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel/src'
| make[1]: *** [all-recursive] Erreur 1
| make[1]: Leaving directory `/home/zedek/usr/src/VIDEOLAN/libdvdcss_devel'
| make: *** [all] Erreur 2
`----
Post by Sam Hocevar
Post by Xavier MAILLARD
ioctl.c:271: #error "DVD ioctls are unavailable on this system"
If bootstrap doesn't help, could you please send the output of
bootstrap, configure and "grep '#' config.h" ?
NTS for bootstrap neither configure. Here is the grep output :
,----
|
| /* #undef DARWIN_DVD_IOCTL */
| /* #undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H */
| /* #undef DVD_STRUCT_IN_DVD_H */
| #define DVD_STRUCT_IN_LINUX_CDROM_H 1
| /* #undef DVD_STRUCT_IN_SYS_CDIO_H */
| /* #undef DVD_STRUCT_IN_SYS_DVDIO_H */
| /* #undef HAVE_BSD_DVD_STRUCT */
| #define HAVE_DLFCN_H 1
| /* #undef HAVE_DVD_H */
| #define HAVE_INTTYPES_H 1
| #define HAVE_LINUX_CDROM_H 1
| #define HAVE_LINUX_DVD_STRUCT 1
| #define HAVE_MEMORY_H 1
| /* #undef HAVE_OPENBSD_DVD_STRUCT */
| #define HAVE_STDINT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_STRING_H 1
| /* #undef HAVE_SYS_CDIO_H */
| /* #undef HAVE_SYS_DVDIO_H */
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* #undef HAVE_WINIOCTL_H */
| /* #undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H */
| /* #undef HPUX_SCTL_IO */
| #define PACKAGE "libdvdcss"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_NAME ""
| #define PACKAGE_STRING ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| /* #undef SOLARIS_USCSI */
| #define STDC_HEADERS 1
| /* #undef SYS_BEOS */
| /* #undef SYS_CYGWIN */
| #define VERSION "1.2.4"
| /* #undef const */
| /* #undef inline */
| /* #undef size_t */
`----
Post by Sam Hocevar
Thanks,
:)

Cheers,

zeDek
--
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Sam Hocevar
2002-12-22 22:42:25 UTC
Permalink
Post by Xavier MAILLARD
| common.h:76: warning: `PATH_MAX' redefined
common.h only has 75 lines in the libdvdcss CVS. If you did any local
modifications, I suggest you get rid of them. If not, then make sure you
do not have a spurious common.h file lying somewhere.
--
Sam.
--
This is the libdvdcss-devel mailing-list, see http://www.videolan.org/libdvdcss/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <***@videolan.org>
Loading...