From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 05:24:48 2003 Return-Path: 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 1999316A4BF; Tue, 14 Oct 2003 05:24:48 -0700 (PDT) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9406943F75; Tue, 14 Oct 2003 05:24:46 -0700 (PDT) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.22) id 1A9Nki-0007fM-6i; Tue, 14 Oct 2003 13:54:12 +0200 Message-ID: <3F8BC7C3.4030304@ant.uni-bremen.de> Date: Tue, 14 Oct 2003 11:54:11 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031013 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: mjpegtools won't compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 12:24:48 -0000 Hi lists, when i try to compile the mjpegtools port under 5.1, i get: ########################################################################## Making all in lavtools gmake[2]: Entering directory `/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1/lavtools' source='lav2divx.cpp' object='lav2divx.o' libtool=no \ depfile='.deps/lav2divx.Po' tmpdepfile='.deps/lav2divx.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"lavtools\" -DLAVPLAY_VERSION=\"1.6.1\" -I/usr/X11R6/include -I /usr/X11R6/include -I../utils -I/usr/local/include/avifile -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -O -pipe -mcpu=pentiumpro -c -o lav2divx.o `test -f 'lav2divx.cpp' || echo './'`lav2divx.cpp In file included from lav2divx.cpp:80: /usr/local/include/getopt.h:115: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:377: previous declaration `int getopt(int, char* const*, const char*)' here In file included from libavifile.h:51, from lav2divx.cpp:92: /usr/local/include/avifile/fourcc.h:4:2: warning: #warning Use #include "avm_fourcc.h" instead gmake[2]: *** [lav2divx.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1/lavtools' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/mjpegtools. ########################################################################### Is anybody able to compile this? Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax : -3341