I am running windows 2000 pro, I have the Rom24b6OLC.tar.gz version unedited and when I type make in the command prompt it says
gcc -c -Wall -O -g act_comm.c
makefile: *** [act_comm.o] Error -1
I belive it should work but it didnt. I have no clue about what this means. I have just started this week learning about makefiles and compiling. Would the problem be the OS?
I tried using a program called lcc and I have tried it with make.exe. It is possible that its permissions, but I dont think it is. I am going to try it on winME 98 and 95 to see if it works on any of those. I dont know where to get cygwin. Could you tell me where I can download it?
The #include files that are not included dont need to be there for the program to compile does it?
After trying it again as an administrator I get a
gcc -c -Wall -O act_comm.c
'gcc' is not recognized as an internal or external command, operable program or batchfile
make: Error code 1
Sounds like you don't have gcc which isn't too good, as it is the compiler. Try seeing if you have cc, in which case you can edit Makefile and change gcc to cc.
Since I am new at this, I dont have a clue as to what gcc and cc is exactly. I dont think I would have either of them. All I have is visual basic 6 for a programing program. What is gcc and where could I get gcc or cc so that I could compile the rom.
Cygwin took an hour to download on the T1 line at school but I have that now.
I found a gcc program that needs to be compiled with what I think is autmake. I am getting tired of finding these programs that need to be compiled first and require some other compiler than what i have currently downloaded. --
And now I learn that I dont have to download the entire cygwin thing. Just the gcc is all I need to download. If it is gcc that is all I needed then my answered have been questioned.
Thanks for the help.
gcc -c -Wall -g act_comm.c
gcc: not found
make: *** [act_comm.c] Error 127
gcc is in the directory. I am really ******************** off. All that time and it still doesnt work. Thats what I get for trying. I actually didnt try that hard. I changed the makefile part to cpp, cc, c++ and the same error only with the cpp or cc in the gcc place instead.
I think I have it this time(the problem as to why it wont compile). db.c has the error this time, but everything else compiles just fine or with warnings. error 1 again with db.c
just before it stops compiling it says
gcc -c -Wall -O -g db.c
db.c:54: conflicting types for 'random'
/usr/include/stdlib.h:146: previous declaration of 'random
db.c:56: conflicting types for 'srandom'
/usr/include/stdlib.h:147: previous declaration of 'srandom'
make: *** [db.o] Error 1