Anybody got expirience using "electric fence" on linux ??
Got so far as inluding the libefence.a to the link list.
like this.
Code:
MOD_DIR = /usr/steam/hlds_l/tod/dlls/shrikebot_i586.so
MOD_DIR2 = /usr/steam/hlds_l/dod/dlls/shrikebot_i586.so
CPP = g++
BASEFLAGS = -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp
CPPFLAGS = ${BASEFLAGS} -march=i586 -O2 -w -I../engine -I../common -I../pm_shared
OBJ = bot.o bot_chat.o bot_client.o bot_combat.o bot_goal.o bot_models.o \
bot_navigate.o bot_start.o dll.o dll_command.o engine.o linkfunc.o \
sb_export.o sb_util.o waypoint.o wptnav.o /usr/lib/libefence.a
shrikebot_i586.so: ${OBJ}
${CPP} -fPIC -shared -o $@ ${OBJ} -Xlinker -Map -Xlinker shrike_bot.map -ldl
cp -f shrikebot_i586.so ${MOD_DIR}
cp -f shrikebot_i586.so ${MOD_DIR2}
clean:
-rm -f *.o
-rm -f *.so
%.o: %.cpp
${CPP} ${CPPFLAGS} -c $< -o $@
%.o: %.c
${CPP} ${CPPFLAGS} -c $< -o $@
And it compiles without error.
But im a little in the dark what to do next.
Documentation on the program is hard to find.
Just run the DLL ?? where can expect output ??