• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux compilation errors (boost) - Avesta 7.6

Insane329

New Member
Joined
Jun 24, 2014
Messages
84
Reaction score
0
So. I am tryin to compile avesta x64 on ubuntu 13.10. Installed all libraries, (LATEST), and i got an error. There is no guide, how to compile avesta, so i am using a guide how to compile TFS :D

After typing "chmod +x autogen.sh" and ./configure:

Code:
root@ubuntu:/var/trunk/misc# chmod +x autogen.sh
root@ubuntu:/var/trunk/misc# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.9.1)
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init2 in -lgmp... yes
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... no
checking for main in -lboost_thread... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... no
checking for main in -lboost_system... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... no
checking for main in -lboost_date_time... yes
checking boost/asio.hpp usability... yes
checking boost/asio.hpp presence... yes
checking for boost/asio.hpp... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for main in -lsqlite3... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

So everything works fine. And then "make":

http://pastebin.com/zfmq1f3Y


I think that is the boost package problem right?
 
I think this is 1.53

is this a 100% boost error?

just downloaded 1.42 (trying to install it) but should i first uninstall 1.53?
 
Is there any option to compile this in 64 bit mode? System is in 64 bit. Any command should be added in configure or make?
 
Okay, i just uninstalled this, via some guides, but when i am trying to install deb package with boost 1.35 it says "dependency is not satisfable: libicu36". Do you know where is the problem?

God im so close

#installing libicu36



okay freaking errors. What is the best version of boost for avesta?
 
Last edited:
And here we go!

Code:
root@ubuntu:/var/trunk/misc# sudo make
make  all-am
make[1]: Entering directory `/var/trunk/misc'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1     -D__USE_SQLITE__     -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
In file included from cylinder.h:25:0,
                 from container.h:25,
                 from container.cpp:22:
thing.h: In member function ‘virtual std::string Thing::getXRayDescription() const’:
thing.h:121:21: error: aggregate ‘std::stringstream ret’ has incomplete type and cannot be defined
   std::stringstream ret;
                     ^
thing.h:125:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
make[1]: *** [container.o] Error 1
make[1]: Leaving directory `/var/trunk/misc'
make: *** [all] Error 2

No idea (i didnt even put -D__USE SQLITE).


Solved, got another one :D
 
Last edited:
same shiet:


Code:
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT databasemysql.o -MD -MP -MF .deps/databasemysql.Tpo -c -o databasemysql.o databasemysql.cpp
mv -f .deps/databasemysql.Tpo .deps/databasemysql.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT account.o -MD -MP -MF .deps/account.Tpo -c -o account.o account.cpp
mv -f .deps/account.Tpo .deps/account.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
mv -f .deps/container.Tpo .deps/container.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT creature.o -MD -MP -MF .deps/creature.Tpo -c -o creature.o creature.cpp
In file included from creature.cpp:29:0:
combat.h: In function ‘std::string CombatTypeName(CombatType_t)’:
combat.h:366:8: warning: enumeration value ‘COMBAT_COUNT’ not handled in switch [-Wswitch]
mv -f .deps/creature.Tpo .deps/creature.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
In file included from game.cpp:34:0:
combat.h: In function ‘std::string CombatTypeName(CombatType_t)’:
combat.h:366:8: warning: enumeration value ‘COMBAT_COUNT’ not handled in switch [-Wswitch]
game.cpp: In member function ‘Item* Game::findItemOfType(Cylinder*, uint16_t, bool, int32_t)’:
game.cpp:1441:10: warning: converting ‘false’ to pointer type ‘Item*’ [-Wconversion-null]
game.cpp: In member function ‘bool Game::violationWindow(uint32_t, std::string, uint8_t, std::string, uint8_t, bool)’:
game.cpp:4390:11: warning: variable ‘guid’ set but not used [-Wunused-but-set-variable]
mv -f .deps/game.Tpo .deps/game.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT ioaccount.o -MD -MP -MF .deps/ioaccount.Tpo -c -o ioaccount.o ioaccount.cpp
mv -f .deps/ioaccount.Tpo .deps/ioaccount.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT iomapxml.o -MD -MP -MF .deps/iomapxml.Tpo -c -o iomapxml.o iomapxml.cpp
 
use debian 7.5, but error the same, avesta rev94 fix it:

And here we go!

Code:
root@ubuntu:/var/trunk/misc# sudo make
make  all-am
make[1]: Entering directory `/var/trunk/misc'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1     -D__USE_SQLITE__     -D_THREAD_SAFE -D_REENTRANT -Wall -g -O2 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
In file included from cylinder.h:25:0,
                 from container.h:25,
                 from container.cpp:22:
thing.h: In member function ‘virtual std::string Thing::getXRayDescription() const’:
thing.h:121:21: error: aggregate ‘std::stringstream ret’ has incomplete type and cannot be defined
   std::stringstream ret;
                     ^
thing.h:125:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
make[1]: *** [container.o] Error 1
make[1]: Leaving directory `/var/trunk/misc'
make: *** [all] Error 2

No idea (i didnt even put -D__USE SQLITE).


Solved, got another one :D

use debian 7.5, but error the same
 

Similar threads

Back
Top