From owner-freebsd-ports@FreeBSD.ORG Fri Apr 10 13:34:49 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BFF61065673; Fri, 10 Apr 2009 13:34:49 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id BE3058FC15; Fri, 10 Apr 2009 13:34:48 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by fxm11 with SMTP id 11so1047411fxm.43 for ; Fri, 10 Apr 2009 06:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9q4FbqpAOnuIzmZMkmimMyHLJrBGfD+33dk5szypRyQ=; b=cGjiHzbqMyFep8ChWA2oh679lzHLKoSVKnmaivZqYJLZZfLMAv42FMSe/9kDFxDf/U vsEyYWlUfqoFW1dSNT2r3S5dqQgBjujBll9PSycTuQvyeldD+iTa3aO7TwOcJgi7R5zi HYvqLZokCYw6jCLN2xnlMQ+pKBZ2AldrLWnoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qNkStkLp226iLxwSPEVeAcgUlj12b5pD+wL9yZrTxCe5wR8wKWuLKOB6vLXg7ttNHG PlNtI6GN6V6w0CaR3qrYFjjrdmqyAnLLc+GyC9LZzWfh6rUedykOe7YTvvekifEIpEuL UptZSKrdomqELjsG/kODsvo8x3l3gfr16L2iU= MIME-Version: 1.0 Received: by 10.223.112.204 with SMTP id x12mr95460fap.70.1239370486867; Fri, 10 Apr 2009 06:34:46 -0700 (PDT) In-Reply-To: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> References: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> Date: Fri, 10 Apr 2009 15:34:46 +0200 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= Subject: Re: mythtv 0.21 - trouble compiling the port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 13:34:49 -0000 Hello, 2009/3/30 Bernhard Fr=F6hlich : > Yeah i can reproduce that too. It's because it takes libavcodec from the > system path which is wrong. Attached patch fixes that problem but then I > get another compile error with Intel XvMC in mythtranscode. That one > probably needs further investigation but it might not bite you if you > don't have intel onboard graphics. > > This patch should fix the above problem: (as usual throw it in mythtv/fil= es) > > http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro Today I had some time, so I tried compiling mythtv with your patch. It got a bit further, but then failed on this: g++ -c -pipe -march=3Dk8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -DPREFIX=3D\"/usr/local\" -DLIBDIR=3D\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I../../../../../../../local/include -I/usr/local/include -o pespacket.o mpeg/pespacket.cpp In file included from mpeg/pespacket.cpp:9: /usr/local/include/artsc/../libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) /usr/local/include/artsc/../libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) mpeg/pespacket.cpp: In member function 'uint PESPacket::CalcCRC() const': mpeg/pespacket.cpp:160: error: 'av_crc04C11DB7' was not declared in this sc= ope gmake[2]: *** [pespacket.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmythtv' gmake[1]: *** [sub-libmythtv] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/= libs' gmake: *** [sub-libs] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. Sigh... it really shouldnt be this hard. --=20 Regards, Torfinn Ingolfsen