No scsi/scsi_ioctl.h support on iPAQ.

Jean-Paul Saman jpsaman at wxs.nl
Thu Apr 4 22:08:44 CEST 2002


Jean-Paul Saman wrote:
> 
> Christophe Massiot wrote:
> > À (At) 22:45 +0200 3/04/2002, Jean-Paul Saman écrivait (wrote) :
> >
> >
> >> 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?
> >
> >
> > Could you tell me if it now works ?
> >
> >
> > --
> >
> > Christophe Massiot.
> >
> 
> I'll try tonight

That bit works. It now complains about other header files:

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:45: linux/version.h: No such file or
directory
src/interface/intf_eject.c:60: linux/ucdrom.h: No such file or directory
make[1]: *** [src/interface/intf_eject.o] Error 1
make[1]: Leaving directory `/home/jpsaman/iPaq/vlc'
make: *** [build-stamp] Error 

The real problem is different.
The skiff toolchain comes with kernel header and userland headers for
2.2.14 kernel series. While we are building with features for 2.4.
(Forgetting functionality that is not available on an iPaq for the
moment.)



More information about the vlc-devel mailing list