lkml.org 
[lkml]   [2003]   [Jul]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 30 Jul 2003 02:25:53 -0500 (EST)
FromAlex Goddard <>
SubjectRe: linux-2.6.0-test1 : modules not working
On Tue, 29 Jul 2003, Studying MTD wrote:

> I tried hello world example from
> http://lwn.net/Articles/21817/
> 
> but i am still getting :-
> 
> #insmod hello_module.o
> No module found in object
> Error inserting 'hello_module.o': -1 Invalid module
> format

[Snip]

'kay.  So modules are enabled and everything.  More specifically, I was 
after information such as the gcc options and stuff you used to compile 
hello_module.o

Check the second article at that URL, and try building your hello_module
with the basic Makefile it gives.  That uses the best way for building
external modules.  After building your kernel that way, try inserting the
hello_module.ko.

-- 
Alex Goddard
agoddard@purdue.edu
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:47    [from the cache]
©2003-2008