From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 29 22:15:35 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EBFB1065680 for ; Fri, 29 Feb 2008 22:15:35 +0000 (UTC) (envelope-from freebsd-multimedia@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 057728FC37 for ; Fri, 29 Feb 2008 22:15:34 +0000 (UTC) (envelope-from freebsd-multimedia@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JVDVq-0007gr-OF for freebsd-multimedia@freebsd.org; Fri, 29 Feb 2008 22:15:30 +0000 Received: from 92.50.96.215 ([92.50.96.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 22:15:30 +0000 Received: from saper by 92.50.96.215 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Feb 2008 22:15:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-multimedia@freebsd.org From: Marcin Cieslak Date: Fri, 29 Feb 2008 23:15:13 +0100 Lines: 65 Message-ID: <47C883F1.6090206@system.pl> References: <1204316034.10565.9.camel@ikaros.oook.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 92.50.96.215 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.12) Gecko/20080228 SeaMonkey/1.1.8 In-Reply-To: Sender: news Subject: Re: [Fwd: libcaca-0.99.b13 failed on amd64 7] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 22:15:35 -0000 Jeremy Messenger wrote: > On Fri, 29 Feb 2008 14:13:54 -0600, Pav Lucistnik wrote: > > > CCing to the multimedia@ for help on amd64. I personal don't have amd64 > and I can't reproduce it on i386/RELENG_7. > This patch (put it in the files/patch-mygetopt.c) should fix it: --- src/mygetopt.c.orig 2008-02-29 22:55:50.219906614 +0100 +++ src/mygetopt.c 2008-02-29 22:56:38.092911187 +0100 @@ -25,7 +25,7 @@ #endif /* DOS / Kernel driver */ -#ifndef __intptr_t_defined +#ifndef _INTPTR_T_DECLARED typedef unsigned int uintptr_t; #endif Anyway, this is a bug - I have reported this upstream as http://libcaca.zoy.org/ticket/39 Should work on i386 or any other platform as well. > Cheers, > Mezz --Marcin > >> -------- Přeposlaná zpráva -------- >>> Od: User Ports-amd64 >>> Komu: cvs@oook.cz, linimon@FreeBSD.org >>> Předmět: libcaca-0.99.b13 failed on amd64 7 >>> Datum: Fri, 29 Feb 2008 03:08:40 GMT >>> >>> You can also find this build log at >>> >>> >>> http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.7.2008022816/libcaca-0.99.b13.log >>> >>> (...) >>> building libcaca-0.99.b13 on gohan11.freebsd.org >>> cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../cucul -I../caca -DLIBCACA=1 >>> -DX_DISPLAY_MISSING=1 -I/usr/local/include -I/usr/local/include >>> -I/usr/local/include -I/usr/local/include/freetype2 -O2 >>> -fno-strict-aliasing -pipe -fno-strength-reduce -Wall >>> -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow >>> -Waggregate-return -Wmissing-prototypes -Wnested-externs >>> -Wsign-compare -MT img2txt-mygetopt.o -MD -MP -MF >>> .deps/img2txt-mygetopt.Tpo -c -o img2txt-mygetopt.o `test -f >>> 'mygetopt.c' || echo './'`mygetopt.c >>> mygetopt.c:29: error: conflicting types for 'uintptr_t' >>> /usr/include/stdint.h:102: error: previous declaration of 'uintptr_t' >>> was here >>> mygetopt.c: In function 'mygetopt': >>> mygetopt.c:46: warning: cast from pointer to integer of different size >>> mygetopt.c:46: warning: cast to pointer from integer of different size >>> *** Error code 1