Menu

#3 problems compiling "tsocks" on freebsd-4.8

open
nobody
None
5
2014-06-06
2003-07-08
Anonymous
No

Hi !

I tried to build tsocks on FreeBSD4.8 - but it doesn´ t work :-)

DO you have a idea what´ s wrong ?

--
ms@bart: $ ./configure
loading cache ./config.cache
checking host system type... i386-unknown-freebsdelf4.8
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for dlfcn.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcspn... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strspn... (cached) yes
checking for strtol... (cached) yes
checking for strsep... (cached) yes
checking for socket... (cached) yes
checking for inet_aton... (cached) yes
checking for gethostbyname... (cached) yes
checking for dlsym in -ldl... (cached) yes
checking for RTLD_NEXT from dlfcn.h... yes
checking for correct connect prototype...
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
ms@bart: $ make
make: don't know how to make tsocks.so. Stop
ms@bart: $ gmake
gcc -fPIC -g -O2 -I. -c tsocks.c -o tsocks.so
tsocks.c:59: syntax error before `static'
tsocks.c:69: syntax error before `static'
tsocks.c: In function `_init':
tsocks.c:84: `realconnect' undeclared (first use in this function)
tsocks.c:84: (Each undeclared identifier is reported only once
tsocks.c:84: for each function it appears in.)
tsocks.c: At top level:
tsocks.c:113: syntax error before `struct'
tsocks.c:121: syntax error before `if'
gmake: *** [tsocks.so] Fehler 1
--

Best regards

Marc Schoechlin

Discussion


Log in to post a comment.