Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-06-2005, 12:13 AM   #1
LQ Newbie
Registered: Jun 2004
Location: bangalore
Posts: 9

Rep: Reputation: 0
Floating point exception


i have written sample driver

i compiled with gcc 3.2.3
kernel : linux-2.4.22
hardware: i686(p4, 2.8 ghz with HT )

gcc -c -O3 -W -Wall -Wstrict-prototypes -fomit-frame-pointer mydriver.o -isystem /lib/modules/
2.4.22/build/include -DLINUX

it compiled with out any error
i was able insmod mydriver.o

but when tried using strip command

strip -s mydriver.o

insmod mydriver.o
Floating point exception

it is giving this error , why is it

thanks in advance
Old 05-06-2005, 11:49 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
in a nut shell --strip-all destroys libraries and objects and is only meant for binary executables
could it be that stripping has removed/moved or otherwise destroyed the object/symbol references ??
not really willing to destroy something to find out

you might be able to get away with --strip-debug on libs but i would just leave kernel modules alone


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
LILO 'Floating point Exception' error? fallout Slackware 17 07-27-2006 01:03 PM
Floating point exception problem with realplayer jasmeet93 Linux - Software 0 06-30-2005 07:44 AM
Floating point exception error while starting parted drdosman Linux - Software 1 10-27-2004 11:11 AM
Depmod -> floating point exception Wynd Linux - General 0 06-26-2004 08:21 PM
[Kingpin] Floating Point Exception SiQDiZ Linux - Games 1 06-14-2004 02:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration