Hi there...
I configured the program with ./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" on FreeBSD.
But when I type
make next, it showed up like this:
make all-recursive
Making all in lib
make all-recursive
Making all in compat
Making all in jansson
Making all in ccan
gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I./lib -I./lib -I/usr/local/include -MT cgminer-util.o -MD -MP -MF .deps/cgminer-util.Tpo -c -o cgminer-util.o `test -f 'util.c' || echo './'`util.c
In file included from util.c:35:
miner.h:33:1: warning: "alloca" redefined
In file included from util.c:16:
/usr/include/stdlib.h:237:1: warning: this is the location of the previous definition
util.c: In function 'json_rpc_call_sockopt_cb':
util.c:268: error: 'SOL_TCP' undeclared (first use in this function)
util.c:268: error: (Each undeclared identifier is reported only once
util.c:268: error: for each function it appears in.)
util.c:268: error: 'TCP_KEEPCNT' undeclared (first use in this function)
util.c:271: error: 'TCP_KEEPIDLE' undeclared (first use in this function)
util.c:274: error: 'TCP_KEEPINTVL' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/users/xxxxxxx/xxxxxxxx/cgminer-1.5.6.
*** Error code 1
Stop in /usr/home/users/xxxxxxx/xxxxxxxx/cgminer-1.5.6.
*** Error code 1
Stop in /usr/home/users/xxxxxxx/xxxxxxxx/cgminer-1.5.6.
Could somebody please help?
Thanks
