LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2007, 12:16 PM   #1
Lerocknock
Member
 
Registered: May 2007
Posts: 30

Rep: Reputation: 15
cdemu problem


Im trying to get cdemu to work I get this error

Makefile:31 *** You'll need sources for your (at least 2.6.16) kernel. Stop.

I dont know what to do with this error can someone please tell me how to fix this so I can install cdemu thanks.

Im using FC6.
 
Old 08-21-2007, 02:47 PM   #2
Lerocknock
Member
 
Registered: May 2007
Posts: 30

Original Poster
Rep: Reputation: 15
ok I installed the headers for the kernel I did yum install kernel-devel but now it gives me this error

ke[1]: Entering directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
CC [M] /home/a/cdemu-0.8/cdemu_mod.o
/home/a/cdemu-0.8/cdemu_mod.c: In function ‘cdemu_exit’:
/home/a/cdemu-0.8/cdemu_mod.c:198: error: too many arguments to function ‘invalidate_bdev’
make[2]: *** [/home/a/cdemu-0.8/cdemu_mod.o] Error 1
make[1]: *** [_module_/home/a/cdemu-0.8] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
make: *** [default] Error 2
 
Old 08-21-2007, 06:03 PM   #3
Lerocknock
Member
 
Registered: May 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Ive been searching in google and there is nothing I can find to help me install cdemu can anyone suggest any other program I can use thats like cdemu. I just want to use .cue and iso images.
 
Old 08-21-2007, 10:45 PM   #4
buffbear
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Please try to change

Quote:
invalidate_bdev(vc->bdev, 1);
on line:198 in cdemu_mod.c file to

invalidate_bdev(vc->bdev);


and compile the program again.
 
Old 08-22-2007, 09:33 AM   #5
Lerocknock
Member
 
Registered: May 2007
Posts: 30

Original Poster
Rep: Reputation: 15
I get this error now

make[1]: Entering directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
Building modules, stage 2.
MODPOST 1 modules
WARNING: "generic_file_read" [/home/a/cdemu-0.8/cdemu.ko] undefined!
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'

Last edited by Lerocknock; 08-22-2007 at 09:38 AM.
 
Old 08-23-2007, 02:25 AM   #6
buffbear
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
please visit this link

http://forums.gentoo.org/viewtopic-p...a82ebb89245074

you also have to replace generic_file_read() in cdemu_core.c with do_sync_read().
 
  


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
Mounting .BIN/.CUE with cdemu (error installing cdemu) bonniehandi Linux - Software 0 12-22-2005 02:40 AM
Cdemu =.='' Elbryan Linux - Software 1 05-15-2005 05:34 PM
Gentoo cdemu bin cue iso emulation install problem khermans Linux - Software 1 08-02-2004 11:32 AM
CDemu Problem mrgrieves Linux - Software 3 07-22-2004 03:06 AM
problem with cdemu keevitaja Linux - General 0 02-28-2004 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:25 PM.

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