Computing.Net > Forums > Linux > Using a network card under linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Using a network card under linux

Reply to Message Icon

Name: Android
Date: April 19, 2002 at 19:45:20 Pacific
Comment:

Hi, I bought a Linksys etherfast 10/100 lan card, it says on the box that it works under linux but when I try to compile the modules so that I can install it in linux the compilation process fails,to compile it I type gcc -DMODULE -D__KERNEL__ -O6 -c tulip.c -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h

this is the message I get:
tulip.c:1091: undetermined character constant
tulip.c:1094: undetermined character constant
tulip.c:1095: undetermined character constant
tulip.c:1099: undetermined character constant
tulip.c:1101: undetermined character constant
tulip.c:1107: undetermined character constant
tulip.c:1108: undetermined character constant
tulip.c:1110: undetermined character constant
tulip.c:1117: undetermined character constant
tulip.c:1120: undetermined character constant
tulip.c:1154: undetermined character constant
tulip.c:1155: undetermined character constant
tulip.c:1165: undetermined character constant
tulip.c:1177: undetermined character constant
tulip.c:2880: undetermined string or character constant
tulip.c:1092: possible real start of undetermined character constant

I am using Vector-Linux 2.0, kernel 2.4, gcc version 2.95.3

Please help, thanks people



Sponsored Link
Ads by Google

Response Number 1
Name: Kenan Bektas
Date: April 19, 2002 at 21:46:27 Pacific
Reply:

Hard to say magic words.

Try those:

-compile it with g++
-upgrade gcc. The current verion is 3.03...
you may be missin to declare a library for gcc. Use -l (lowercase L) option.

In addition, even if you compile it successfully you may get some other issues.
Read the Ethernet-Howto.
There are some notes for Tulip.

-Kenan


0

Response Number 2
Name: Cao The Anh
Date: June 28, 2002 at 01:44:06 Pacific
Reply:

I setup a Network Card in Red Hat Linux 7.1 In Netconf i put enough information then save and active the change but the network not work..I'm looking for the command to setup IP Address for Card manual ..So You can help me ???


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


msn for linux Lindows



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Using a network card under linux

RH 9.0 Installing a network card www.computing.net/answers/linux/rh-90-installing-a-network-card-/24490.html

How do we mount a network drive??? www.computing.net/answers/linux/how-do-we-mount-a-network-drive/18943.html

Wireless linux help needed? www.computing.net/answers/linux/wireless-linux-help-needed/12908.html