[Flac] compile errors

Rogier Eggers rogier at r48.sytes.net
Thu Oct 14 16:02:20 PDT 2004


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


More information about the Flac mailing list