Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-26-2003, 12:56 AM   #1
Registered: Jul 2003
Distribution: HP-UX
Posts: 35

Rep: Reputation: 15
How to compile and execute Doom 1.10 source code


I am using RedHat 7.3 (GNOME)

I downloaded the source code(files) of Doom 1.10.

I compiled the C files using the command in bash as :

gcc *.c

Upon executing the above command I got a few errors and warnings. I managed to debug the errors but not the warnings.

I then generated the object files using :

gcc -c *.c ( This created files with the .o extension )

After the object files were generated I located the entry point of the program and used
the following command below:


However I am getting a message that binary files cannot be executed.

I tried using the Makefile present in the directory as follows:


But I am getting a large number of error messages.

Can anyone please tell me how to correctly compile and execute the source code of Doom 1.10. ?

Old 08-26-2003, 03:01 AM   #2
Registered: Aug 2003
Posts: 208

Rep: Reputation: 30
Post the errors, that should help us get to the bottom of the problem.
Was there a readme file with the source code that told you to do the above steps?


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
Anyone manage to compile the Quake 3 source code? black hole sun Linux - Games 14 01-09-2007 09:14 PM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 07:49 PM
how i compile a source code? nazib Linux - General 5 02-27-2005 09:13 AM
how to compile redhat 9.0 source code. wood Linux - General 5 09-16-2003 10:05 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 11:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration