Problems compiling on Linux
by John Garrison · in Torque Game Engine · 09/24/2002 (1:44 pm) · 5 replies
When I try to compile the CVS this is what I get:
make[1]: *** No rule to make target 'game/net/netDispatch.h', needed by 'out.GCC2.DEBUG/game/main.obj'. Stop.
Why didn't CVS give me netDispatch.h, and where can I get it?
make[1]: *** No rule to make target 'game/net/netDispatch.h', needed by 'out.GCC2.DEBUG/game/main.obj'. Stop.
Why didn't CVS give me netDispatch.h, and where can I get it?
About the author
#2
I just did a CVS updates as per the CVS instructions: cvs -z6 update -P -d. I think the last checkout I did was the HEAD because I got it when the buggy was in HEAD, so just doing an update would probably pull down the HEAD again, right? Should I go for the latest stable version?
09/24/2002 (4:18 pm)
Hmmm, I just got a server could not connect when trying to send this, sorry if it shows up twice.I just did a CVS updates as per the CVS instructions: cvs -z6 update -P -d. I think the last checkout I did was the HEAD because I got it when the buggy was in HEAD, so just doing an update would probably pull down the HEAD again, right? Should I go for the latest stable version?
#3
You might have some old object files (from the last time you did a make) and they are still referencing netDispatch. If you are sure that you have previously checked out the HEAD and the CVS update worked correctly, then I would recommend a you do a make clean followed by make.
Rich
09/24/2002 (4:38 pm)
@John G.,You might have some old object files (from the last time you did a make) and they are still referencing netDispatch. If you are sure that you have previously checked out the HEAD and the CVS update worked correctly, then I would recommend a you do a make clean followed by make.
Rich
#4
As far as cvs goes, yes that is the right command, provided you don't have any "sticky" tags set. I think you can use "cvs status" to display sticky tags. To be sure, and if you don't mind upgrading to the latest head, you can use -A to unset sticky tags:
cd torque
cvs update -dPA
09/24/2002 (4:56 pm)
Richard's right about the stale object files, but in theory make should haven't a problem with those. make clean won't hurt though.As far as cvs goes, yes that is the right command, provided you don't have any "sticky" tags set. I think you can use "cvs status" to display sticky tags. To be sure, and if you don't mind upgrading to the latest head, you can use -A to unset sticky tags:
cd torque
cvs update -dPA
#5
09/24/2002 (5:08 pm)
Make clean worked. I feel like an idiot for not thinking of it myself, considering how long I've been using Make. but my brain has been fried lately.
Torque Owner John Quigley
netDispatch.h isn't in the head, so it seems like your code tree is partially out of date. (My main.cc file doesn't even reference it.)