I get the following error when compiling kdemultimedia (freebsd-5.0-release):
/usr/include/g++/bits/fstream.tcc:479: warning: ISO C++ forbids the use of `extern' on explicit instantiations /usr/include/g++/bits/fstream.tcc:480: warning: ISO C++ forbids the use of `extern' on explicit instantiations /usr/include/g++/bits/fstream.tcc:481: warning: ISO C++ forbids the use of `extern' on explicit instantiations /usr/include/g++/bits/fstream.tcc:482: warning: ISO C++ forbids the use of `extern' on explicit instantiations In file included from splay_control.cpp:32: /usr/local/include/getopt.h:115: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:366: previous declaration `int getopt(int, char* const*, const char*)' here /usr/local/include/getopt.h: In function `int main(int, char**)': /usr/local/include/getopt.h:115: too many arguments to function `int getopt()' splay_control.cpp:100: at this point in file gmake[5]: *** [splay_control.o] Error 1 gmake[5]: Leaving directory `/usr/src/kde/kdemultimedia/mpeglib/example/yaf/yafsplay' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/src/kde/kdemultimedia/mpeglib/example/yaf' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/src/kde/kdemultimedia/mpeglib/example' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/src/kde/kdemultimedia/mpeglib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/src/kde/kdemultimedia' gmake: *** [all] Error 2 -- Erik Sabowski <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
