LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2008, 06:12 AM   #1
jaycheng
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Unknown symbol __extendsfdf2 etc. when compiling a driver.


Hi all,

I am compiling a driver with gentoo linux 2.6.22. Follwoing is the error information which I can't get rid of. Although they are warnings when compiling, errors happen when I 'insmod' this bulit module.

I stopped by this for couples of weeks now, really appreciate all advices!

Thanks a lot!
following is what I've done and met---

cm-iglx Tracker # make
make -C /usr/src/linux M=/usr/src/Tracker
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r8'
Building modules, stage 2.
MODPOST 1 modules
WARNING: "__fixdfsi" [/usr/src/Tracker/TrackerDriver.ko] undefined!
WARNING: "__muldf3" [/usr/src/Tracker/TrackerDriver.ko] undefined!
WARNING: "__extendsfdf2" [/usr/src/Tracker/TrackerDriver.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r8'

cm-iglx Tracker # insmod TrackerDriver.ko
insmod: error inserting 'TrackerDriver.ko': -1 Invalid module format

cm-iglx Tracker # dmesg
TrackerDriver: Unknown symbol __extendsfdf2
TrackerDriver: Unknown symbol __fixdfsi
TrackerDriver: Unknown symbol __muldf3

Here is the Makefile:
#-----------------
obj-m := TrackerDriver.o

# KERNELDIR ?= /lib/modules/$(shell uname -r)/build
KERNELDIR = /usr/src/linux

PWD := $(shell pwd)

all:
$(MAKE) -C $(KERNELDIR) M=$(PWD)

clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
#------------------
 
Old 04-18-2011, 03:43 AM   #2
vickyqasim
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
Hi

This is Happening Because you are trying to do some floating point values. to get read of it use Inline assembly to get the correct result, use only FPU Instructions.
 
  


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
Unknown symbol unregister_framebuffer share.kt@gmail.com Linux - Kernel 2 10-14-2007 02:47 AM
Unknown symbol video_devdata etc....please help Parth Pathak Linux - Hardware 1 06-09-2007 12:15 PM
Unknown symbol __bad_spinlock_type sochatte Linux - Kernel 0 01-24-2007 11:20 PM
Unknown Symbol in module mdkusr Linux - Software 1 11-05-2006 01:10 AM
unknown symbol i2c_add_driver. What should I do? gkiagia Linux - Kernel 2 10-03-2006 04:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:10 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