make issues on Ubuntu

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Antongarou
Greenhorn
Posts: 7
Joined: 20 Jan 2010, 08:46

make issues on Ubuntu

Post by Antongarou »

I downloaded the latest subversion update of Warzone 2100, but when I try to use the "make" command for preinstallation I get this error message:
{{
make[4]: *** No rule to make target `nettypes.c', needed by `nettypes.o'. Stop.
}}

Can anyone tell me what the problem is and how I can repair it?
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: make issues on Ubuntu

Post by stiv »

Try doing a make clean
The source file is question is ./lib/netplay/nettypes.cpp, not .c.
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: make issues on Ubuntu

Post by Safety0ff »

Try doing make distclean.
Same as: http://developer.wz2100.net/ticket/2118