Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ Some help instant crash on make

Some help instant crash on make

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Gojulus   (3 posts)  Bio
Date Wed 01 Dec 2004 04:00 PM (UTC)
Message
$ make
gcc -c -pipe -Wall -02 -ggdb act_comm.c
make: gcc: Comamnd not found
make *** [act_comm.o] Error 127
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 01 Dec 2004 04:36 PM (UTC)
Message
It's not finding gcc. Either you don't have it on your path or it's simply not installed.

What are your version/OS/computer/etc.?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Gojulus   (3 posts)  Bio
Date Reply #2 on Wed 01 Dec 2004 06:39 PM (UTC)
Message
Im running windows xp and using cygwin But that worked downloading gcc but now i've encounted another problem

gcc -c -pipe -Wall -02 -ggdb db.c
db.c:30 error: conflicting types of 'srandom'
/usr/include/stdlib.h:184: error: previous declaration of 'srandom'
make: *** [db.o] Error 1
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 01 Dec 2004 06:57 PM (UTC)
Message
Oh, you're using ROM, hmm. I'm not sure if ROM support Cygwin, you may have to change some things to support it. You can try renaming that string name, or just comment it out, depending on what it is used for.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Gojulus   (3 posts)  Bio
Date Reply #4 on Wed 01 Dec 2004 06:59 PM (UTC)
Message
Alright I tried it with -DOlD RAND and the no crypt thing and now It errors out even earlier at crypt.

<standard input>: Assembler messages:
<standard input>:2640: Error: symbol '_1' is already defined
make: *** [crypt.o] Error 1
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 01 Dec 2004 07:28 PM (UTC)
Message
Quote:

Alright I tried it with -DOlD RAND and the no crypt thing and now It errors out even earlier at crypt.


You need to be precise with these things, it is not -DOlD RAND as you typed, but -DOLD_RAND, see below. That is the word OLD (as in old man) and RAND, with an underscore between them. You have the number 1 in the middle, and a space instead of an underscore.

I got my version of ROM to compile with the following flags in the Makefile. You will need to remove your object files first, or the crypt error will still be there. That is, before typing "make" type:


rm *.o


Here is the line for the Makefile:


C_FLAGS = -Wall $(PROF) $(NOCRYPT) -DOLD_RAND -DNOCRYPT


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,439 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.