No scsi/scsi_ioctl.h support on iPAQ.

Jean-Paul Saman jpsaman at wxs.nl
Wed Apr 3 22:45:15 CEST 2002


How can I distinguish in vlc between a iPAQ that has no support for
SCSI_IOCTL (#include <scsi/scsi_ioctl.h>) and normal linux. (guarded
with SYS_LINUX in intf_eject.c).???? Where to set an additional compiler
define?

arm-linux-gcc -finline-limit-30000 -Wall -Winline -pipe -DSYS_LINUX
-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE
-DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/videolan\"
-DPLUGIN_PATH=\"/usr/lib/videolan/vlc\"  -Iinclude -Iextras -D_REENTRANT
-D_GNU_SOURCE -DHAVE_RELEASE -O3 -ffast-math -funroll-loops
-fomit-frame-pointer -mcpu=strongarm1100  -c -o
src/interface/intf_playlist.o src/interface/intf_playlist.c
arm-linux-gcc -finline-limit-30000 -Wall -Winline -pipe -DSYS_LINUX
-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE
-DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/videolan\"
-DPLUGIN_PATH=\"/usr/lib/videolan/vlc\"  -Iinclude -Iextras -D_REENTRANT
-D_GNU_SOURCE -DHAVE_RELEASE -O3 -ffast-math -funroll-loops
-fomit-frame-pointer -mcpu=strongarm1100  -c -o
src/interface/intf_eject.o src/interface/intf_eject.c
src/interface/intf_eject.c:64: scsi/scsi_ioctl.h: No such file or
directory
src/interface/intf_eject.c: In function `EjectSCSI':
src/interface/intf_eject.c:189: `SCSI_IOCTL_SEND_COMMAND' undeclared
(first use in this function)
src/interface/intf_eject.c:189: (Each undeclared identifier is reported
only once
src/interface/intf_eject.c:189: for each function it appears in.)
make[1]: *** [src/interface/intf_eject.o] Error 1
make[1]: Leaving directory `/home/jpsaman/iPaq/vlc'
make: *** [build-stamp] Error 2

This stops me from cross-compiling vlc for iPaq. I could not track down
where SYS_LINUX is defined.

Greetings,
Jean-Paul Saman

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list