From owner-freebsd-ports@FreeBSD.ORG Wed Sep 11 15:41:50 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14DC96DD for ; Wed, 11 Sep 2013 15:41:50 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C80BB245E for ; Wed, 11 Sep 2013 15:41:49 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-ports@freebsd.org with esmtp (envelope-from ) id <1VJmY7-003eHs-GK>; Wed, 11 Sep 2013 17:41:47 +0200 Received: from g225187219.adsl.alicedsl.de ([92.225.187.219] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-ports@freebsd.org with esmtpsa (envelope-from ) id <1VJmY7-003OUh-Bm>; Wed, 11 Sep 2013 17:41:47 +0200 Date: Wed, 11 Sep 2013 17:41:41 +0200 From: "O. Hartmann" To: FreeBSD Ports Subject: graphics/opencv: on CURRENT (r255472): c++ issue resulting in: error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 error Message-ID: <20130911174141.78870fac@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/zF_OrfS6UuRLLVkLtODyV1u"; protocol="application/pgp-signature" X-Originating-IP: 92.225.187.219 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 15:41:50 -0000 --Sig_/zF_OrfS6UuRLLVkLtODyV1u Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Recompiling everything installed due to the iconv-issue and the extraction of the GNUish libstdc++ in favor of the new libc++, I run permanently into the problem of a compiler (c++) stopp at graphics/opencv due to the error shown below. I'm getting crazy here, since I have successfully compiled opencv on two other boxes running the most recent CURRENT with no libstdc++ and no converters/libiconv any more. Doing=20 portmaster -f graphics/opencv results in getting everything built, except graphics/opencv! graphics/opencv seems to be a prerequisite for the build of devel/kdevelop-kde4, which also is a stopgap at the moment and is very resiliant in getting compiled. Can someone shed light and hints onto this? Thanks in advance, Oliver [...] /usr/local/include/libavformat/avformat.h:1578:26: note: 'av_write_header' declared here attribute_deprecated int av_write_header(AVFormatContext *s); ^ 12 warnings generated. [ 2%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/loadsave.o [ 2%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/precomp.o [ 2%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/utils.o [ 3%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.o [ 3%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_QT.o /usr/ports/gr= aphics/opencv/work/OpenCV-2.3.1/modules/highgui/src/window_QT.cpp:316:5: error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 error generated. *** Error code 1 --Sig_/zF_OrfS6UuRLLVkLtODyV1u Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSMI86AAoJEOgBcD7A/5N8vJ4IAIbZuFkO0yw/yKo5aifhtbrq i/M1oVEwchs/mUrvdCtt56dDOPp+qixl7kc44Z1hJdbXvK4YFp/yw4nNhdXOmB7/ UPuz8gr6ckKoglDJVV1KvI15Km9RD3kl32/l5RKuPvkwD+RLXSj9GqbkdM8S/Z/2 X38tvIp1D1UQHHsOYD6Rc/RuKgQJCYDSCubeG3691ih1c0/psBaGsyQEBTxlLo/7 1A4HWuYHf5lY1heoDNJhLOPLKE5gwwUK5Pbnd+jE+9dcySklrGE5TBBTeUF0uQN/ lSznPO+eZ5TkfeNl4LZFNiSZzzvP6htpk9+j3ZmDwOUtszCPAobUpEQR3GhHrM0= =zgf6 -----END PGP SIGNATURE----- --Sig_/zF_OrfS6UuRLLVkLtODyV1u--