thanks for the link. I tried the patch... and it gave me the following error
$ gmake
gmake all-recursive
gmake[1]: Entering directory `/home/pfunix/tor/proxychains-3.1'
Making all in proxychains
gmake[2]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains'
Making all in docs
gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs'
Making all in en
gmake[4]: Entering directory
`/home/pfunix/tor/proxychains-3.1/proxychains/docs/en'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/home/pfunix/tor/proxychains-3.1/proxychains/docs/en'
gmake[4]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs'
gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains/docs'
gmake[3]: Entering directory `/home/pfunix/tor/proxychains-3.1/proxychains'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-g -O2 -c libproxychains.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
-Wp,-MD,.deps/libproxychains.pp -c libproxychains.c -fPIC -DPIC -o
.libs/libproxychains.o
libproxychains.c: In function `get_chain_data':
libproxychains.c:163: error: `PREFIX' undeclared (first use in this function)
libproxychains.c:163: error: (Each undeclared identifier is reported only once
libproxychains.c:163: error: for each function it appears in.)
libproxychains.c:163: error: syntax error before string constant
gmake[3]: *** [libproxychains.lo] Error 1
gmake[3]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/pfunix/tor/proxychains-3.1/proxychains'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/pfunix/tor/proxychains-3.1'
gmake: *** [all-recursive-am] Error 2
I removed the "PREFIX" on line and it build ok.
+ if(!(file=fopen(PREFIX ...