LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2005, 09:41 AM   #1
mcharr01
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
using scanport.tar.gz


I am having problems doing some basic things in LINUX. I trying to install two old ISA/EISA network cards. I using RedHat 7.0 and it did not detect them. I am was directed to download scanport.tar.gz so that I could scan the I/O addresses so that I could manually configure the NICs. I downloaded the said files and was able to use the gzip command and the tar command to extract the files. When the files were extracted their were two files named inb.c and scanport.c in the /src directory. Obviously (sp?) these are in C and need to be compiled using gcc?
I did that and gcc give some warnings and some implicit declaration notifications.
here is what I type: gcc -s -Wall -O2 scanport.c -o scanport2
after doing this I was thinking I could just type "scanport2" and the program would execute, but this is not the case. The "scanport2" filename does not even exist. Anybody out there with any ideas to help me.
 
Old 11-08-2005, 09:43 AM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Wasn't there a Makefile extracted?
 
Old 11-08-2005, 09:45 AM   #3
mcharr01
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
just read the sticky thread for newbies. I had read it before, but I guess I did not pay attention. Sorry about the previous post if you all think my answer it contained in that sticky thread.
 
Old 11-08-2005, 10:01 AM   #4
mcharr01
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
merchtemeagle there was not any makefile extracted. When I go thru the instructions on the sticky thread, I can't execute the "./configure" command and when I type in "make" the shell reports back "No targets specified and no makefile found"
 
Old 11-08-2005, 12:50 PM   #5
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Were there any actual error outputs from the compiler (as opposed to warnings) that seemed to say that the compile could not be finished and the output could not be created? Otherwise, you should definitely have some kind of file called scanport2, even if it's riddled with bugs.

It sounds like your problems could be caused by permissions. When a file's created it won't be executable by default; you'll have to run the chmod command on it (e.g. "chmod +x filename") before you can execute it. In addition, the current directory isn't in the path by default in Linux, so you'd have to run "./scanport2" to run your file.

If these don't work, can you show the output of "ls -l" in the directory you compiled in.

HTH,
Andrzej
 
  


Reply


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 11:55 AM
Scanport SQ 2030, Mandrake is not picking it up webwolf70 Linux - Hardware 2 11-29-2004 07:51 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 07:30 AM


All times are GMT -5. The time now is 11:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration