You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
games-strategy/megaglest-3.12.0 fails to compile: source/shared_lib/sources/platform/posix/socket.cpp:2635:123: error: too few arguments to function
#63
Open
fusion809 opened this issue
Apr 1, 2017
· 1 comment
games-strategy/megaglest-3.12.0 fails to compile on Gentoo Linux giving the error:
[ 61%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/platform/unix/gl_wrap.cpp.o
cd /var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0_build/source/shared_lib && /usr/bin/x86_64-pc-linux-gnu-g++ -DHAS_GCC_BACKTRACE -DHAVE_FONTCONFIG -DSTREFLOP_SSE -DUSE_FTGL -I/usr/include/SDL2 -I/usr/include/AL -I/usr/include/freetype2 -I/usr/include/miniupnpc -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/platform/sdl -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/xml/rapidxml -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/sources -I/usr/include/libircclient -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/compression -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/feathery_ftp -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/glew -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/graphics -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/graphics/gl -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/lua -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/map -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/platform/common -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/sound -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/sound/openal -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/util -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/xml -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/streflop -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/streflop/libm_flt32_source -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/streflop/softfloat -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/platform/posix -I/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/include/platform/unix -DCUSTOM_DATA_INSTALL_PATH=\"/usr/share/megaglest/\" -DNDEBUG -O2 -pipe -Wuninitialized -Wsign-compare -Wunused-function -Wunused-variable -Wreturn-type -fno-strict-aliasing -frounding-math -fsignaling-nans -msse2 -mfpmath=sse -DUSE_STREFLOP -DSTREFLOP_RANDOM_GEN_SIZE=32 -DLIBM_COMPILING_FLT32 -DN_SPECIALIZED=32 -DX11_AVAILABLE -DHAVE_SYS_IOCTL_H -o CMakeFiles/libmegaglest.dir/sources/platform/unix/gl_wrap.cpp.o -c /var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/sources/platform/unix/gl_wrap.cpp
/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp: In static member function‘static int Shared::Platform::UPNP_Tools::upnp_init(void*)’:
/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp:2635:123: error: too few arguments to function‘void* miniwget_getaddr(const char*, int*, char*, int, unsigned int, int*)’
XML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])),0);
^
In file included from /var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0/source/shared_lib/sources/platform/posix/socket.cpp:57:0:
/usr/include/miniupnpc/miniwget.h:21:25: note: declared here
MINIUPNP_LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int, unsigned int, int *);
^
make[2]: *** [source/shared_lib/CMakeFiles/libmegaglest.dir/build.make:1983: source/shared_lib/CMakeFiles/libmegaglest.dir/sources/platform/posix/socket.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0_build'
make[1]: *** [CMakeFiles/Makefile2:88: source/shared_lib/CMakeFiles/libmegaglest.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0_build'
make: *** [Makefile:150: all] Error 2
emake failed
* ERROR: games-strategy/megaglest-3.12.0::games-overlay failed (compile phase):
* (no error message)
** Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 3506: Called virtualmake
* environment, line 4453: Called virtx 'cmake-utils_src_compile'* environment, line 4496: Called nonfatal 'cmake-utils_src_compile'* isolated-functions.sh, line 105: Called cmake-utils_src_compile
* environment, line 888: Called _cmake_execute_optionally 'src_compile'* environment, line 368: Called enable_cmake-utils_src_compile
* environment, line 1100: Called cmake-utils_src_make
* environment, line 903: Called _cmake_emake_src_make
* environment, line 358: Called die
* The specific snippet of code:
* emake VERBOSE=1 "$@"|| die;** If you need support, post the output of `emerge --info '=games-strategy/megaglest-3.12.0::games-overlay'`,
* the complete build log and the output of `emerge -pqv '=games-strategy/megaglest-3.12.0::games-overlay'`.
* The complete build log is located at '/var/tmp/portage/games-strategy/megaglest-3.12.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-strategy/megaglest-3.12.0/temp/environment'.
* Working directory: '/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0_build'* S: '/var/tmp/portage/games-strategy/megaglest-3.12.0/work/megaglest-3.12.0'
>>> Failed to emerge games-strategy/megaglest-3.12.0, Log file:
>>> '/var/tmp/portage/games-strategy/megaglest-3.12.0/temp/build.log'
while emerge --info '=games-strategy/megaglest-3.12.0::games-overlay' returns:
Hi,
games-strategy/megaglest-3.12.0
fails to compile on Gentoo Linux giving the error:while
emerge --info '=games-strategy/megaglest-3.12.0::games-overlay'
returns:while
emerge -pqv '=games-strategy/megaglest-3.12.0::games-overlay'
returns:build-log.txt is the build log.
Thanks for your time,
Brenton
The text was updated successfully, but these errors were encountered: