This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot compile .ko, how can I use gcc-3.4.4 with glibc 2.3.5 built by crosstool to compile .ko module?


Roman wrote:
Hello,

I am trying to compile a module. I don't know how to make .ko file. All examples, i have seen are a little confusing.

I have tried to compile a very simple device driver.

The .o file I compile cannot be loaded into the kernel, because the format is wrong.
How can I compile a .ko file.


I read the faq http://www.faqs.org/docs/kernel/ , but it did not help either.

Thanks for reading

Try: http://lwn.net/Kernel/LDD3/

Look at Chapter 2.


David Daney


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]