arbocenc Posted December 6, 2014 Report Share Posted December 6, 2014 Hi,Following these instructions: http://trac.wildfiregames.com/wiki/BuildInstructions#BuildingI get this error:user@localhost:~/0ad/build/workspaces/gcc$ make==== Building mocks_real (release) ====Creating obj/mocks_real_Releasemocks_real.cppLinking mocks_real==== Building network (release) ====Creating obj/network_Releaseprecompiled.hfsm.cppNetStats.cppNetMessage.cppNetServer.cpp../../../source/network/NetServer.cpp:291:5: warning: "MINIUPNPC_API_VERSION" is not defined [-Wundef]../../../source/network/NetServer.cpp: In static member function ‘static void* CNetServerWorker::SetupUPnP(void*)’:../../../source/network/NetServer.cpp:239:55: error: too many arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int)’In file included from ../../../source/network/NetServer.cpp:37:0:/usr/include/miniupnpc/miniupnpc.h:45:26: note: declared here../../../source/network/NetServer.cpp:279:67: error: too many arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’In file included from ../../../source/network/NetServer.cpp:38:0:/usr/include/miniupnpc/upnpcommands.h:123:1: note: declared here../../../source/network/NetServer.cpp:295:36: error: too many arguments to function ‘int UPNP_GetSpecificPortMappingEntry(const char*, const char*, const char*, const char*, char*, char*)’In file included from ../../../source/network/NetServer.cpp:38:0:/usr/include/miniupnpc/upnpcommands.h:159:1: note: declared heremake[1]: *** [obj/network_Release/NetServer.o] Error 1make: *** [network] Error 2Any ideas/suggestions? Quote Link to comment Share on other sites More sharing options...
fabio Posted December 6, 2014 Report Share Posted December 6, 2014 You need a newer (>= 1.6) libminiupnpc, or you can also add --without-miniupnpc to update-workspaces.sh, disabling port forwarding.Also see http://trac.wildfiregames.com/wiki/BuildInstructions#DebianUbuntu Quote Link to comment Share on other sites More sharing options...
arbocenc Posted December 6, 2014 Author Report Share Posted December 6, 2014 Thanks Fabio... I've done it, without error (but with some warnings), and, then, after make, I get these:joan@localhost:~/0ad$ binaries/system/testbash: binaries/system/test: El fitxer o directori no existeixjoan@localhost:~/0ad$ binaries/system/pyrogenesisbash: binaries/system/pyrogenesis: El fitxer o directori no existeixThere are not binaries/system/test nor binaries/system/pyrogenesis (in fact I can see a pyrogenesis.exe file). If I go to binaries/system/ and execute:pyrogenesisI get:joan@localhost:~/0ad/binaries/system$ pyrogenesisPaths.cpp(169): Function call failed: return value was -110301 (Error during IO)Function call failed: return value was -110301 (Error during IO)Location: Paths.cpp:169 (Root)Call stack:(0x855eca) pyrogenesis() [0x855eca](0x815af1) pyrogenesis() [0x815af1](0x815ced) pyrogenesis() [0x815ced](0x8166ab) pyrogenesis() [0x8166ab](0x5d3073) pyrogenesis() [0x5d3073](0x5d48c1) pyrogenesis() [0x5d48c1](0x5dd59c) pyrogenesis() [0x5dd59c](0x42d396) pyrogenesis() [0x42d396](0x422717) pyrogenesis() [0x422717](0x7fc6e2c31ead) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fc6e2c31ead](0x42c265) pyrogenesis() [0x42c265]errno = 0 (Error during IO)OS error = ?©ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?In fact, if I "continue" I get:joan@localhost:~/0ad/binaries/system$ pyrogenesisPaths.cpp(169): Function call failed: return value was -110301 (Error during IO)Function call failed: return value was -110301 (Error during IO)Location: Paths.cpp:169 (Root)Call stack:(0x855eca) pyrogenesis() [0x855eca](0x815af1) pyrogenesis() [0x815af1](0x815ced) pyrogenesis() [0x815ced](0x8166ab) pyrogenesis() [0x8166ab](0x5d3073) pyrogenesis() [0x5d3073](0x5d48c1) pyrogenesis() [0x5d48c1](0x5dd59c) pyrogenesis() [0x5dd59c](0x42d396) pyrogenesis() [0x42d396](0x422717) pyrogenesis() [0x422717](0x7f6c4f6e7ead) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f6c4f6e7ead](0x42c265) pyrogenesis() [0x42c265]errno = 0 (Error during IO)OS error = ?ERROR: Cannot find executable (expected at '')Paths.cpp(176): Function call failed: return value was -110301 (Error during IO)Function call failed: return value was -110301 (Error during IO)Location: Paths.cpp:176 (Root)Call stack:(0x855eca) pyrogenesis() [0x855eca](0x815af1) pyrogenesis() [0x815af1](0x815ced) pyrogenesis() [0x815ced](0x8166ab) pyrogenesis() [0x8166ab](0x5d2fff) pyrogenesis() [0x5d2fff](0x5d48c1) pyrogenesis() [0x5d48c1](0x5dd59c) pyrogenesis() [0x5dd59c](0x42d396) pyrogenesis() [0x42d396](0x422717) pyrogenesis() [0x422717](0x7f6c4f6e7ead) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f6c4f6e7ead](0x42c265) pyrogenesis() [0x42c265]errno = 0 (Error during IO)OS error = ?Cache: 400 (total: 5733) MiBTIMER| InitVfs: 5.38161 sSound: AlcInit success, using OpenAL SoftTIMER| CONFIG_Init: 67.5393 msTIMER| shutdown ConfigDB: 3.891 usAL lib: FreeContext: (0xcf0d50) Deleting 64 Source(s)TIMER| resource modules: 524.813 msTIMER TOTALS (9 clients)----------------------------------------------------- tc_dds_transform: 0 c (0x) tc_png_decode: 0 c (0x) tc_pool_alloc: 166.568 kc (2x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x)-----------------------------------------------------TIMER| shutdown misc: 681.367 usPaths.cpp(169): Function call failed: return value was -110301 (Error during IO)Function call failed: return value was -110301 (Error during IO)Location: Paths.cpp:169 (Root)Call stack:(0x855eca) pyrogenesis() [0x855eca](0x815af1) pyrogenesis() [0x815af1](0x815ced) pyrogenesis() [0x815ced](0x8166ab) pyrogenesis() [0x8166ab](0x5d3073) pyrogenesis() [0x5d3073](0x5d48c1) pyrogenesis() [0x5d48c1](0x5dd59c) pyrogenesis() [0x5dd59c](0x42d396) pyrogenesis() [0x42d396](0x422717) pyrogenesis() [0x422717](0x7f6c4f6e7ead) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f6c4f6e7ead](0x42c265) pyrogenesis() [0x42c265]errno = 0 (Error during IO)OS error = ?Violació de segmentjoan@localhost:~/0ad/binaries/system$Any ideas?Regards Quote Link to comment Share on other sites More sharing options...
fabio Posted December 8, 2014 Report Share Posted December 8, 2014 If there is no compiled tests or pyrogenesis executable, build failed, check the full build log. When running pyrogenesis without a path you are running the system installed one, not the one just built.Make sure to read carefully the linked page, especially Debian section: http://trac.wildfiregames.com/wiki/BuildInstructions#DebianUbuntu 1 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted December 14, 2014 Report Share Posted December 14, 2014 Fabio is correct, we need to see the build log to help any further, clearly it failed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.