LinuxQuestions.org
Help answer threads with 0 replies.
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 07-18-2002, 02:21 AM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
What does this mean?


I am trying to get my modules for my kernel to compile so that I can use what I need to use as modules. Whenever I try to do 'make modules', I get this common error:

boot_cpu_data_R0657d037 undeclared (first use in this function)

What does this mean. I am also trying to compile the four modules that will make my dxr3/Hollywood decoder card to work and I get the same errors there as well. Is there something I need to enable in the configuration menu?
 
Old 07-19-2002, 04:00 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Usually that means you aren't including the proper header file in the module. How are you compiling the modules? Usually when you compile a seperate module you would do something like this:

- Copy the source files to /usr/src/modules
- Run "gcc -DMODULE -D__KERNEL__ -O6 -c module.c"
- To test it run "insmod module.o"
- Run "install -m 644 module.o /lib/modules/`uname -r`/net"

There should be instructions that came with the module on how to compile it if it needs anything special.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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




All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration