<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
Hello there. I'm having trouble to compile flac on gentoo linux:<BR>
linux-2.6.8<BR>
gcc-3.3.4<BR>
glibc-2.3.4 nptl enabled<BR>
<BR>
I would be happy if someone could help me with this error:<BR>
<BR>
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; \ <BR>
then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f ".deps/plugin.Tpo"; exit 1; fi <BR>
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 <BR>
distcc[8942] (dcc_connect_timed) ERROR: Connection to 10.0.0.1:3632 failed: Connection refused <BR>
distcc[8942] (dcc_build_somewhere) Warning: failed to distribute to 10.0.0.1, running locally instead <BR>
plugin.c:71: error: syntax error before "AFormat" <BR>
plugin.c:71: warning: no semicolon at end of struct or union <BR>
plugin.c:77: error: syntax error before '}' token <BR>
plugin.c:77: warning: type defaults to `int' in declaration of `file_info_struct' <BR>
plugin.c:77: warning: data definition has no type or storage class <BR>
plugin.c:97: error: syntax error before "flac_ip" <BR>
plugin.c:97: warning: type defaults to `int' in declaration of `flac_ip' <BR>
plugin.c:99: warning: initialization makes integer from pointer without a cast <BR>
plugin.c:100: warning: excess elements in scalar initializer <BR>
plugin.c:100: warning: (near initialization for `flac_ip') <BR>
plugin.c:101: warning: excess elements in scalar initializer <BR>
plugin.c:101: warning: (near initialization for `flac_ip') <BR>
plugin.c:102: warning: excess elements in scalar initializer <BR>
plugin.c:102: warning: (near initialization for `flac_ip') <BR>
<BR>
.... continues with errors for each line of plugin.c and then finishes with .... <BR>
<BR>
plugin.c:435: error: request for member `channels' in something not a structure or union <BR>
plugin.c:443: error: request for member `output' in something not a structure or union <BR>
plugin.c:444: error: request for member `output' in something not a structure or union <BR>
plugin.c:446: error: request for member `title' in something not a structure or union <BR>
plugin.c: In function `write_callback_': <BR>
plugin.c:493: error: `file_info' undeclared (first use in this function) <BR>
plugin.c:493: error: syntax error before ')' token <BR>
plugin.c:491: warning: unused parameter `client_data' <BR>
plugin.c: In function `metadata_callback_': <BR>
plugin.c:553: error: `file_info' undeclared (first use in this function) <BR>
plugin.c:553: error: syntax error before ')' token <BR>
plugin.c: In function `error_callback_': <BR>
plugin.c:574: error: `file_info' undeclared (first use in this function) <BR>
plugin.c:574: error: syntax error before ')' token <BR>
plugin.c: In function `metadata_callback_': <BR>
plugin.c:551: warning: unused parameter `client_data' <BR>
plugin.c: In function `error_callback_': <BR>
plugin.c:572: warning: unused parameter `client_data' <BR>
distcc[8942] ERROR: compile on localhost failed <BR>
make[3]: *** [plugin.lo] Error 1 <BR>
make[3]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src/plugin_xmms' <BR>
make[2]: *** [all-recursive] Error 1 <BR>
make[2]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1/src' <BR>
make[1]: *** [all-recursive] Error 1 <BR>
make[1]: Leaving directory `/var/tmp/portage/flac-1.1.1/work/flac-1.1.1' <BR>
make: *** [all] Error 2 <BR>
<BR>
!!! ERROR: media-libs/flac-1.1.1 failed. <BR>
!!! Function src_compile, Line 49, Exitcode 2 <BR>
!!! (no error message)
</BODY>
</HTML>