Unix Technical Forum

Difference between bindriver.o and bindriver.ko

This is a discussion on Difference between bindriver.o and bindriver.ko within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi everybody, Recently, I have been working with NICs and had to compile the drivers to work with and ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:34 PM
Marco A. Cruz Quevedo
 
Posts: n/a
Default Difference between bindriver.o and bindriver.ko

Hi everybody,

Recently, I have been working with NICs and had to compile the drivers
to work with and I found that make produces two files: <bindriver>.ko
and <bindriver>.o. The installation procedure mentioned that, in order
to use the card, (or whatever) it was necessary to do

insmod <bindriver>.ko

So, the <bindriver>.o was left over.

What is the .o file for? why i cannot insmod the .o, only the .ko file?

Regards

Marco

--------------------
Freedom is not a permission for chaos

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:34 PM
Bill Marcum
 
Posts: n/a
Default Re: Difference between bindriver.o and bindriver.ko

["Followup-To:" header set to comp.os.linux.setup.]
On 30 Aug 2006 08:45:07 -0700, Marco A. Cruz Quevedo
<macruzq@myway.com> wrote:
> Hi everybody,
>
> Recently, I have been working with NICs and had to compile the drivers
> to work with and I found that make produces two files: <bindriver>.ko
> and <bindriver>.o. The installation procedure mentioned that, in order
> to use the card, (or whatever) it was necessary to do
>
> insmod <bindriver>.ko
>
> So, the <bindriver>.o was left over.
>
> What is the .o file for? why i cannot insmod the .o, only the .ko file?
>

..o files are used to build the kernel and modules. Modules for the 2.6
kernel are .ko files.

--
Andrea's Admonition:
Never bestow profanity upon a driver who has wronged you.
If you think his window is closed and he can't hear you,
it isn't and he can.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com