rendered paste bodyCC = gcc
CFLAGS = -g -Wall -fPIC -Isdk
LDFLAGS = -ldl -static -s -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 -static -s -fPIC libghf.a init.o hook.o -o fusion.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
hook.o: In function `inithooks':
/home/thesource/fusionhook/hook.c:21: undefined reference to `getSymbol'
/home/thesource/fusionhook/hook.c:21: undefined reference to `detourFunction'
collect2: ld returned 1 exit status
make: *** [fusion.so] Error 1