LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What does this mean? (https://www.linuxquestions.org/questions/linux-software-2/what-does-this-mean-26037/)

mrsolo 07-18-2002 01:21 AM

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?

Mik 07-19-2002 03:00 AM

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.


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