From: Mark H. <msh...@12...> - 2002-12-19 16:58:35
|
> Hi, > It would be good if someone would try to compile the latest CVS on > Linux, as for now we don't know if it compiles only on my box, or on > others too. > What's needed - headers (dev. packages) to libraries - SDL, SDL_net, > MYSQL, OpenSSL. Automake v1.6 (i'm pretty sure it won;t work with 1.4), > autconf2.5 (it may, or may not work with 2.13). > Just running autogen.sh and then make should be enough. i had to change aclocal-1.6 and automake-1.6 in autogen.sh to aclocal-1.7 and automake-1.7 but after that the makefiles created without any problem. but when i run "make" i crashes with the following error ake all-recursive make[1]: Entering directory `/newarianne/modules' Making all in libcommon make[2]: Entering directory `/newarianne/modules/libcommon' Making all in src make[3]: Entering directory `/newarianne/modules/libcommon/src' if /bin/sh ../../libtool --mode=3Dcompile g++ -DHAVE_CONFIG_H -I. -I. -I.= =2E/..=20 -I./basic -I/usr/include/SDL -D_REENTRANT -g -O2 -MT NetworkManager.lo = -MD=20 -MP -MF ".deps/NetworkManager.Tpo" \ -c -o NetworkManager.lo `test -f '0_Network/NetworkManager.cpp' || echo= =20 './'`0_Network/NetworkManager.cpp; \ then mv ".deps/NetworkManager.Tpo" ".deps/NetworkManager.Plo"; \ else rm -f ".deps/NetworkManager.Tpo"; exit 1; \ fi rm -f .libs/NetworkManager.lo g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./basic -I/usr/include/SDL -D_REENT= RANT=20 -g -O2 -MT NetworkManager.lo -MD -MP -MF .deps/NetworkManager.Tpo -c=20 0_Network/NetworkManager.cpp -fPIC -DPIC -o .libs/NetworkManager.lo In file included from basic/Manager/Manager.h:18, from 0_Network/NetworkManager.h:19, from 0_Network/NetworkManager.cpp:19: basic/Conversion/Conversion.h: In function `int round(double)': basic/Conversion/Conversion.h:218: new declaration `int round(double)' /usr/include/bits/mathcalls.h:287: ambiguates old declaration `double round(double)' make[3]: *** [NetworkManager.lo] Error 1 make[3]: Leaving directory `/newarianne/modules/libcommon/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/newarianne/modules/libcommon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/newarianne/modules' make: *** [all] Error 2 my system: GCC 3.2 Autoconf 2.57 Automake 1.7.2 SDL 1.2.4 SDL_net 1.2.4 MySQL 3.23.51 OpenSSL 0.9.6c Hope it helps Mark Hannessen |