Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling on an SCO Openserver 5.0.7 . 1

Status
Not open for further replies.

jrward

MIS
Jan 22, 2003
14
0
0
CA
Hello,
I am attempting to compile a file to create a binery. This file is located at:
I have confirmed that all software packages are loaded on my SCO box but cannot seem get the required output. Any help would be much appreciated.
Thank you.
 
The SCO development package must be purchased separately.
However the SkunkWare CD contains the GNU compiler and libraries.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I did confirm that "GNU Development Tools", "Supplemental Graphics, Web and X11 Libraries" and "Linker and Application Device Library" was installed. I am able to run the command:
#gcc {Downloaded File}
I have checked the SCO site to confirm that these are the required packages. I have used both the .htm format that downloads as well as cutting and pasting to create a text file.
 
I am able to run the command:
#gcc {Downloaded File}

So, what is the problem ?
Have you read the man (or info) pages ?
What is your intent with this exploit program ?
 
Sorry,
I will try to explain what I am doing a little more clearly.
I am trying to complete an exercise outlined in an article called "Examining a Public Exploit" by Don Parker.
This is strictly for educational purposes.

The problem is that when I try to compile a copy of this RPC DCOM exploit it fails before creating the binary. I have downloaded a copy of the exploit then removed the html code by cutting and pasting. I am not sure if the problem is the file or the command I am using. The command I am using is:
#gcc file
Thank you,
JRWard
 
it fails before creating the binary
Any error message ?
Have you already successfully compiled/linked a program in your environment ?
 
I have never compiled/linked a program in this environment.
This is what I am seeing.

# gcc rpc
ERROR: cannot open file /* xfocus start */ for reading: No such file or directory
collect2: ld returned 1 exit status
#

If I remove the line "/* xfocus start */" then the error appears farther down the file.
 
Here is the error I see after deleting:
/* xfocus start */

# gcc rpc
ERROR: cannot open file unsigned char bindstr[]={ for reading: No such file or d
irectory
collect2: ld returned 1 exit status
#
 
First at all, be sure your development environment is properly installed by compiling/linking/testing a small program you wrote.
Then, if all OK, double check your downloaded file for any funny character :)set list in vi).

By the way: gcc rpc
Try to rename the source file to rpc.c

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top