Subject: Re: How to link a .o with all modules

From: Sam Ravnborg <[email-masked]>
Date: Mon, 5 May 2008 22:44:49 +0200

> >
> >
> >Let me know if this does address your question.
> 
> The problem is MODPOST complains about undefined symbols:
> 
>   MODPOST 24 modules
> ERROR: "_restgpr_20_x" [net/key/af_key.ko] undefined!
> ERROR: "_restgpr_25_x" [net/key/af_key.ko] undefined!
> ERROR: "_restgpr_30_x" [net/key/af_key.ko] undefined!

I need a bit more context to try to analyse this.
Where did you expect _restgpr_20_x to be defined.
If in vmlinux then were they present in the
Module.symvers file?

If in the linked in .o file - could you
see the symbols using objdump.

etc.

Sorry - not much help right away.

PS. Travelling - do not expect responses until the
weekend.

	Sam