On Sat, Jun 19, 2010 at 01:40:45PM +0200, Bastian Venthur wrote:
> The FTBFS is not reproducible on my machine. Adding -lcap to the linker
> flags just results in a FTBS. The error message goes along the lines "C
> compiler cannot create executables". Do you know how to fix that?

I would start with obvious problem. This is _no_ error in the C
language, but the linker will tell you later.

| byzanzencodergstreamer.c:141: warning: implicit declaration of function 
'gst_caps_new_from_string'
| byzanzencodergstreamer.c:141: warning: nested extern declaration of 
'gst_caps_new_from_string'
| byzanzencodergstreamer.c:141: warning: assignment makes pointer from integer 
without a cast

There is no exported function named gst_caps_new_from_string. This
function however have _nothing_ to do with libcap.

Some googling provides me with this:
| +#if G_BYTE_ORDER == G_LITTLE_ENDIAN
| +  ogv->caps = gst_caps_from_string (GST_VIDEO_CAPS_BGRx);
| +#elif G_BYTE_ORDER == G_BIG_ENDIAN
| +  ogv->caps = gst_caps_new_from_string (GST_VIDEO_CAPS_xRGB);
| +#else
| +#error "Please add the Cairo caps format here"
| +#endif

This looks weird, as this is the only endian-dependant part on the
whole code and the only thing it seems to do is write it to a cairo
surface, which wants native endianess.

Bastian

-- 
If some day we are defeated, well, war has its fortunes, good and bad.
                -- Commander Kor, "Errand of Mercy", stardate 3201.7



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to