Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2003, 06:58 AM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake / Debian
Posts: 5

Rep: Reputation: 0
Mandrake kernel 2.4.21 compiling

Hi !

I just tried to kill a small keyboard.c bug at Toshiba notebooks. Compiling the kernel image was no problem. But making tthe modules is a REAL problem. Wetheer the the normal kernel, nor the *multimedia* kernel from Mandrake worked. There seems to be a bug (original kernel 2.4.21 worked fine!). So, who gots similiar problem and who knows a solution ?

> make modules
In file included from ac.c:26:
/usr/src/linux-2.4.21-0.16mm-mdk/include/linux/kernel.h:61: invalid suffix on integer constant
/usr/src/linux-2.4.21-0.16mm-mdk/include/linux/kernel.h:61: parse error before numeric constant
/usr/src/linux-2.4.21-0.16mm-mdk/include/linux/kernel.h:62: `panic_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-0.16mm-mdk/include/linux/kernel.h:62: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-0.16mm-mdk/include/linux/kernel.h:68: parse error before numeric constant

PS: Output doesn't depend from module. Turning off ACPI makes crashing the next module source.

kernel.h line 60 and following
extern struct notifier_block *panic_notifier_list;
NORET_TYPE void panic(const char * fmt, ...)
__attribute__ ((NORET_AND format (printf, 1, 2)));
asmlinkage NORET_TYPE void do_exit(long error_code)
NORET_TYPE void complete_and_exit(struct completion *, long)

Old 07-15-2003, 09:41 AM   #2
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake / Debian
Posts: 5

Original Poster
Rep: Reputation: 0
...found problem. If anyone gets same errors...don't use KControl for customizing your .config file for kernel compilation ! Make xconfig works fine. No errors left !


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling New Kernel in Mandrake Malice132 Mandriva 6 10-09-2004 12:21 PM
Help with kernel compiling under Mandrake Linux 8.1 RJARRRPCGP Linux - Newbie 5 08-27-2004 03:32 PM
Compiling kernel on Mandrake 9.2 vincebs Mandriva 2 04-04-2004 05:56 PM
compiling the kernel with mandrake 9.2 Zvi Linux - Software 1 12-03-2003 08:10 AM
Problems compiling 2.4.19 Kernel using Mandrake 8.2 Doalwa Linux - Newbie 9 09-01-2002 05:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration