News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

SVN 4811 fails with gcc v 4.6.1 running "make makeobj_prog" [SOLVED]

Started by jspaces, September 15, 2011, 01:22:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jspaces

SVN 4811 fails to compile with gcc v4.6.1 with the following error message when running "make makeobj_prog":
General system information:
Arch Linux x86_64
gcc v 4.6.1
glibc v 2.14
$ make makeobj_prog
make[1]: Entering directory `/home/space/factory/simutrans-svn/src/simutrans-build/trunk/makeobj'
===> CXX ../besch/writer/building_writer.cc
../besch/writer/building_writer.cc: In member function 'virtual void building_writer_t::write_obj(FILE*, obj_node_t&, tabfileobj_t&)':
../besch/writer/building_writer.cc:181:7: error: 'utyp' was not declared in this scope
make[1]: *** [../build/default/besch/writer/building_writer-makeobj.o] Error 1
make[1]: Leaving directory `/home/space/factory/simutrans-svn/src/simutrans-build/trunk/makeobj'
make: *** [makeobj_prog] Error 2

(I have snipped the output to just contain the error.)
If more information is required, please let me know thanks.

Note: SVN 4813 now compiles building_writer.cc

Ters