However, when i try to compile it using gmake i get the following:
Code: Select all
bash-3.00# gmake
Generating dependancies for src/core/application.cpp...
Compiling src/core/application.cpp...
g++ -I/usr/local/dvbpsi//include -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c src/core/application.cpp
In file included from src/core/application.cpp:87:
src/extras/getopt.h:109: error: declaration of C function `int getopt()'
conflicts with
/usr/include/stdlib.h:179: error: previous declaration `int getopt(int, char*
const*, const char*)' here
gmake: *** [obj/core/application.o] Error 1
Any ideas what i might do wrong?