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
➜ makefile: *** [act_comm.o] Error -1
|
makefile: *** [act_comm.o] Error -1
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Thu 14 Jun 2001 09:51 PM (UTC) |
| Message
| 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?
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 15 Jun 2001 02:31 AM (UTC) |
| Message
| | Hard to say from that. Are you using Cygwin? Maybe it isn't completely installed or there are problems with directory permissions. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #2 on Fri 15 Jun 2001 02:51 AM (UTC) |
| Message
| | 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? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Fri 15 Jun 2001 02:53 AM (UTC) |
| Message
| |
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #4 on Fri 15 Jun 2001 03:35 AM (UTC) |
| Message
| 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
Cygwin is large for a 56k connection.
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Fri 15 Jun 2001 05:09 AM (UTC) |
| Message
| | 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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #6 on Fri 15 Jun 2001 04:11 PM (UTC) |
| Message
| 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. | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #7 on Fri 15 Jun 2001 07:57 PM (UTC) Amended on Sat 16 Jun 2001 04:37 AM (UTC) by Nick Gammon
|
| Message
| 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. --
---------------------------------------------------------
___ _____ _ _ ____ ____ _ ____
/ ___ / ___ \ | \ / | | _ \ |_ _| | | | __|
|| || || | \ / | | |_|| || | | | |__
|| || || | |\ //| | |____/ || | | | __|
||___ ||___|| | | \ // | | || _||_ | |___ | |__
\____ \_____/ |_| \_/ |_| || |____| |_____| |____|
_ _ _ _
| \ / | \ //
| \ / | \//
| |\ //| | ||
|_| \_// |_| ||
\|/ \|/ \|/
/|\ /|\ /|\
I was bored and had nothing else to do. I have nothing against compiling. Its just what came to mind. | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #8 on Fri 15 Jun 2001 07:57 PM (UTC) |
| Message
| | The above message didnt turn out the way it should have. | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #9 on Sat 16 Jun 2001 03:18 AM (UTC) |
| Message
| 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.
Signed,
Bob Dole | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #10 on Sat 16 Jun 2001 04:38 AM (UTC) |
| Message
| You need more than just gcc, for example you need make.
I would download and install all of Cygwin. It might take a while, do it while you are watching TV or something.
ROM compiles OK under Cygwin, there are other messages on the forum here about minor changes that are needed. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #11 on Mon 18 Jun 2001 08:54 PM (UTC) |
| Message
| Cygwin all downloaded and all installed.
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. | | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #12 on Mon 18 Jun 2001 08:59 PM (UTC) |
| Message
| Ahhhh, make --win32.
Lots of warning though. db.o error1 [rom] error1
Using rom24b6 this time.
Why me?
| | Top |
|
| Posted by
| Iamauser
(12 posts) Bio
|
| Date
| Reply #13 on Tue 19 Jun 2001 05:32 PM (UTC) |
| Message
| 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
db.c is the only one that doesnt compile now.
Signed,
anonymous user | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #14 on Tue 19 Jun 2001 09:14 PM (UTC) |
| Message
| There is a mention of fixing the random problem in another post on this forum (a little way down) - see ROM server with cygnus |
- 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.
63,920 views.
This is page 1, subject is 2 pages long: 1 2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top