LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-17-2003, 12:49 AM   #1
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
D-Link driver compile -> billions of errors


Hi,

I am trying to compile rtl8139.c so I cna use my D-Link card. However, when I try to compile it using the given compile command, I get these errors. I don't have a clue as to where to start trying to fix them. Anyone have any ideas?

Oh, one more thing, I've seen a lot of posts that say rtl8139.o is included with the distro, but mine doesn't seem to have it (Slack 8.1; 2.4.21).
 
Old 07-18-2003, 03:24 AM   #2
prai
LQ Newbie
 
Registered: Jul 2003
Location: India
Distribution: redhat
Posts: 11

Rep: Reputation: 0
compile the code as below
gcc -c -DMODULE -D__KERNEL__ -o -Wall -I /usr/src/linux-xxx/include rtl8139.c
I feel u wont have any problem. use -I option with proper linux kernel version. The rtl8139.o will be in the module dir.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile D-Link DFE530TX network card driver in RH Linux 7.3 zy101 Linux - Hardware 6 04-25-2008 08:16 AM
D-Link DFE-528TX driver compile problem. Mee Linux - Networking 2 01-07-2005 05:19 PM
errors when trying to compile hsf driver cornfed Linux - Software 2 05-02-2004 09:31 AM
Driver compile parse errors Livia Linux - General 1 02-18-2004 09:25 AM
Nvidia driver compile errors acidream Linux - General 8 02-19-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration