LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-21-2004, 01:50 PM   #1
mrc
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 04-29-2004, 04:44 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Is this a kernel module? If so, you have to compile it against the kernel headers you are using.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autorun CD sureshkellemane Linux - Newbie 5 03-17-2005 08:04 PM
autorun apokryphos Linux - General 5 10-11-2004 10:43 AM
CD with Autorun Insomnia Linux - General 2 05-26-2004 07:19 AM
cd autorun Daem0hn Linux - General 1 07-22-2003 06:22 AM
cd autorun Daem0hn Linux - General 0 07-22-2003 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration