Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/156 Item 156] imported from sourceforge.net tracker on 2013-01-28 18:11:52
running:
svn co
https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk .
cd src/
make -s clean
make -s
produces:
Checked out revision 1962.
* [UFO] ../debugi386/client/cl_actor.o
* [UFO] ../debugi386/client/cl_basemanagement.o
* [UFO] ../debugi386/client/cl_research.o
* [UFO] ../debugi386/client/cl_market.o
* [UFO] ../debugi386/client/cl_campaign.o
client/cl_campaign.c: In function ‘CL_GameSave’:
client/cl_campaign.c:1629: warning: unused variable
‘message’
* [UFO] ../debugi386/client/cl_fx.o
* [UFO] ../debugi386/client/cl_input.o
* [UFO] ../debugi386/client/cl_le.o
* [UFO] ../debugi386/client/cl_main.o
* [UFO] ../debugi386/client/cl_menu.o
* [UFO] ../debugi386/client/cl_parse.o
* [UFO] ../debugi386/client/cl_particle.o
* [UFO] ../debugi386/client/cl_shader.o
* [UFO] ../debugi386/client/cl_scrn.o
* [UFO] ../debugi386/client/cl_sequence.o
* [UFO] ../debugi386/client/cl_team.o
* [UFO] ../debugi386/client/cl_inventory.o
* [UFO] ../debugi386/client/cl_ufopedia.o
* [UFO] ../debugi386/client/cl_view.o
* [UFO] ../debugi386/client/console.o
* [UFO] ../debugi386/client/keys.o
* [UFO] ../debugi386/client/snd_dma.o
* [UFO] ../debugi386/client/snd_mem.o
* [UFO] ../debugi386/client/snd_mix.o
* [UFO] ../debugi386/client/cmd.o
* [UFO] ../debugi386/client/cmodel.o
* [UFO] ../debugi386/client/common.o
* [UFO] ../debugi386/client/crc.o
* [UFO] ../debugi386/client/cvar.o
* [UFO] ../debugi386/client/files.o
* [UFO] ../debugi386/client/md4.o
qcommon/md4.c:2:32: error: ../common/ufotypes.h: No
such file or directory
qcommon/md4.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘X’
qcommon/md4.c:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘A’
qcommon/md4.c:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘B’
qcommon/md4.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘C’
qcommon/md4.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘D’
qcommon/md4.c: In function ‘DoMD4’:
qcommon/md4.c:39: error: ‘AA’ undeclared (first use in
this function)
qcommon/md4.c:39: error: (Each undeclared identifier is
reported only once
qcommon/md4.c:39: error: for each function it appears in.)
qcommon/md4.c:39: error: ‘A’ undeclared (first use in
this function)
qcommon/md4.c:40: error: ‘BB’ undeclared (first use in
this function)
qcommon/md4.c:40: error: ‘B’ undeclared (first use in
this function)
qcommon/md4.c:41: error: ‘CC’ undeclared (first use in
this function)
qcommon/md4.c:41: error: ‘C’ undeclared (first use in
this function)
qcommon/md4.c:42: error: ‘DD’ undeclared (first use in
this function)
qcommon/md4.c:42: error: ‘D’ undeclared (first use in
this function)
qcommon/md4.c:44: error: ‘X’ undeclared (first use in
this function)
qcommon/md4.c: In function ‘PerformMD4’:
qcommon/md4.c:114: error: ‘A’ undeclared (first use in
this function)
qcommon/md4.c:115: error: ‘B’ undeclared (first use in
this function)
qcommon/md4.c:116: error: ‘C’ undeclared (first use in
this function)
qcommon/md4.c:117: error: ‘D’ undeclared (first use in
this function)
qcommon/md4.c:121: error: ‘X’ undeclared (first use in
this function)
qcommon/md4.c:191: error: ‘AA’ undeclared (first use in
this function)
qcommon/md4.c:192: error: ‘BB’ undeclared (first use in
this function)
qcommon/md4.c:193: error: ‘CC’ undeclared (first use in
this function)
qcommon/md4.c:194: error: ‘DD’ undeclared (first use in
this function)
qcommon/md4.c: In function ‘Com_BlockChecksum’:
qcommon/md4.c:202: error: ‘uint32_t’ undeclared (first
use in this function)
qcommon/md4.c:202: error: expected ‘;’ before ‘digest’
qcommon/md4.c:205: error: ‘digest’ undeclared (first
use in this function)
make[1]: *** [../debugi386/client/md4.o] Error 1
make: *** [build_debug] Error 2
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure
--prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--disable-altivec --enable-nls
--without-included-gettext --with-system-zlib
--disable-checking --disable-werror
--disable-libunwind-exceptions --disable-multilib
--disable-libmudflap --disable-libssp --disable-libgcj
--enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
===== Comments Ported from Sourceforge =====
====== ixacotal (2006-07-18 22:53:27) ======
Logged In: YES
user_id=1267237
I don't know how to submit to SVN, but the fix is to change
the include statement that references "../common/ufotypes.h"
to "../client/os_types.h" in qcommon/md4.c.
There's also a comment typo in os_types.h