From owner-freebsd-questions Tue Feb 4 8:57:44 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBD5237B401 for ; Tue, 4 Feb 2003 08:57:42 -0800 (PST) Received: from 7521.net (esabowski-01.dslbr.toad.net [162.33.154.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D28F43F85 for ; Tue, 4 Feb 2003 08:57:38 -0800 (PST) (envelope-from airyk@7521.net) Received: (qmail 92241 invoked from network); 4 Feb 2003 16:58:24 -0000 Received: from unknown (HELO localhost) (10.10.0.220) by 7521.net with SMTP; 4 Feb 2003 16:58:24 -0000 From: Erik Sabowski Organization: 7521 To: freebsd-questions@FreeBSD.ORG Subject: problem compiling kdemultimedia on freebsd-5.0 Date: Tue, 4 Feb 2003 11:58:48 -0500 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302041158.48077.airyk@7521.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message