.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Help request (http://forums.bots-united.com/forumdisplay.php?f=37)
-   -   Custom Metamod for Realbot not working for Linux (http://forums.bots-united.com/showthread.php?t=110)

Dethpod 01-01-2004 19:23

Re: Custom Metamod for Realbot not working for Linux
 
OK. I guess I need the SDK source. crap. I don't have it on my box. I can do it a bit later today. It's like snowing like crazy outside and we don't get snow that often in Portland, OR. Plus my 4 year old is going crazy to get me to leave my keyboard and go build a snowman with her. Father duty calls.

I'll compile the new binary later today. Or can someone else do it sooner?

-Dethpod

stefanhendriks 01-01-2004 19:43

Re: Custom Metamod for Realbot not working for Linux
 
cool! it would be great to have a working 'for everyone' version of the linux .so file of metamod. :D

sauza 01-01-2004 20:26

Re: Custom Metamod for Realbot not working for Linux
 
I'm not very well versed in linux. The linux server I'm running is off of a hosted computer. I could try to compile some source code if someone would hold my hand and tell me what commands I need to use.

stefanhendriks 01-01-2004 20:28

Re: Custom Metamod for Realbot not working for Linux
 
then don't try it, i am not an experienced linux user either. Only with some help with PMB i dare to touch linux and makefiles, but when i have to try on my own there is one magical word that keeps me safe:

Backup

sauza 02-01-2004 17:10

Re: Custom Metamod for Realbot not working for Linux
 
Dethpod, how's the recompile coming? Any luck?

Onno Kreuzinger 02-01-2004 19:37

Re: Custom Metamod for Realbot not working for Linux
 
Hi Folks, besides a bing THANK YOU for Stefan for RB at all,

i must admit, it also fails for me, and i also suffer from not having an apropiate compile enviroment, and failing binary modules downloadable.
i have tried to get it all: metamod source + stefan's modified code copied into, hlsdk2.3 modified from metamod.org (as well as the original) and of course several binary .so's for metamod "found" on the net were tried before ...

my compilers are gcc-2.95.3 (and 2.96-113 + gcc 3.2), at the end the least count of errors where reported with gcc-2-95.3 (the only gcc i really tried ) and the combined src code bases for metamod and the (partitial) hlsdk2.3 from metamod.org (no original hlsdk2 src'es).
and the error smells like C++ syntax warnings from the gcc, but they seem fatal, so did not disable the strict makefile settings from the makefile (i.e. stop at warning, dont continue). and here it comes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[user@server metamod-1.17]# make
make -C metamod
make[1]: Entering directory `/video/disk-03/halflife/metamod-1.17/metamod'
gcc -ggdb3 -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"debugging\" -fPIC -I. -I../metamod -I/root/src/hl/hlsdk-2
.3/multiplayer/engine -I/root/src/hl/hlsdk-2.3/multiplayer/common -I/root/src/hl/hlsdk-2.3/multiplayer/pm_shar
ed -I/root/src/hl/hlsdk-2.3/multiplayer/dlls -I/root/src/hl/hlsdk-2.3/multiplayer -o debug.linux/api_info.o -c
api_info.cpp
In file included from api_info.h:40,
from api_info.cpp:39:
types_meta.h:74: parse error before `do'
types_meta.h:77: ANSI C++ forbids declaration `meta_errno' with no type
types_meta.h:77: conflicting types for `int meta_errno'
types_meta.h:71: previous declaration as `enum META_ERRNO meta_errno'
types_meta.h:77: `errval' was not declared in this scope
types_meta.h:77: parse error before `return'
In file included from api_info.cpp:39:
api_info.h:51: parse error before `}'
api_info.h:51: ANSI C++ forbids declaration `api_info_t' with no type
api_info.h:56: syntax error before `;'
[repeated]
.....
[repeated]
api_info.h:280: syntax error before `;'
api_info.cpp:94: excess elements in aggregate initializer
api_info.cpp:101: excess elements in aggregate initializer
api_info.cpp:264: excess elements in aggregate initializer
make[1]: *** [debug.linux/api_info.o] Error 1
make[1]: Leaving directory `/video/disk-03/halflife/metamod-1.17/metamod'
make: *** [metamod] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i hope this might help, or encourage others to help.....

Regards MeMeD

p.s.
happy new year to all of you :)

p.p.s.
i can compile and i'm realy HOT for the new RealBot, so don't hesitate to tell what i could do :)

stefanhendriks 02-01-2004 19:55

Re: Custom Metamod for Realbot not working for Linux
 
i have updated my downloads page:

- it includes now the latest needed header files of the SDK so you can compile the metasource

What you need to compile the metasource:

- the original metamod 1.17
- the original sdk 2.3

THEN:

- patch your metamod source files with the ones at the realbot site
- patch your SDK with the 'update' package on the realbot site

try to compile.

Onno Kreuzinger 02-01-2004 21:10

Re: Custom Metamod for Realbot not working for Linux
 
Hi, thanks for the quick reply !

i tried, and now it compiles (using gcc3.2).
but realbot still does not load in metamod:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] <realbot_mm_i48 badf unld realbot_mm_i486. v - ini - -
1 plugins, 0 running

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
meta info RealBot
name: (nil)
desc: <realbot_mm_i486.so>
status: badfile
action: unload
filename: ../realbot/dll/realbot_mm_i486.so
file: realbot_mm_i486.so
pathname: /var/games/hdls_l/realbot/dll/realbot_mm_i486.so
index: 1
source: ini file
loadable: -
unloadable: -
version: (nil)
date: (nil)
author: (nil)
url: (nil)
logtag: (nil)
last loaded: Thu Jan 1 01:00:00 1970
No DLLAPI functions.
No DLLAPI-Post functions.
No NEWAPI functions.
No NEWAPI-Post functions.
No Engine functions.
No Engine-Post functions.
Registered commands:
0 commands
Registered cvars: float value string value
0 cvars
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
meta version
Metamod v1.17 2003/11/15
by Will Day <willday@metamod.org>
http://www.metamod.org/
compiled: Jan 2 2004, 20:51:45 Eastern (debugging)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


which looks very strange, so i perhaps made a mistake somewhere, any clues ?

/edit
i have made one thing differnt from your guide, i used the 2.3 sdk from metamod.org/files/sdk, which claimed to fix gcc issues, which it did, i.e. using the original steam sdk (a windows exe) the compile fails with include and def. errors.
edit/

Cheers MeMeD

Dethpod 02-01-2004 21:26

Re: Custom Metamod for Realbot not working for Linux
 
Hey Guys,

I compiled the custom metamod per your headers & source code but I get the same error when I try to load it in CS.

Maybe Memed will have better luck,
-Dethpod

Onno Kreuzinger 02-01-2004 21:33

Re: Custom Metamod for Realbot not working for Linux
 
Quote:

Originally Posted by Dethpod
Hey Guys,

I compiled the custom metamod per your headers & source code but I get the same error when I try to load it in CS.

Maybe Memed will have better luck,
-Dethpod

i hope, for now im only faster in bug reporting :)

but perhaps you could could try to follow this thread, so someone can verify my results, since this is the first time i compile cs stuff.

perhaps there are still some differences in the src code trees, since the metamod supplied by stefan did throw the error:
undefined symbol: _ZSt15set_new_handlerPFvvE
Host_Error: Couldn't get DLL API from ./cstrike/addons/metamod/dlls/metamod_i386.so!

for me too, while my metmod (and the one from adminmod) had the not loading error, other reported too.
(just an idea)


Regards MeMeD


All times are GMT +2. The time now is 01:24.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.