All of lore.kernel.org
 help / color / mirror / Atom feed
* How to find "Unresolved Symbols"
@ 2005-09-15 12:47 Budde, Marco
  2005-09-15 14:16 ` linux-os (Dick Johnson)
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Budde, Marco @ 2005-09-15 12:47 UTC (permalink / raw)
  To: linux-kernel

Hi,

I am working on a larger kernel module.
This module will be based on a lot of
portable code, for which I have to implement
the OS depended code.

At the moment I can compile the complete
code into a module. Some of OS depended
code is still missing, but I do not get
any warnings from kbuild.

When I try to load the module, I can a really
strange error message:

 insmod: error inserting 'foo.o': -795847932 Function not implemented

What does that mean? How can I get a list
of missing symbols?

cu, Marco

-- 
telos EDV Systementwicklung GmbH


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find "Unresolved Symbols"
  2005-09-15 12:47 How to find "Unresolved Symbols" Budde, Marco
@ 2005-09-15 14:16 ` linux-os (Dick Johnson)
  2005-09-15 15:33 ` Fawad Lateef
  2005-09-15 16:33 ` Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: linux-os (Dick Johnson) @ 2005-09-15 14:16 UTC (permalink / raw)
  To: Budde, Marco; +Cc: linux-kernel


On Thu, 15 Sep 2005, Budde, Marco wrote:

> Hi,
>
> I am working on a larger kernel module.
> This module will be based on a lot of
> portable code, for which I have to implement
> the OS depended code.
>
> At the moment I can compile the complete
> code into a module. Some of OS depended
> code is still missing, but I do not get
> any warnings from kbuild.
>
> When I try to load the module, I can a really
> strange error message:
>
> insmod: error inserting 'foo.o': -795847932 Function not implemented
>
> What does that mean? How can I get a list
> of missing symbols?
>
> cu, Marco
>

Upgrade your module tools, probably also your build procedure.



Cheers,
Dick Johnson
Penguin : Linux version 2.6.13 on an i686 machine (5589.53 BogoMips).
Warning : 98.36% of all statistics are fiction.
.
I apologize for the following. I tried to kill it with the above dot :

****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find "Unresolved Symbols"
  2005-09-15 12:47 How to find "Unresolved Symbols" Budde, Marco
  2005-09-15 14:16 ` linux-os (Dick Johnson)
@ 2005-09-15 15:33 ` Fawad Lateef
  2005-09-15 16:33 ` Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Fawad Lateef @ 2005-09-15 15:33 UTC (permalink / raw)
  To: Budde, Marco; +Cc: linux-kernel

On 9/15/05, Budde, Marco <budde@telos.de> wrote:
> Hi,
> 
> I am working on a larger kernel module.
> This module will be based on a lot of
> portable code, for which I have to implement
> the OS depended code.
> 

Are you creating a module for multiple platforms or migrating an
existing one to new version ?? And what do u mean by OS dependent code
??? I think it might be Architecture dependent code !!!!

> At the moment I can compile the complete
> code into a module. Some of OS depended
> code is still missing, but I do not get
> any warnings from kbuild.
> 
> When I try to load the module, I can a really
> strange error message:
> 
>  insmod: error inserting 'foo.o': -795847932 Function not implemented
> 
> What does that mean? How can I get a list
> of missing symbols?
> 
> cu, Marco
> 

Plz tell which kernel version you are using and which distribution
!!!! b/c there is a probability that you distro might have old
modutils etc ......

-- 
Fawad Lateef

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find "Unresolved Symbols"
  2005-09-15 12:47 How to find "Unresolved Symbols" Budde, Marco
  2005-09-15 14:16 ` linux-os (Dick Johnson)
  2005-09-15 15:33 ` Fawad Lateef
@ 2005-09-15 16:33 ` Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2005-09-15 16:33 UTC (permalink / raw)
  To: Budde, Marco; +Cc: linux-kernel

On Thu, Sep 15, 2005 at 02:47:02PM +0200, Budde, Marco wrote:
> Hi,
> 
> I am working on a larger kernel module.
> This module will be based on a lot of
> portable code, for which I have to implement
> the OS depended code.
> 
> At the moment I can compile the complete
> code into a module. Some of OS depended
> code is still missing, but I do not get
> any warnings from kbuild.
> 
> When I try to load the module, I can a really
> strange error message:
> 
>  insmod: error inserting 'foo.o': -795847932 Function not implemented
> 
> What does that mean? How can I get a list
> of missing symbols?

How do you compile the module?
I you use:
make dir/file.ko
then kbuild will warn you about undefined symbols.
Here I assume you only use standard methods in your kbuild file, and do
not play funny tricks with vermagic etc.

	Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-15 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 12:47 How to find "Unresolved Symbols" Budde, Marco
2005-09-15 14:16 ` linux-os (Dick Johnson)
2005-09-15 15:33 ` Fawad Lateef
2005-09-15 16:33 ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.