LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2002, 12:42 PM   #1
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Rep: Reputation: 30
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
 
Old 02-01-2002, 09:09 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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.
 
Old 02-01-2002, 09:23 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
What distro


you may need to do this

if it's redhat you will

ln -s /usr/src/linux-2.4 /usr/src/linux
 
Old 02-02-2002, 07:21 AM   #4
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
...

I have Slack 8.0.

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

Thanks
 
  


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
Compile program ust Linux - General 5 05-31-2004 04:37 PM
Compile Program mattp Linux - Newbie 4 03-09-2004 11:13 AM
Can't compile c++ program eg_wwkaa Programming 34 06-18-2003 08:59 PM
compile program Eddie9 Linux - General 1 05-21-2002 10:11 PM
can't compile 3c5x9setup program hubabuba Linux - Networking 3 01-30-2002 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 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