Date: Thu, 30 Mar 2006 14:08:44 +0700 (ICT) From: Olivier Nicole <on@cs.ait.ac.th> To: freebsd-questions@freebsd.org, lofi@freebsd.org Subject: getop.h conflict when building audio/akode Message-ID: <200603300708.k2U78i4V082634@banyan.cs.ait.ac.th>
next in thread | raw e-mail | index | archive | help
Hi, I try to portinstall audio/akode (needed by kde) and I get the following error: labtop<root>52: /usr/local/sbin/portinstall audio/akode [...] then mv -f ".deps/akodeplay.Tpo" ".deps/akodeplay.Po"; else rm -f ".deps/akodeplay.Tpo"; exit 1; fi In file included from akodeplay.cpp:29: /usr/local/include/getopt.h:115: error: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:376: error: previous declaration `int getopt(int, char* const*, const char*)' here gmake[1]: *** [akodeplay.o] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/akode/work/akode-2.0/akode/akodeplay' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/audio/akode. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall59136.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! audio/akode (new compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed labtop<root>53: System is 5.4-p13 Ports are up to date (30 minutes ago) That usr/local/include/getopt.h comes from libgnugetopt-1.2 (up to date too) Best regards, Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603300708.k2U78i4V082634>