The build went along happily for quite a while, until:

gcc -shared -Wl,--export-dynamic -o plugins/m3u.plf plm/playlist/m3u/m3u.o
c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dlinux -Ilib/gdbm 
-Ibase/include -Iconfig -Iio/include -Iui/include -Ilmc/include -Ibase/unix/include 
-Ibase/unix/linux/include -Iio/esound/include -Iui/musicbrowser/unix 
-Iui/freeamp/include -Iui/freeamp/unix/include -Iui/download/unix/include 
-Iio/soundcard/unix/linux/include -Iui/lcd/include -Iui/irman/include 
-Ilmc/xingmp3/include -Iplm/portable/pmp300/sba -Ilib/xml/include -Ilib/zlib/include 
-Wall -Wno-return-type -g -O2 -I/usr/X11R6/include -I/usr/lib/glib/include 
-D_REENTRANT   -fpic -c io/esound/src/esoundpmo.cpp -o io/esound/src/esoundpmo.o
In file included from /usr/include/esd.h:3,
                 from io/esound/src/esoundpmo.cpp:31:
/usr/include/audiofile.h:603: parse error before `}'
make[1]: *** [io/esound/src/esoundpmo.o] Error 1
make[1]: Leaving directory `/home/ben/src/freeamp/freeamp'

I'm guessing my version of esd is old or something.. here's the end
of my /usr/include/audiofile.h:

#ifdef __cplusplus
}
#endif /* __cplusplus */

This seems to match the beginning:

#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

What's going on? Is it my pathetic C++ compiler? I'm using EGCS
2.91.60, the version that came with Debian 2.1.

Or are my versions of the esd headers no good? I've got the following
esd stuff installed:

ii  libesd0         0.2.10-0.19990 Enlightened Sound Daemon - Shared libraries
ii  libesd0-dev     0.2.10-0.19990 Enlightened Sound Daemon - Development files

Ben

-- 
Brought to you by the letters A and T and the number 14.
"You have my pills!"
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/

Reply via email to