Some help instant crash on make

Posted by Gojulus on Wed 01 Dec 2004 04:00 PM — 6 posts, 20,257 views.

#0
$ make
gcc -c -pipe -Wall -02 -ggdb act_comm.c
make: gcc: Comamnd not found
make *** [act_comm.o] Error 127
USA #1
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.?
#2
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
USA #3
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.
#4
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
Australia Forum Administrator #5
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