g++ -c -O -g -Wall -Wno-deprecated -I../src/ -I../deps/lua/src -L../deps/lua/src Socket.cpp -o Socket.o
In file included from Log.h:7:0,
from Socket.h:3,
from Socket.cpp:1:
/usr/include/unistd.h:545:15: error: conflicting declaration of ‘char** environ’ with ‘C’ linkage
extern char **environ;
^
In file included from Socket.h:2:0,
from Socket.cpp:1:
fooking.h:40:15: note: previous declaration with ‘C++’ linkage
extern char **environ;
^
Makefile:13: recipe for target 'Socket.o' failed
make[1]: *** [Socket.o] Error 1
make[1]: Leaving directory '/usr/local/apache2/htdocs/fooking/src'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2