View unanswered posts | View active topics
|
Page 2 of 2
|
[ 19 posts ] |
|
| Author |
Message |
|
ChrisTX
|
Post subject: Re: Debugin crashes on linux unbutu Posted: Friday, 24 Dec 2010, 20:11 |
|
| A+ |
 |
Joined: Wednesday, 26 Dec 2007, 00:42 Posts: 7319
|
|
I'd get metamod-p, it includes the required HL SDK. You download the source code for it then, unpack it, run make and hope it builds with your newer GCC.
Of course, if it is Ubuntu x64, you need to pay attention that it builds as 32-bit binary and not as 64-bit one.
By the way, did you try to run metamod and dproto alone? I mean if metamod without dproto doesn't crash or dproto crashes even if metamod isn't present then this error would be comeing frome elsewhere.
The __kernel_vsyscall() trace is not revealing any information, only that the dynamic linker was loaded.
Lastly, are these crashes instant or do they happen occasionally?
_________________ Game Industry Guardian (1K+).
|
|
| Top |
|
 |
|
(--eRRoR--)
|
Post subject: Re: Debugin crashes on linux unbutu Posted: Saturday, 25 Dec 2010, 16:35 |
|
| Advanced forumer Завсегдатай |
 |
Joined: Wednesday, 25 Feb 2009, 03:16 Posts: 98 Location: Romania/Petrosani
|
the crashes happent regula once at two hours I am using 32bit sistem and the make command doesent compile.I think that i didnt install something for the server to compile the metamod. Do you have an tutorial on how to compile an .so ? EDIT: Y downloaded the source of metamod-p and run make in the folder and this is wath i got - mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep.cpp:49:
- osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep.cpp:49:
- osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep.cpp:53:
- support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
- support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
- osdep.cpp:87: warning: âvisibilityâ attribute ignored on non-class types
- osdep.cpp:250: warning: âvisibilityâ attribute ignored on non-class types
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/osdep_p.o -c osdep_p.cpp
- In file included from osdep.h:48,
- from osdep_p.h:36,
- from osdep_p.cpp:42:
- mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep_p.h:36,
- from osdep_p.cpp:42:
- osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep_p.h:36,
- from osdep_p.cpp:42:
- osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep_p.cpp:42:
- osdep_p.h:73: warning: âvisibilityâ attribute ignored on non-class types
- In file included from osdep_p.cpp:43:
- support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
- support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/reg_support.o -c reg_support.cpp
- In file included from osdep.h:48,
- from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from reg_support.cpp:48:
- mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
- In file included from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from reg_support.cpp:48:
- osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
- In file included from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from reg_support.cpp:48:
- osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
- In file included from reg_support.cpp:48:
- sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
- In file included from mplugin.h:48,
- from mlist.h:41,
- from metamod.h:42,
- from reg_support.cpp:51:
- support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
- support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
- In file included from mlist.h:41,
- from metamod.h:42,
- from reg_support.cpp:51:
- mplugin.h:157: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:158: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:159: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:178: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:179: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:180: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:182: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:183: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:185: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:186: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:187: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:189: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:192: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:195: warning: âvisibilityâ attribute ignored on non-class types
- mplugin.h:198: warning: âvisibilityâ attribute ignored on non-class types
- In file included from metamod.h:42,
- from reg_support.cpp:51:
- mlist.h:67: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:68: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:69: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:70: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:71: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:72: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:73: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:74: warning: âvisibilityâ attribute ignored on non-class types
- mlist.h:83: warning: âvisibilityâ attribute ignored on non-class types
- In file included from metamod.h:44,
- from reg_support.cpp:51:
- conf_meta.h:77: warning: âvisibilityâ attribute ignored on non-class types
- In file included from metamod.h:47,
- from reg_support.cpp:51:
- mplayer.h:67: warning: âvisibilityâ attribute ignored on non-class types
- mplayer.h:87: warning: âvisibilityâ attribute ignored on non-class types
- In file included from engine_t.h:41,
- from metamod.h:49,
- from reg_support.cpp:51:
- engineinfo.h:116: warning: âvisibilityâ attribute ignored on non-class types
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/sdk_util.o -c sdk_util.cpp
- In file included from osdep.h:48,
- from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from sdk_util.cpp:34:
- mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
- mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
- In file included from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from sdk_util.cpp:34:
- osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
- osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
- In file included from meta_eiface.h:45,
- from enginecallbacks.h:51,
- from sdk_util.h:50,
- from sdk_util.cpp:34:
- osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
- In file included from sdk_util.cpp:34:
- sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
- sdk_util.cpp:40: warning: âvisibilityâ attribute ignored on non-class types
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/studioapi.o -c studioapi.cpp
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/support_meta.o -c support_meta.cpp
- In file included from ./osdep.h:48,
- from ./meta_eiface.h:45,
- from ./enginecallbacks.h:51,
- from ./sdk_util.h:50,
- from ./dllapi.h:40,
- from ./meta_api.h:41,
- from ./metamod.h:41,
- from support_meta.cpp:39:
- ./mreg.h:108: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:109: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:150: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:151: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:185: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:186: warning: âvisibilityâ attribute ignored on non-class types
- ./mreg.h:187: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./meta_eiface.h:45,
- from ./enginecallbacks.h:51,
- from ./sdk_util.h:50,
- from ./dllapi.h:40,
- from ./meta_api.h:41,
- from ./metamod.h:41,
- from support_meta.cpp:39:
- ./osdep.h:130: warning: âvisibilityâ attribute ignored on non-class types
- ./osdep.h:165: warning: âvisibilityâ attribute ignored on non-class types
- ./osdep.h:183: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./meta_eiface.h:45,
- from ./enginecallbacks.h:51,
- from ./sdk_util.h:50,
- from ./dllapi.h:40,
- from ./meta_api.h:41,
- from ./metamod.h:41,
- from support_meta.cpp:39:
- ./osdep.h:296: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./dllapi.h:40,
- from ./meta_api.h:41,
- from ./metamod.h:41,
- from support_meta.cpp:39:
- ./sdk_util.h:79: warning: âvisibilityâ attribute ignored on non-class types
- ./sdk_util.h:89: warning: âvisibilityâ attribute ignored on non-class types
- ./sdk_util.h:99: warning: âvisibilityâ attribute ignored on non-class types
- ./sdk_util.h:116: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./mplugin.h:48,
- from ./mlist.h:41,
- from ./metamod.h:42,
- from support_meta.cpp:39:
- ./support_meta.h:110: warning: âvisibilityâ attribute ignored on non-class types
- ./support_meta.h:152: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./mlist.h:41,
- from ./metamod.h:42,
- from support_meta.cpp:39:
- ./mplugin.h:157: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:158: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:159: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:178: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:179: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:180: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:182: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:183: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:185: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:186: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:187: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:189: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:192: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:195: warning: âvisibilityâ attribute ignored on non-class types
- ./mplugin.h:198: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./metamod.h:42,
- from support_meta.cpp:39:
- ./mlist.h:67: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:68: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:69: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:70: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:71: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:72: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:73: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:74: warning: âvisibilityâ attribute ignored on non-class types
- ./mlist.h:83: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./metamod.h:44,
- from support_meta.cpp:39:
- ./conf_meta.h:77: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./metamod.h:47,
- from support_meta.cpp:39:
- ./mplayer.h:67: warning: âvisibilityâ attribute ignored on non-class types
- ./mplayer.h:87: warning: âvisibilityâ attribute ignored on non-class types
- In file included from ./engine_t.h:41,
- from ./metamod.h:49,
- from support_meta.cpp:39:
- ./engineinfo.h:116: warning: âvisibilityâ attribute ignored on non-class types
- support_meta.cpp:104: warning: âvisibilityâ attribute ignored on non-class types
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/thread_logparse.o -c thread_logparse.cpp
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -DCOMPILE_TZ=\"EET\" -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/vdate.o -c vdate.cpp
- gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE="\"debugging\"" -D__METAMOD_BUILD__ -fPIC -I. -I../metamod -I../hlsdk/engine -I../hlsdk/common -I../hlsdk/pm_shared -I../hlsdk/dlls -I../hlsdk -o debug.linux_i386/osdep_linkent_linux.o -c osdep_linkent_linux.cpp
- osdep_linkent_linux.cpp:40: fatal error: asm/page.h: No such file or directory
- compilation terminated.
- make[1]: *** [debug.linux_i386/osdep_linkent_linux.o] Error 1
- make[1]: Leaving directory `/usr/Compiler/metamod-p-1.19p32/metamod'
- make: *** [metamod] Error 2
- root@storm:/usr/Compiler/metamod-p-1.19p32# \
-
|
|
| Top |
|
 |
|
ChrisTX
|
Post subject: Re: Debugin crashes on linux unbutu Posted: Saturday, 25 Dec 2010, 20:18 |
|
| A+ |
 |
Joined: Wednesday, 26 Dec 2007, 00:42 Posts: 7319
|
|
You're missing asm/page.h, a part which dropped out of the linux kernel headers some time ago. What that means is, you're screwed with these headers and can't compile metamod-p with your environment. Of course you can setup a chroot with previous versions of glibc and the according kernel headers but I would doubt this helped here.
Instead I'd really try to setup metamod-p (binaries are on their site) without dproto and see if that's stable and if so, dproto without metamod-p and see if that is stable. If only the combination of the two is an issue, you should talk to crock.
_________________ Game Industry Guardian (1K+).
|
|
| Top |
|
 |
|
(--eRRoR--)
|
Post subject: Re: Debugin crashes on linux unbutu Posted: Wednesday, 29 Dec 2010, 02:15 |
|
| Advanced forumer Завсегдатай |
 |
Joined: Wednesday, 25 Feb 2009, 03:16 Posts: 98 Location: Romania/Petrosani
|
|
ok thanks a lot for the help untill now
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 4 guests |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|