| Summary: | build of transcode-1.0.2-r2 fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lindsay Haisley <fmouse-gentoo> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Lindsay Haisley
2006-05-09 13:15:40 UTC
> /usr/local/include/mpeg2dec/mpeg2.h:59: error: syntax error before '}' token
We don't install anything into /usr/local, dunno where did you take the stuff in there. Also - upgrade your gcc... 3.3.x is no longer supported.
OK, probably my error here. Sorry for the noise. I need to run gcc-config apparently, too. Nothing is ever simple :-( Jacub, my system has some cruft, but tightening things up a bit I get the same error. if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../libtc -I../libac3 -I../avilib -I/usr/include -I/usr/include -I/usr/include/libmpeg3 -I/usr/include/libxml2 -I../libvo -I/usr/include -I/usr/include/quicktime -I../libxio -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe -DDCT_YUV_PRECISION=1 -MT tcdecode-decode_mpeg2.o -MD -MP -MF ".deps/tcdecode-decode_mpeg2.Tpo" -c -o tcdecode-decode_mpeg2.o `test -f 'decode_mpeg2.c' || echo './'`decode_mpeg2.c; \ then mv -f ".deps/tcdecode-decode_mpeg2.Tpo" ".deps/tcdecode-decode_mpeg2.Po"; else rm -f ".deps/tcdecode-decode_mpeg2.Tpo"; exit 1; fi `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. In file included from tcdecode.c:369: ../libxio/static_xio.h: In function `dummy': ../libxio/static_xio.h:18: warning: null argument where non-null required (arg 2) ../libxio/static_xio.h:19: warning: null argument where non-null required (arg 2) ../libxio/static_xio.h:20: warning: null argument where non-null required (arg 2) In file included from decode_mpeg2.c:37: /usr/include/mpeg2dec/mpeg2.h:30: error: syntax error before "vo_instance_t" /usr/include/mpeg2dec/mpeg2.h:59: error: syntax error before '}' token /usr/include/mpeg2dec/mpeg2.h:66: error: syntax error before '*' token /usr/include/mpeg2dec/mpeg2.h:70: error: syntax error before '*' token /usr/include/mpeg2dec/mpeg2.h:72: error: syntax error before '*' token /usr/include/mpeg2dec/mpeg2.h:75: error: syntax error before '*' token /usr/include/mpeg2dec/mpeg2.h:77: error: syntax error before '*' token if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../libtc -I../libac3 -I../avilib -I/usr/include -I/usr/include -I/usr/include/libmpeg3 -I/usr/include/libxml2 -I../libvo -I/usr/include -I/usr/include/quicktime -I../libxio -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe -DDCT_YUV_PRECISION=1 -MT tcdecode-decode_yuv.o -MD -MP -MF ".deps/tcdecode-decode_yuv.Tpo" -c -o tcdecode-decode_yuv.o `test -f 'decode_yuv.c' || echo './'`decode_yuv.c; \ then mv -f ".deps/tcdecode-decode_yuv.Tpo" ".deps/tcdecode-decode_yuv.Po"; else rm -f ".deps/tcdecode-decode_yuv.Tpo"; exit 1; fi In file included from decode_mpeg2.c:38: /usr/include/mpeg2dec/mpeg2convert.h:27: error: syntax error before "mpeg2convert_rgb32" /usr/include/mpeg2dec/mpeg2convert.h:28: error: syntax error before "mpeg2convert_rgb24" /usr/include/mpeg2dec/mpeg2convert.h:29: error: syntax error before "mpeg2convert_rgb16" /usr/include/mpeg2dec/mpeg2convert.h:30: error: syntax error before "mpeg2convert_rgb15" /usr/include/mpeg2dec/mpeg2convert.h:31: error: syntax error before "mpeg2convert_rgb8" /usr/include/mpeg2dec/mpeg2convert.h:32: error: syntax error before "mpeg2convert_bgr32" /usr/include/mpeg2dec/mpeg2convert.h:33: error: syntax error before "mpeg2convert_bgr24" /usr/include/mpeg2dec/mpeg2convert.h:34: error: syntax error before "mpeg2convert_bgr16" /usr/include/mpeg2dec/mpeg2convert.h:35: error: syntax error before "mpeg2convert_bgr15" /usr/include/mpeg2dec/mpeg2convert.h:36: error: syntax error before "mpeg2convert_bgr8" /usr/include/mpeg2dec/mpeg2convert.h:43: error: syntax error before '*' token /usr/include/mpeg2dec/mpeg2convert.h:46: error: syntax error before "mpeg2convert_uyvy" decode_mpeg2.c: In function `show_accel': decode_mpeg2.c:54: error: `MPEG2_ACCEL_X86_3DNOW' undeclared (first use in this function) decode_mpeg2.c:54: error: (Each undeclared identifier is reported only once decode_mpeg2.c:54: error: for each function it appears in.) decode_mpeg2.c:56: error: `MPEG2_ACCEL_X86_MMXEXT' undeclared (first use in this function) decode_mpeg2.c:58: error: `MPEG2_ACCEL_X86_MMX' undeclared (first use in this function) decode_mpeg2.c: In function `decode_mpeg2': decode_mpeg2.c:67: error: `decoder' undeclared (first use in this function) decode_mpeg2.c:68: error: syntax error before '*' token decode_mpeg2.c:69: error: syntax error before '*' token decode_mpeg2.c:70: error: `mpeg2_state_t' undeclared (first use in this function) decode_mpeg2.c:78: warning: implicit declaration of function `mpeg2_accel' decode_mpeg2.c:78: error: `MPEG2_ACCEL_DETECT' undeclared (first use in this function) decode_mpeg2.c:87: error: `info' undeclared (first use in this function) decode_mpeg2.c:87: warning: implicit declaration of function `mpeg2_info' decode_mpeg2.c:91: error: `state' undeclared (first use in this function) decode_mpeg2.c:91: warning: implicit declaration of function `mpeg2_parse' decode_mpeg2.c:92: error: `sequence' undeclared (first use in this function) decode_mpeg2.c:94: error: `STATE_BUFFER' undeclared (first use in this function) decode_mpeg2.c:96: warning: implicit declaration of function `mpeg2_buffer' decode_mpeg2.c:98: error: `STATE_SEQUENCE' undeclared (first use in this function) decode_mpeg2.c:100: warning: implicit declaration of function `mpeg2_convert' decode_mpeg2.c:103: error: `STATE_SLICE' undeclared (first use in this function) decode_mpeg2.c:104: error: `STATE_END' undeclared (first use in this function) decode_mpeg2.c:105: error: `STATE_INVALID_END' undeclared (first use in this function) make[3]: *** [tcdecode-decode_mpeg2.o] Error 1 make[3]: *** Waiting for unfinished jobs.... `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. make[3]: Leaving directory `/var/tmp/portage/transcode-1.0.2-r2/work/transcode-1.0.2/import' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/transcode-1.0.2-r2/work/transcode-1.0.2/import' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/transcode-1.0.2-r2/work/transcode-1.0.2' make: *** [all] Error 2 |