* Help building module for 2.6.0
@ 2003-11-26 23:05 Tim Kelsey
2003-11-26 23:14 ` Tim Kelsey
0 siblings, 1 reply; 4+ messages in thread
From: Tim Kelsey @ 2003-11-26 23:05 UTC (permalink / raw)
To: linux-kernel
ok im trying to build a kernel module (my first :) ) when i build it on a 2.4 box everything is fine when i build it on my laptop running 2.6.0-t10 it builds fine but when i try and insmod it i get
sh$ insmod ./hgn.o
insmod: error inserting './hgn.o': -1 Invalid module format
I have attached my Makefile. Please could some one tell me if this is due to the way i compile the module (my guess) or if it is likly caused by my code. Any pointers would be welcome.
Thnx for any help
Tim Kelsey
p.s. I know this is kind of like walking into a filharmonic auchestra with a waveing a tin drum :P so if there is a more apropriate place to post this kind of question pls let me know.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help building module for 2.6.0
2003-11-26 23:05 Help building module for 2.6.0 Tim Kelsey
@ 2003-11-26 23:14 ` Tim Kelsey
2003-11-26 23:20 ` Diego Calleja García
0 siblings, 1 reply; 4+ messages in thread
From: Tim Kelsey @ 2003-11-26 23:14 UTC (permalink / raw)
To: Tim Kelsey; +Cc: linux-kernel
On Wed, 26 Nov 2003 23:05:50 +0000
Tim Kelsey <tk@midnet.co.uk> wrote:
> ok im trying to build a kernel module (my first :) ) when i build it on a 2.4 box everything is fine when i build it on my laptop running 2.6.0-t10 it builds fine but when i try and insmod it i get
>
> sh$ insmod ./hgn.o
> insmod: error inserting './hgn.o': -1 Invalid module format
>
> I have attached my Makefile. Please could some one tell me if this is due to the way i compile the module (my guess) or if it is likly caused by my code. Any pointers would be welcome.
>
> Thnx for any help
> Tim Kelsey
>
>
> p.s. I know this is kind of like walking into a filharmonic auchestra with a waveing a tin drum :P so if there is a more apropriate place to post this kind of question pls let me know.
*blush* this time i even included the make file, *goes to find much needed coffee* (sorry about poor spelling)
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-26 23:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-26 23:05 Help building module for 2.6.0 Tim Kelsey
2003-11-26 23:14 ` Tim Kelsey
2003-11-26 23:20 ` Diego Calleja García
2003-11-26 23:32 ` Tim Kelsey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).