.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   Download latest Linux WIP versions here. (http://forums.bots-united.com/showthread.php?t=2251)

Josh_Borke 18-07-2004 16:27

Re: Download latest Linux WIP versions here.
 
L 07/18/2004 - 10:26:54: [META] ERROR: dll: Failed query plugin '<realbot_mm_i386>'; Couldn't open file '/home/hlds/csds/cstrike/../realbot/dll/realbot_mm_i386.so': /home/hlds/csds/cstrike/../realbot/dll/realbot_mm_i386.so: undefined symbol: __gxx_personality_v0
L 07/18/2004 - 10:26:54: [META] ERROR: dll: Skipping plugin '<realbot_mm_i386>'; couldn't query
Couldn't load plugin '<realbot_mm_i386>'; see log

GCC -v output
Code:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
  --infodir=/usr/share/info --enable-shared --enable-threads=posix
  --disable-checking --with-system-zlib --enable-__cxa_atexit
  --host=i386-redhat-linux
 Thread model: posix
 gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


HTH

evy 18-07-2004 20:57

Re: Download latest Linux WIP versions here.
 
Quote:

Originally Posted by Josh_Borke
L 07/18/2004 - 10:26:54: [META] ERROR: dll: Failed query plugin '<realbot_mm_i386>'; Couldn't open file '/home/hlds/csds/cstrike/../realbot/dll/realbot_mm_i386.so': /home/hlds/csds/cstrike/../realbot/dll/realbot_mm_i386.so: undefined symbol: __gxx_personality_v0

Josh,

I was also experimenting the same problem, I had to modify the Makefile to define CPP as g++ (explained in README.linux) like in:
Code:

# CPP must be g++ on Linux
CPP = g++
# If option -g, additional information is added for GDB
DEBUG=-g

As far as I can remember, this fixed a similar problem for me.:D

Hope it helps

-eric

Josh_Borke 18-07-2004 21:03

Re: Download latest Linux WIP versions here.
 
DOH! :|
the truth is out...i don't read README's carefully...

the makefile should be updated :D
Quote:

:RTFM:
:|

Thanks evy

minorgod 24-07-2004 06:19

Re: Download latest Linux WIP versions here.
 
This was not the problem for me. As noted in earlier posts, it has always compiled fine for me in gcc 3.3.1. The problem is that the compiled module does not work and gives a "badf" error when loading in metamod. I just recompiled today (7-24-04) from the latest CVS and am still having the problems. I have looked everywhere for instructions on how to downgrade my gcc compiler to an earlier version, but as usual, linux help boards are full of people who love to tell you everything about why you don't need to downgrade gcc and nothing at all about how to actually do it. I did hear that there was a way to force gcc to use backwards compatible libraries from earlier versions using some kind of -compat libraries.

Does anyone know how to force my gcc version to compile as version 2.5x instead of 3.3.1? Or how to install and use an older version of gcc alongside my existing version?

Anyone want to send me a working compiled version I can test and post on my site for everyone else to try? I'd post the one I've got if I wasn't certain it was FUBAR.

Josh_Borke 24-07-2004 07:02

Re: Download latest Linux WIP versions here.
 
my error was never that it would not compile. it would compile just fine. the problem was one of a badf error because of a improperly linked file, which is probably due to using gcc instead of g++ so make sure you are using g++ as your compiler and not gcc. to be safe, could you post your Makefile? thanks

minorgod 24-07-2004 08:00

Re: Download latest Linux WIP versions here.
 
AAAAAaaaaaaaarrrrrgh!!! I can't believe I didn't think of that before. Your post made me realize that I was using an out of date makefile. I've been using Tortoise CVS on my windows box and then using WinSCP to move them to my linux server for compiling. I usually copy everything except the makefile from the CVS updates. But recently a new object file (build.o) was added to the CVS. I had to add a line to my makefile for it...added line "build.o \" to the OBJ list and now it's working great. Too bad I spent two weekends trying to figure this out and ended up downgrading, breaking and then re-upgrading my version of gcc.

So getting back to my original post, the final word and hopefully the end of this topic is, gcc 3.3.1 is definitely COMPATIBLE with the latest WIP as of 7-24-04 (1:56am EST). At least on Mandrake Linux 9.2.3.3.1-2mdk. Thanks for jogging my brain Josh!8D


All times are GMT +2. The time now is 05:35.

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