Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unrecognized option `-Wdeclaration-after-statement`
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Thu May 26, 2005 1:56 am    Post subject: unrecognized option `-Wdeclaration-after-statement` Reply with quote

I can't get any of the realtime-lsm version to compile. In both of them I get:
Code:
cc1: error: unrecognized option `-Wdeclaration-after-statement'

I have linux-2.6.11.

There's not any information on this. Even Google is useless.

Any clue would be appreciated.

edit:
Ok, found it. Had to turn sandbox off.

It still does not work tought:
Code:
 # modprobe -v realtime gid=28
insmod /lib/modules/2.6.11-mm4/extra/realtime.ko gid=28
FATAL: Error inserting realtime (/lib/modules/2.6.11-mm4/extra/realtime.ko): Invalid argument

_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
chuliomartinez
n00b
n00b


Joined: 25 Dec 2004
Posts: 30
Location: Event horizont

PostPosted: Mon May 30, 2005 1:58 pm    Post subject: Look at dmesg Reply with quote

You probably already done this, but maybe a look into dmesg would tell you that you compiled the kernel with a different version of gcc than the module. (or something like that). I had this kind of problem with nvidia driver update.
_________________
naked&dead
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum