Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 13:27:56 +0200
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        freebsd <freebsd-ports@FreeBSD.ORG>
Subject:   mjpegtools won't compile
Message-ID:  <3F8BDDBC.5070309@ant.uni-bremen.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F8BDDBC.5070309>