Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First attempt to make the legacy app build.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Building the Legacy Server | ||
|
||
In order to make the game server build, I had to follow the author's instructions: | ||
|
||
``` | ||
/* This program compiles for Sparc Solaris 2.6. | ||
* To compile for Linux: | ||
* 1) Comment out the #include <pthread.h> line. | ||
* 2) Comment out the line that defines the variable newthread. | ||
* 3) Comment out the two lines that run pthread_create(). | ||
* 4) Uncomment the line that runs accept_request(). | ||
* 5) Remove -lsocket from the Makefile. | ||
*/ | ||
``` | ||
|
||
However, these instructions seemed to be out of date; there are not two occurances | ||
of `pthread_create`, and the server does not work with these modifications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters