Here is the scenario, I have been using SME server for over a year on a couple of projects, but I still consider myself a Linux newbie. I am currently working on setting up a “network appliance” using a Via C3 mini ITX motherboard in a neat little box. I have SME 5.6 u4 installed. The system, when it is installed will have no keyboard or mouse. I have a test machine set up with dev-tools installed and I am trying to compile a module that I found through this list called powerswitch.
Original thread
http://forums.contribs.org/index.php?topic=7340.msg26796#msg26796This seems to indicate that the module has worked for someone.
From the readme file
“The powerswitch driver makes it possible to use the ATX power button on your computer to shutdown Linux. You simply press the power button, and the driver shuts down linux and powers off the machine, just like the shutdown command does.”
Now I have never compiled anything on a Linux box before, so this is all new to me. I followed the howto for dev-tools for 5.6 and they installed fine.
I extracted the files from powerswitch-1.4.tar.gz into a working directory.
Edited the Makefile to point to the kernel dir
Ran make install and produced powerswitch.o
Now this is where I get lost….
I think I have to run insmod powerswitch.o to load the module.
But I get 4 unresolved symbol errors when I do this.
powerswitch.o: unresolved symbol pm_register_Rsmp_027ebe5e
powerswitch.o: unresolved symbol printk_Rsmp_1b7d4074
powerswitch.o: unresolved symbol pm_unregister_Rsmp_94097bd6
powerswitch.o: unresolved symbol call_usermodehelper_Rsmp_84a291c8
Can anyone point me in the right direction, the readme says it requires linux 2.2.x or 2.4.x kernel, with power management support enabled, could this be my problem?
Any help greatly appreciated.