LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Floating point exception


hello

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-07-2005, 12:49 AM   #2
foo_bar_foo
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:23 AM.

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