Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"invalid suffix on integer constant" compiling modules for linux kernel RHEL3, CentOS 3. Kernel version is the latest for RHEL3/Cent OS 3. Occurs on many modules ie lp.c if module is compiled into kernel there is no error. Kernel version 2.4.21-63.
make: Entering directory `/usr/src/linux-2.4.21-63.EL/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-63.EL/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fno-delete-nu
ll-pointer-checks -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-
boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-63.
EL/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME
=hangcheck_timer -c -o hangcheck-timer.o hangcheck-timer.c
In file included from /usr/src/linux-2.4.21-63.EL/include/linux/spinlock.h:56,
/usr/src/linux-2.4.21-63.EL/include/asm/spinlock.h:9: invalid suffix on integer
/usr/src/linux-2.4.21-63.EL/include/asm/spinlock.h:9: syntax error before numeri
/usr/src/linux-2.4.21-63.EL/include/asm/spinlock.h:10: `printk_R_ver_str' declar
ed as function returning a function
/usr/src/linux-2.4.21-63.EL/include/asm/spinlock.h:10: warning: function declara
tion isn't a prototype
How do I get around this problem without making everything compile into the kernel, instead of a module?
Last edited by firstname.lastname@example.org; 09-22-2011 at 05:59 AM.
Reason: Add sample error, and question.