autorun compilation
hi
i try to compile autorun so that audio-cds or dvds are started directly without mounting them before.
but so far i was not able to compile it, as you can see from my error-output.
what do i make wrong? is there a debian package around?
i'm using 2.6.4 and try to compile autrun-3.10
any ideas?
thanks
marc
output:
epmode=gcc3 /bin/sh ./depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -c -o autorun.o `test -f 'autorun.cc' || echo './'`autorun.cc
source='cdrom.cc' object='cdrom.o' libtool=no \
depfile='.deps/cdrom.Po' tmpdepfile='.deps/cdrom.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -c -o cdrom.o `test -f 'cdrom.cc' || echo './'`cdrom.cc
In file included from /usr/include/linux/cdrom.h:14,
from cdrom.cc:29:
/usr/include/asm/byteorder.h:14: syntax error before `___arch__swab32'
/usr/include/asm/byteorder.h:28: syntax error before `___arch__swab64'
/usr/include/asm/byteorder.h:33: syntax error before `}' token
/usr/include/asm/byteorder.h:34: syntax error before `.' token
/usr/include/asm/byteorder.h:40: syntax error before `.' token
/usr/include/asm/byteorder.h:41: syntax error before `.' token
/usr/include/asm/byteorder.h:42: syntax error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:57,
from /usr/include/linux/cdrom.h:14,
from cdrom.cc:29:
/usr/include/linux/byteorder/swab.h:133: syntax error before `__fswab16'
/usr/include/linux/byteorder/swab.h:135: syntax error before `)' token
/usr/include/linux/byteorder/swab.h:146: syntax error before `__fswab32'
/usr/include/linux/byteorder/swab.h: In function `__u32 __swab32p(__u32*)':
/usr/include/linux/byteorder/swab.h:152: `___arch__swab32' undeclared (first
use this function)
/usr/include/linux/byteorder/swab.h:152: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/linux/byteorder/swab.h: At global scope:
/usr/include/linux/byteorder/swab.h:160: syntax error before `__fswab64'
/usr/include/linux/byteorder/swab.h: In function `__u64 __swab64p(__u64*)':
/usr/include/linux/byteorder/swab.h:172: `___arch__swab64' undeclared (first
use this function)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/home/metafor/mamadmin/autorun-3.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/metafor/mamadmin/autorun-3.10'
make: *** [all] Error 2
|