LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't compile 3c5x9setup program (https://www.linuxquestions.org/questions/linux-networking-3/can%27t-compile-3c5x9setup-program-13300/)

hubabuba 02-01-2002 12:42 PM

can't compile 3c5x9setup program
 
Hi

When i try to compile 3c5x9setup.c program, it does not compile it and gives out errors.
To compile i type:

cc -O -Wall -o 3c5x9setup 3c5x9setup.c

Errors i get:

3c5x9setup.c:1: parse error before '<'
3c5x9setup.c: In function 'main':
3c5x9setup.c:251: 'version_msg' undeclared (first use in this 3c5x9setup.c:251: function)
3c5x9setup.c:251: (Each undeclared identifier is reported only
3c5x9setup.c:251: once for each function it appears in.)
3c5x9setup.c: At top level:
3c5x9setup.c:537: parse error before '<'

Pleae help

Thanks beforehand

crabboy 02-01-2002 09:09 PM

Are you sure you downloaded the entire source file. It sounds like you only have part of it causing the parse errors. Take a look at the file and compare it to the file on beckers web site. www.scyld.com/...

The first line of my file, where you got your first error, is all comments. These should never cause errors.

Since your network card is not working, how did you get the file to the box?

If you still have problems compiling the file send me an email and I'll send you my binary executable.

DavidPhillips 02-01-2002 09:23 PM

What distro


you may need to do this

if it's redhat you will

ln -s /usr/src/linux-2.4 /usr/src/linux

hubabuba 02-02-2002 07:21 AM

...
 
I have Slack 8.0.

I've got winblows on my computer aswell, so that is how got the source.

Thanks


All times are GMT -5. The time now is 07:59 PM.