All pastes #795123 Raw Edit

Something

public text v1 · immutable
#795123 ·published 2007-11-23 20:56 UTC
rendered paste body
CC = gcc
CFLAGS = -g -Wall -fPIC -Isdk 
LDFLAGS = -ldl -shared -fPIC libghf.a
OBJS = init.o hook.o
PROG = fusion.so
####################

gcc -g -Wall -fPIC -Isdk  -c init.c
init.c:14: warning: initialization makes integer from pointer without a cast
gcc -g -Wall -fPIC -Isdk  -c hook.c
hook.c: In function 'inithooks':
hook.c:21: warning: cast to pointer from integer of different size
gcc -ldl -shared -fPIC libghf.a init.o hook.o -o fusion.so

#####################
[FUSION] Starting up...
[FUSION] "Icarus" initalization started. 
[FUSION] Current process match!
./tremulous.x86: symbol lookup error: ./fusion.so: undefined symbol: getSymbol