hi, mac system here.. gst-plugins always fails in the same place during the compile in the : /var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/gst/wavenc on a file called gstwavenc.c the error is: fluffy wavenc # make source='gstwavenc.c' object='libgstwavenc_la-gstwavenc.lo' libtool=yes \ depfile='.deps/libgstwavenc_la-gstwavenc.Plo' tmpdepfile='.deps/libgstwavenc_la-gstwavenc.TPlo' \ depmode=gcc /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -O2 -pipe -mcpu=750 -c -o libgstwavenc_la-gstwavenc.lo `test -f 'gstwavenc.c' || echo './'`gstwavenc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -O2 -pipe -mcpu=750 -c gstwavenc.c -Wp,-MD,.deps/libgstwavenc_la-gstwavenc.TPlo -fPIC -DPIC -o libgstwavenc_la-gstwavenc.lo gstwavenc.c: In function `gst_wavenc_chain': gstwavenc.c:302: parse error before `bps' gstwavenc.c:306: `i' undeclared (first use in this function) gstwavenc.c:306: (Each undeclared identifier is reported only once gstwavenc.c:306: for each function it appears in.) gstwavenc.c:306: `bps' undeclared (first use in this function) gstwavenc.c:307: `byte' undeclared (first use in this function) gstwavenc.c:308: `bsdata' undeclared (first use in this function) gstwavenc.c:308: `data' undeclared (first use in this function) make: *** [libgstwavenc_la-gstwavenc.lo] Error 1 fluffy wavenc # pwd /var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/gst/wavenc while i myself have no idea how to code, i traced the error to what i suspect is this block of code in gstwavenc.c : #if (G_BYTE_ORDER == G_BIG_ENDIAN) } else { GstBuffer *bsbuf = gst_buffer_new_and_alloc (GST_BUFFER_SIZE(buf));; guint bps = (wavenc->bits + 7) / 8, i, byte; guint8 *bsdata = GST_BUFFER_DATA(bsbuf), *data = GST_BUFFER_DATA (buf); /* this is ugly... */ for (i = 0; i < GST_BUFFER_SIZE(bsbuf) / bps; i++) { for (byte = 0; byte < bps; byte++) { bsdata[i * bps + byte] = data[(i+1) * bps - (1+byte)]; } } gst_buffer_unref (buf); gst_pad_push (wavenc->srcpad, bsbuf); } #endif something about guint and/or guint8 ?? my totally uneducated guess.. something to do with endianism, or whatnot.. anyway, yes i do have gtk+-2.2.1-r1 installed curently, and i do seem to have a proper build environment, includes all, and a reasonable ld.so.conf.. um.. please feel free to contact if more info needed.. thanks
can you paste the output of emerge info ? can't really test that on a x86 because it looks like a bigendian specific compile problem, ppc guys?
lu_zero, seems you do gst related stuff for ppc ?
Victor could you emerge again the gst-plugins-6.1 please? gst-plugins builds correctly here. foser I was waiting for the emerge info before taking any action, I already told liquidix that gst-plugins is building correctly on ppc with our current system/suggested cflags. I'll wait another 5 days for any reply then I think that I'll close this bug.
no response, closing reporter, reopen if this is still a problem