Hello there. I'm having trouble to compile flac on gentoo linux: linux-2.6.8 gcc-3.3.4 glibc-2.3.4 nptl enabled I would be happy if someone could help me with this error: if ../../libtool-disable-static --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../.. -I./include -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 -fomit-frame-pointer -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -MT plugin.lo -MD -MP -MF ".deps/plugin.Tpo" -c -o plugin.lo plugin.c; \ then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f ".deps/plugin.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../.. -I./include -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 -fomit-frame-pointer -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c -fPIC distcc[8942] (dcc_connect_timed) ERROR: Connection to 10.0.0.1:3632 failed: Connection refused distcc[8942] (dcc_build_somewhere) Warning: failed to distribute to 10.0.0.1, running locally instead plugin.c:71: error: syntax error before "AFormat" plugin.c:71: warning: no semicolon at end of struct or union plugin.c:77: error: syntax error before '}' token plugin.c:77: warning: type defaults to `int' in declaration of `file_info_struct' plugin.c:77: warning: data definition has no type or storage class plugin.c:97: error: syntax error before "flac_ip" plugin.c:97: warning: type defaults to `int' in declaration of `flac_ip' plugin.c:99: warning: initialization makes integer from pointer without a cast plugin.c:100: warning: excess elements in scalar initializer plugin.c:100: warning: (near initialization for `flac_ip') plugin.c:101: warning: excess elements in scalar initializer plugin.c:101: warning: (near initialization for `flac_ip') plugin.c:102: warning: excess elements in scalar initializer plugin.c:102: warning: (near initialization for `flac_ip') .... continues with errors for each line of plugin.c and then finishes with .... plugin.c:435: error: request for member `channels' in something not a structure or union plugin.c:443: error: request for member `output' in something not a structure or union plugin.c:444: error: request for member `output' in something not a structure or union plugin.c:446: error: request for member `title' in something not a structure or union plugin.c: In function `write_callback_': plugin.c:493: error: `file_info' undeclared (first use in this function) plugin.c:493: error: syntax error before ')' token plugin.c:491: warning: unused parameter `client_data' plugin.c: In function `metadata_callback_': plugin.c:553: error: `file_info' undeclared (first use in this function) plugin.c:553: error: syntax error before ')' token plugin.c: In function `error_callback_': plugin.c:574: error: `file_info' undeclared (first use in this function) plugin.c:574: error: syntax error before ')' token plugin.c: In function `metadata_callback_': plugin.c:551: warning: unused parameter `client_data' plugin.c: In function `error_callback_': plugin.c:572: warning: unused parameter `client_data' distcc[8942] ERROR: compile on localhost failed make[3]: *** [plugin.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src/plugin_xmms' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1' make: *** [all] Error 2 !!! ERROR: media-libs/flac-1.1.1 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! (no error message) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac/attachments/20041015/9fe0291f/attachment.htm
AFormat comes from the XMMS headers, maybe the version you have is newer or older than the code currently expects. what version of xmms to you have? Josh --- Rogier Eggers <rogier@r48.sytes.net> wrote:> Hello there. I'm having trouble to compile flac on gentoo linux: > linux-2.6.8 > gcc-3.3.4 > glibc-2.3.4 nptl enabled > > I would be happy if someone could help me with this error: > > if ../../libtool-disable-static --mode=compile gcc -DHAVE_CONFIG_H > -I. > -I. -I../.. -I../../src -I../.. -I./include -I../../include -O2 > -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline > -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 -fomit-frame-pointer > -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/X11R6/include -MT plugin.lo -MD -MP > -MF > ".deps/plugin.Tpo" -c -o plugin.lo plugin.c; \ > then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f > ".deps/plugin.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../.. -I./include > -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall > -W > -Winline -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 > -fomit-frame-pointer -I/usr/include/xmms -I/usr/include/gtk-1.2 > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > -MT > plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c -fPIC > distcc[8942] (dcc_connect_timed) ERROR: Connection to 10.0.0.1:3632 > failed: Connection refused > distcc[8942] (dcc_build_somewhere) Warning: failed to distribute to > 10.0.0.1, running locally instead > plugin.c:71: error: syntax error before "AFormat" > plugin.c:71: warning: no semicolon at end of struct or union > plugin.c:77: error: syntax error before '}' token > plugin.c:77: warning: type defaults to `int' in declaration of > `file_info_struct' > plugin.c:77: warning: data definition has no type or storage class > plugin.c:97: error: syntax error before "flac_ip" > plugin.c:97: warning: type defaults to `int' in declaration of > `flac_ip' > plugin.c:99: warning: initialization makes integer from pointer > without > a cast > plugin.c:100: warning: excess elements in scalar initializer > plugin.c:100: warning: (near initialization for `flac_ip') > plugin.c:101: warning: excess elements in scalar initializer > plugin.c:101: warning: (near initialization for `flac_ip') > plugin.c:102: warning: excess elements in scalar initializer > plugin.c:102: warning: (near initialization for `flac_ip') > > .... continues with errors for each line of plugin.c and then > finishes > with .... > > plugin.c:435: error: request for member `channels' in something not a > structure or union > plugin.c:443: error: request for member `output' in something not a > structure or union > plugin.c:444: error: request for member `output' in something not a > structure or union > plugin.c:446: error: request for member `title' in something not a > structure or union > plugin.c: In function `write_callback_': > plugin.c:493: error: `file_info' undeclared (first use in this > function) > plugin.c:493: error: syntax error before ')' token > plugin.c:491: warning: unused parameter `client_data' > plugin.c: In function `metadata_callback_': > plugin.c:553: error: `file_info' undeclared (first use in this > function) > plugin.c:553: error: syntax error before ')' token > plugin.c: In function `error_callback_': > plugin.c:574: error: `file_info' undeclared (first use in this > function) > plugin.c:574: error: syntax error before ')' token > plugin.c: In function `metadata_callback_': > plugin.c:551: warning: unused parameter `client_data' > plugin.c: In function `error_callback_': > plugin.c:572: warning: unused parameter `client_data' > distcc[8942] ERROR: compile on localhost failed > make[3]: *** [plugin.lo] Error 1 > make[3]: Leaving directory > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src/plugin_xmms' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1' > make: *** [all] Error 2 > > > !!! ERROR: media-libs/flac-1.1.1 failed. > !!! Function src_compile, Line 49, Exitcode 2 > !!! (no error message)_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
Josh, thanks for answering. I had xmms 1.2.10 . I removed it to see if flac would compile without xmms, and now I get this: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./include -I../../include -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 -fomit-frame-pointer -c file_decoder.c -MT file_decoder.lo -MD -MP -MF .deps/file_decoder.TPlo -fPIC -DPIC -o .libs/file_decoder.lo gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. distcc[31017] ERROR: compile on 10.0.0.1 failed make[4]: *** [file_decoder.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/flac-1.1.0-r2/work/flac-1.1.0/src/libFLAC' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/flac-1.1.0-r2/work/flac-1.1.0/src/libFLAC' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/flac-1.1.0-r2/work/flac-1.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/flac-1.1.0-r2/work/flac-1.1.0' make: *** [all] Error 2 !!! ERROR: media-libs/flac-1.1.0-r2 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! (no error message) On Fri, 2004-10-15 at 01:16, Josh Coalson wrote:> AFormat comes from the XMMS headers, maybe the version you > have is newer or older than the code currently expects. > > what version of xmms to you have? > > Josh > > --- Rogier Eggers <rogier@r48.sytes.net> wrote: > > > Hello there. I'm having trouble to compile flac on gentoo linux: > > linux-2.6.8 > > gcc-3.3.4 > > glibc-2.3.4 nptl enabled > > > > I would be happy if someone could help me with this error: > > > > if ../../libtool-disable-static --mode=compile gcc -DHAVE_CONFIG_H > > -I. > > -I. -I../.. -I../../src -I../.. -I./include -I../../include -O2 > > -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline > > -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 -fomit-frame-pointer > > -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > > -I/usr/lib/glib/include -I/usr/X11R6/include -MT plugin.lo -MD -MP > > -MF > > ".deps/plugin.Tpo" -c -o plugin.lo plugin.c; \ > > then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f > > ".deps/plugin.Tpo"; exit 1; fi > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../.. -I./include > > -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall > > -W > > -Winline -DFLaC__INLINE=__inline__ -O2 -mcpu=pentium2 > > -fomit-frame-pointer -I/usr/include/xmms -I/usr/include/gtk-1.2 > > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include > > -MT > > plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.c -fPIC > > distcc[8942] (dcc_connect_timed) ERROR: Connection to 10.0.0.1:3632 > > failed: Connection refused > > distcc[8942] (dcc_build_somewhere) Warning: failed to distribute to > > 10.0.0.1, running locally instead > > plugin.c:71: error: syntax error before "AFormat" > > plugin.c:71: warning: no semicolon at end of struct or union > > plugin.c:77: error: syntax error before '}' token > > plugin.c:77: warning: type defaults to `int' in declaration of > > `file_info_struct' > > plugin.c:77: warning: data definition has no type or storage class > > plugin.c:97: error: syntax error before "flac_ip" > > plugin.c:97: warning: type defaults to `int' in declaration of > > `flac_ip' > > plugin.c:99: warning: initialization makes integer from pointer > > without > > a cast > > plugin.c:100: warning: excess elements in scalar initializer > > plugin.c:100: warning: (near initialization for `flac_ip') > > plugin.c:101: warning: excess elements in scalar initializer > > plugin.c:101: warning: (near initialization for `flac_ip') > > plugin.c:102: warning: excess elements in scalar initializer > > plugin.c:102: warning: (near initialization for `flac_ip') > > > > .... continues with errors for each line of plugin.c and then > > finishes > > with .... > > > > plugin.c:435: error: request for member `channels' in something not a > > structure or union > > plugin.c:443: error: request for member `output' in something not a > > structure or union > > plugin.c:444: error: request for member `output' in something not a > > structure or union > > plugin.c:446: error: request for member `title' in something not a > > structure or union > > plugin.c: In function `write_callback_': > > plugin.c:493: error: `file_info' undeclared (first use in this > > function) > > plugin.c:493: error: syntax error before ')' token > > plugin.c:491: warning: unused parameter `client_data' > > plugin.c: In function `metadata_callback_': > > plugin.c:553: error: `file_info' undeclared (first use in this > > function) > > plugin.c:553: error: syntax error before ')' token > > plugin.c: In function `error_callback_': > > plugin.c:574: error: `file_info' undeclared (first use in this > > function) > > plugin.c:574: error: syntax error before ')' token > > plugin.c: In function `metadata_callback_': > > plugin.c:551: warning: unused parameter `client_data' > > plugin.c: In function `error_callback_': > > plugin.c:572: warning: unused parameter `client_data' > > distcc[8942] ERROR: compile on localhost failed > > make[3]: *** [plugin.lo] Error 1 > > make[3]: Leaving directory > > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src/plugin_xmms' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory > > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1' > > make: *** [all] Error 2 > > > > > > !!! ERROR: media-libs/flac-1.1.1 failed. > > !!! Function src_compile, Line 49, Exitcode 2 > > !!! (no error message) > > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/flac/attachments/20041015/74154587/attachment-0001.htm