[Fwd: libcaca-0.99.b13 failed on amd64 7]

Marcin Cieslak saper at system.pl
Fri Feb 29 22:15:35 UTC 2008


Jeremy Messenger wrote:
> On Fri, 29 Feb 2008 14:13:54 -0600, Pav Lucistnik <pav at FreeBSD.org> 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 <ports-amd64 at FreeBSD.org>
>>> Komu: cvs at oook.cz, linimon at 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



More information about the freebsd-multimedia mailing list