Cant someone simply compile the Debian / Ubuntu version and send it to me? (gServer)
Now running into:
polarwolf:~/gserver-v2/build# make CONFIG=Releas
==== Building gserver ====
mkdir: missing operand
Try `mkdir --help' for more information.
make[1]: [/TPlayer.o] Error 1 (ignored)
TPlayer.cpp
../../server/src/TPlayer.cpp:1:20: error: IDebug.h: No such file or directory
../../server/src/TPlayer.cpp:6:28: error: boost/thread.hpp: No such file or directory
../../server/src/TPlayer.cpp:7:21: error: ICommon.h: No such file or directory
../../server/src/TPlayer.cpp:8:20: error: IEnums.h: No such file or directory
../../server/src/TPlayer.cpp:9:21: error: CSocket.h: No such file or directory
../../server/src/TPlayer.cpp:10:21: error: TServer.h: No such file or directory
../../server/src/TPlayer.cpp:11:21: error: TPlayer.h: No such file or directory
../../server/src/TPlayer.cpp:12:22: error: TAccount.h: No such file or directory
../../server/src/TPlayer.cpp:13:19: error: codec.h: No such file or directory
../../server/src/TPlayer.cpp:37: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:55: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:74: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:92: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:110: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:128: error: 'propscount' was not declared in this scope
../../server/src/TPlayer.cpp:149: error: 'TPlayer' has not been declared
../../server/src/TPlayer.cpp:150: error: 'TPlayer' has not been declared
../../server/src/TPlayer.cpp:150: error: expected unqualified-id before '*' token
../../server/src/TPlayer.cpp:150: error: expected `)' before '*' token
../../server/src/TPlayer.cpp:151: error: expected constructor, destructor, or type conversion before '<' token
../../server/src/TPlayer.cpp:153: error: 'TPlayer' has not been declared
../../server/src/TPlayer.cpp: In function 'void createFunctions()':
../../server/src/TPlayer.cpp:155: error: 'TPlayer' has not been declared
../../server/src/TPlayer.cpp:159: error: 'TPLFunc' was not declared in this scope
(Think of 100 lines more...)
../../server/src/TPlayer.cpp: At global scope:
../../server/src/TPlayer.cpp:271: error: 'TPlayer' has not been declared
../../server/src/TPlayer.cpp:271: error: expected constructor, destructor, or type conversion before '(' token
../../server/src/TPlayer.cpp:292: error: expected constructor, destructor, or type conversion before '::' token
make[1]: *** [/TPlayer.o] Error 1
make: *** [gserver] Error 2
___Merged doublepost__________________
Doublepost wtf…
I got a complete new error now:
polarwolf:~/gserver-v2/bin# ./gserver
Graal Reborn GServer version (null)
Programmed by Joey and Nalin.
Hmm… I installed the 2 libs you told me (Nalin told me the same) and then installed all Boost libs I could find for the debian package. (Squeeze) Thats about it. Just EVERY package I could find. Then I tryed and it worked… :>
It compiles great without any errors or something.
Hmm… how to check for that?
Didnt change anything. The error is strange :[
What packages are required to build the programm? This makes me hate linux cry
___Merged doublepost__________________
Backtrace (Nalin…?):
Starting program: /root/gserver-v2/bin/gserver
[Thread debugging using libthread_db enabled]
Graal Reborn GServer version (null)
Programmed by Joey and Nalin.
:: Loading servers.txt... success
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6d201f0 in strlen () from /lib/libc.so.6
#0 0x00007ffff6d201f0 in strlen () from /lib/libc.so.6
#1 0x00007ffff6ced42e in vfprintf () from /lib/libc.so.6
#2 0x00000000004782df in ?? ()
#3 0x00000000004231a3 in ?? ()
#4 0x00007ffff6cc55c6 in __libc_start_main () from /lib/libc.so.6
#5 0x00000000004033b9 in ?? ()
#6 0x00007fffffffec88 in ?? ()
#7 0x000000000000001c in ?? ()
#8 0x0000000000000001 in ?? ()
#9 0x00007fffffffee7f in ?? ()
#10 0x0000000000000000 in ?? ()
Looks like libc smells…?
After playing around a bit more the backtrace changed to this:
Starting program: /root/gserver-v2/bin/gserver
[Thread debugging using libthread_db enabled]
Graal Reborn GServer version (null)
Programmed by Joey and Nalin.
:: Loading servers.txt... success
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:37
37 ../sysdeps/x86_64/strlen.S: No such file or directory.
in ../sysdeps/x86_64/strlen.S
Current language: auto
The current source language is "auto; currently asm".
#0 strlen () at ../sysdeps/x86_64/strlen.S:37
#1 0x00007ffff6ced42e in _IO_vfprintf_internal (s=0x7ffff6ff2780,
format=<value optimized out>, ap=0x7fffffffe3a0) at vfprintf.c:1602
#2 0x00000000004782df in ?? ()
#3 0x00000000004231a3 in ?? ()
#4 0x00007ffff6cc55c6 in __libc_start_main (main=0x4229d0, argc=1,
ubp_av=0x7fffffffec98, init=0x47a230, fini=<value optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffec88)
at libc-start.c:222
#5 0x00000000004033b9 in ?? ()
#6 0x00007fffffffec88 in ?? ()
#7 0x000000000000001c in ?? ()
#8 0x0000000000000001 in ?? ()
#9 0x00007fffffffee7f in ?? ()
#10 0x0000000000000000 in ?? ()
Looks like it was a 64bit problem… my hosting will soo go live!
___Merged doublepost__________________
polarwolf:/backup/gserver-v2/bin# dir
changelog.txt getlibs-all.deb readme.txt servers.txt
getlibs gserver servers startuplog.txt
polarwolf:/backup/gserver-v2/bin# ./getlibs gserver
./getlibs: line 76: lsb_release: command not found
./getlibs: line 93: sudo: command not found
This application isn’t missing any dependencies
–Bla bla. When I try to compile & everything on 64bit. Still segmentation fault and so on… bla (Just wanted to get sure it doesnt work)