Make error on OpenBSD 3.7

*nix specific usage questions
mgw

Make error on OpenBSD 3.7

Postby mgw » 14 Nov 2005 03:11

I am currently trying to set VLS up on my OpenBSD3.7-box. I've installed libdvbpsi which went fine and the configuration of VLS also ran smooth. I got a few errors when i tried to compile but found out via google that i had to use gmake.
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
Couldnt find anything using google nor here.
Any ideas what i might do wrong?

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 75 guests