Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-22-2001, 04:03 AM   #1
Registered: Apr 2001
Posts: 117

Rep: Reputation: 15


I installed redhat 7.0 on my Book PC which has 100/10 onboard network card. But, this card driver did not support linux. So, I downloaded the driver for Linux from

In its readme file, it requires me to comile the dmfe file in the following ways:

A. Compiler command:

A-1: For normal single processor kernel
"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c dmfe.c"

A-2: For single processor and enable kernel module version function
"gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c"

A-3: For multiple processors(SMP) and enable the module version function "gcc -D__SMP__ -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux /net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c"

I choose A-2 and type the following:

Shell> gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c

But, it returns:

bash: gcc: command not found.

B. How to compile driver

B-1: Login by supervisor
B-2: Copy dmfe.c and Makefile into your HD. You can make a new directoty to put.
B-3: Keep driver source file name as "dmfe.c" and makefile name as "Makefile"
B-4: You can type the following command to compile driver. Please according to your system to pick one.
make org ;;Without SMP & Set version info on module
make mod ;;Set version info on all module symbol
;;Redhat6.1/6.2, Mandrake6.1/7.1, Caldera2.3
make smp ;;symmetric multi-processing(SMP) support
;;make smp_mod;;SMP & Set version info on module

Or you can type above compiler command to compile driver.
Note: Please check you must have the right kernel source on "/usr/src/linux".

Actually, I don't know how to do B-4 above.
I just typed in
shell> make smp_mod

It returns

make: command not found

So, how can I compile the dmfe.c on redhat 7?

Thanks a lot

Old 04-29-2001, 04:45 AM   #2
LQ Newbie
Registered: Apr 2001
Posts: 3

Rep: Reputation: 0

i think this one will work

1st, command #lsmod to see if your network card is detected, then, command #insmod dfme.o , i think this is the driver your looking for, after that do ifconfig if card your is detected nd configured properly.


Old 07-24-2003, 01:51 PM   #3
LQ Newbie
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian, Slackware, RedHat
Posts: 7

Rep: Reputation: 0
Do you have gcc installed?

You should check if you have installed the C/C++ compiler gcc and egcs and also make. You should also be loged as root to perform any compilation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Scull Device Driver (problems to compile) manuzinhac Linux - Hardware 0 05-19-2005 10:00 AM
need help to compile r300 open source driver from e88z4 Linux - Software 1 03-03-2005 12:29 PM
Installing a device driver as a Module lehumphr Linux - Newbie 1 04-28-2004 12:31 AM
Trouble running make to compile example scull device driver taillefer Programming 3 03-23-2004 01:53 AM
Installing driver for Net Gear WG511 (wireless) tigoluxa Linux - Wireless Networking 2 01-25-2004 09:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 PM.

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