Jump to content

Unable to install latest dev version at Debian 7 (wheezy)


arbocenc
 Share

Recommended Posts

Hi,

Following these instructions: http://trac.wildfiregames.com/wiki/BuildInstructions#Building

I get this error:

user@localhost:~/0ad/build/workspaces/gcc$ make
==== Building mocks_real (release) ====
Creating obj/mocks_real_Release
mocks_real.cpp
Linking mocks_real
==== Building network (release) ====
Creating obj/network_Release
precompiled.h
fsm.cpp
NetStats.cpp
NetMessage.cpp
NetServer.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 here
make[1]: *** [obj/network_Release/NetServer.o] Error 1
make: *** [network] Error 2

Any ideas/suggestions?

Link to comment
Share on other sites

Thanks Fabio... I've done it, without error (but with some warnings), and, then, after make, I get these:

joan@localhost:~/0ad$ binaries/system/test
bash: binaries/system/test: El fitxer o directori no existeix
joan@localhost:~/0ad$ binaries/system/pyrogenesis
bash: binaries/system/pyrogenesis: El fitxer o directori no existeix

There 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:

pyrogenesis

I get:

joan@localhost:~/0ad/binaries/system$ pyrogenesis
Paths.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$ pyrogenesis
Paths.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) MiB
TIMER| InitVfs: 5.38161 s
Sound: AlcInit success, using OpenAL Soft
TIMER| CONFIG_Init: 67.5393 ms
TIMER| shutdown ConfigDB: 3.891 us
AL lib: FreeContext: (0xcf0d50) Deleting 64 Source(s)
TIMER| resource modules: 524.813 ms
TIMER 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 us
Paths.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 segment
joan@localhost:~/0ad/binaries/system$

Any ideas?

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...