-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not compile on debian #1
Comments
I've added an include for asm/io.h which should have the prototype for outb and resolve the compile error. You should also know that this module is really just a hack thrown together so I could learn. I hope it works for you but no guarantees! :) I don't still have mine lying around or else I would try to improve upon it. I'm a much better C programmer these days than when I wrote this. Anyway, hope you can at least get some blinky lights.. :) Take care. |
Hi, thanks a lot!! I'll try and give you a feedback. If it works i want to Regards
|
Howdy,
i've sucessfull compiled you hdd binary on debain (openmediavault (0.4.6 fedaykin)!
Then i've tried to compile your kernel module h340:
neither the Makefile wouldn't fit and an error occurred:
make -C /lib/modules/2.6.32-5-486/build M=/root/h340 modules
make[1]: Entering directory
/usr/src/linux-headers-2.6.32-5-486' CC [M] /root/h340/h340.o /root/h340/h340.c: In function ‘h340_run’: /root/h340/h340.c:76: error: implicit declaration of function ‘outb’ make[4]: *** [/root/h340/h340.o] Fehler 1 make[3]: *** [_module_/root/h340] Fehler 2 make[2]: *** [sub-make] Fehler 2 make[1]: *** [all] Fehler 2 make[1]: Leaving directory
/usr/src/linux-headers-2.6.32-5-486'make: *** [all] Fehler 2
Any suggestions?
kindly regards
Martin
The text was updated successfully, but these errors were encountered: