![]() |
badf error
After quite a few hours of errors now, I thought it best to sign up and post on the forums.
I've been surfing around the forums and seen the error a few times - the only solution I can see is compiling it on a win32 system. Well, I've tried compiling the source on my linux (FreeBSD) system... Code:
[whitey@buck:~/podbot] make I've got the file path correct, I've upgraded metamod to version 1.9, I've setup the plugins.ini and the liblist.gam, my other loaded module (amx) works fine. I've also put the amx_podbotmenu on there, the menu works fine, but obviously, it doesn't load the bots... Code:
Currently loaded plugins: Code:
name: (nil) Thanks for your help, /Whitey |
Re: badf error
Also, here's a copy of my directories and my plugins.ini...
Code:
[whitey@buck:~/backup/hlds/cstrike/addons/metamod] ls Code:
; AMX Mod Thanks, /Whitey |
Re: badf error
Get the beta sources with makefile included there. Then try again. Write the output error list while server is loading.
|
Re: badf error
Ok, I realised I need HLDK and metamod source (duh)... I tried recompiling after setting the paths in makefile correctly and made again...
Code:
bot.cpp:7544: error: `EF_NODRAW' undeclared (first use this function) EDIT: Just saw your post KWo, I'll try that now :). /Whitey |
Re: badf error
Just tried that, and edited the makefile...
Code:
[whitey@buck:~/podbot] make I'm pretty sure I edited what needs to be edited in the makefile... Code:
SDKTOP=../hlsdk That looks right to me... Code:
[whitey@buck:~/podbot] cd ../hlsdk /Whitey |
Re: badf error
Post Your all makefile (not only some parts of it). What the version of mingw are You using to compile stuff?
Write: gcc -v to get the version number. |
Re: badf error
Makefile:
Code:
# Console command(s) for compiling on Cygwin/MinGW: gcc: Code:
[whitey@buck:~/podbot] gcc -v Thanks, /Whitey |
Re: badf error
make -v
and what shell are you using? most;ly your errors are related to makefile i suggest you change any line tkat ends with slash \ to the single line just delete the slahs and the enwline character, so the text will create one long line. |
Re: badf error
Quote:
make -v gives me the same errors... I'm using bash as far as I know.. /Whitey |
Re: badf error
try
make --version similiar in bash bash --version |
Re: badf error
Quote:
bash --version outputs fine... Code:
[whitey@buck:~] bash --version /Whitey |
Re: badf error
or maybe you don;t have make ;)
|
Re: badf error
Quote:
I'm pretty sure I have make... Code:
make: no target to make. If I didn't have make, it'd output /bin/bash: make no such command, or something like that... Any other suggestions? =/. /Whitey |
Re: badf error
i don't know freebsd, but maybe you're missing some packages, in example some devel or others for buildin stuff drom source, do you have any problems with making other programs under freebsd?
|
Re: badf error
Quote:
Never any problems - and I talked to people in the #freebsdhelp channel - libstdc++ is included on the FreeBSD setup by default. /Whitey |
Re: badf error
@KaszpiR - take my makefile included into beta sources and try to use it directly on Your linux gentoo. Just install on it mingw (3.4.2), get mm1.19 sources and HLSDK 2.3p3 and try to compile with my makefile then check if compiled by You binary works. To make sure my makefile works correctly also on linux machines.
|
Re: badf error
I really appreciate the work you guys put into this by the way - and the quick replies I've been getting :).
I loved the original PODBot, and I've tried out _mm on my local hlds - works like a charm :). /Whitey |
Re: badf error
KWo just f**ed me on the instant messenger :D
and here are my results on gentoo makefile is wrong, it does not have the proper MCPU variable - thus the compiler dies looks like it is okay under cygwin, but under linux it works different here is my solution: - in makefile find text Code:
OBJDIR_LINUX=obj.linux Code:
MCPU=-mtune below the full makefile link to wiki http://wiki.bots-united.com/index.ph...mpile_Makefile |
Re: badf error
Quote:
Didn't help :< Code:
[whitey@buck:~/podbot] make /Whitey |
Re: badf error
hmm as we can see, FreeBSD got wicked makefile.
i guess the makefile for FreeBSD must be completely rewritten i bet you want to get only linux binary - it will be easier ;) |
Re: badf error
try the GNU make, not the BSD make :)
and I don't think there is a FreeBSD version of HLDS, so you may need to cross-compile the GNU/Linux target. |
Re: badf error
Quote:
Well I tried the linux binary originally - KWo recommended I tried to compile as the binary didn't work =/. CS simply will not load it - gives it a badf error... /Whitey |
Re: badf error
Quote:
Sorry, I didn't see your reply before :P. GNU make? /Whitey |
Re: badf error
Any new updates or ideas guys?...
/Whitey |
Re: badf error
just a digression , maybe it can help anyway
read http://www.freebsd.org/doc/en_US.ISO...c-install.html as superuser/root run system upgrade, then cd /usr/ports/emulators/linux_base-suse-9.2 make install clean in etc/rc.conf Code:
linux_enable="YES" and while biulding binary you may need to use linux headers (don't askme for more, i'm not familiar with freebsd) |
Re: badf error
Quote:
Well I can make the install, but is there any other way than restarting the machine? I run some customers things on there, and they wouldn't be too happy if I had to restart it. /Whitey |
Re: badf error
Ok, I'm having a serious problem now I've done that...
Code:
Auto detecting CPU /Whitey |
Re: badf error
Quote:
About amd64 - if You want to use amd64 binaries - You need to have everything amd64 compatible - metamod, CS then - also podbot mm. |
Re: badf error
Quote:
/Whitey |
Re: badf error
first of all revert changes in /etc/rc.conf about Linuxe emulation, seems thi is wrong
|
Re: badf error
Quote:
ok, I changed the following.. linux_enable="YES" to linux_enable="NO" However, I don't know how to remove the "linux base" from my system.. /Whitey |
Re: badf error
|
All times are GMT +2. The time now is 14:07. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.