Description
error when compiling any plugins(written in C) with tsxs/gcc: (tested on ubuntu 10.04 32bit / mac os 10.6.7 64bit)
$/home/ts/ts-2.1.9/bin/tsxs -c hello.c -o hello.so
compiling hello.c -> hello.lo
In file included from hello.c:25:
/home/ts/ts-2.1.9/include/ts/ts.h:616: error: expected specifier-qualifier-list before 'sockaddr_storage'
Compile failed: gcc -I/home/ts/ts-2.1.9/include -march=i586 -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -fpic -c hello.c -o hello.lo