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. |
Wasn't there a Makefile extracted?
|
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.
|
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"
|
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 |
All times are GMT -5. The time now is 10:02 PM. |