Kompilacja Problem z odpaleniem serwera Linux Debian

Status
Zamknięty.

Wojako1995

User
Zarejestrowany
Dołączył
Sierpień 6, 2010
Posty
34
Liczba reakcji
0
Witajcie!

Pisz? tutaj bo chyba jeste?cie moja ostatni? nadziej? :/ Chodzi oto, ?e posiadam serwer Pokemon prawda jak juz zd?rzyli?cie zauwa?y?, postanowilem przenie?? go na maszyne stabiln? zero lag?w itp. Wszystko jest dobrze pliki source mam wszystko jest na swoim miejscu tylko gdy wpisuje ostatni? fraze do kompilaci to wyskakuje b??d ktorego nie potrafi? sie pozbyc...

Powiem wam jak robie i co wyskakuje

a wiec tak napierw wpisuje:


i wyskakuje mi to:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'

nest wpisuje:

./configure --enable-mysql

i wyskakuje to:

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... gawk
checking whether make sets $(MAKE)... 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.8.0)
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... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/asio.hpp usability... yes
checking boost/asio.hpp presence... yes
checking for boost/asio.hpp... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.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 mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for main in -lmysqlclient... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

theforgottenserver 0.3.5

Server diagnostics.......... : no
Login server mode........... : no
Remote control.............. : no
Root run permission......... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Debug build................. : no

Build with MySQL............ : yes
Build with SQLite........... : no
Build with PostgreSQL....... : no
Build with ODBC............. : no

Configure complete, now you may type 'make'.

i gdy wpisuje:


to wyskakuje ten b??d:

make all-am
make[1]: Wej?ie do katalogu `/home/tibia'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DDEB_HOST_MULTIARCH=\"x86_64-linux-gnu\" -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
^[[?6cIn file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
from /usr/include/boost/filesystem.hpp:34,
from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
make[1]: *** [luascript.o] B??
d 1
make[1]: Opuszczenie katalogu `/home/tibia'
make: *** [all] B??
d 2


POMOCY! Prosze pomo?cie tylko w was nadzieja, a wiem, ?e wiecie jak temu zaradzi?... :[
 
Odp: Problem z odpaleniem serwera Linux Debian

#error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
Najprawdopodobniej musisz poprawi? definicje dyrektywy boost gdy? masz zdefiniowany boost pod winapi...
 
Ostatnia edycja:
Odp: Problem z odpaleniem serwera Linux Debian

A jak to zrobi?? Wybacz ale jeszcze nie jestem tak obeznany w tym dlatego nie mam poj?cia jak to zrobic :]
 
Status
Zamknięty.
Back
Do góry