Subject: | Doesn't build correctly |
Ao does not build for me correctly. libao headers are installed.
Here the error during the make process:
make
cp Ao.pm blib/lib/Ao.pm
AutoSplitting blib/lib/Ao.pm (blib/lib/auto/Ao)
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap Ao.xs > Ao.xsc && mv Ao.xsc Ao.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl/5.8/CORE" Ao.c
Ao.c: In function `XS_Ao_get_driver_info':
Ao.c:206: error: `ao_info_t' undeclared (first use in this function)
Ao.c:206: error: (Each undeclared identifier is reported only once
Ao.c:206: error: for each function it appears in.)
Ao.c:206: error: `RETVAL' undeclared (first use in this function)
Ao.xs:173: error: `info' undeclared (first use in this function)
Ao.xs: In function `XS_Ao_open':
Ao.xs:194: error: `ao_option_t' undeclared (first use in this function)
Ao.xs:194: error: `ao_options' undeclared (first use in this function)
Ao.c:245: error: `ao_device_t' undeclared (first use in this function)
Ao.c:245: error: `RETVAL' undeclared (first use in this function)
Ao.xs:204: warning: passing arg 2 of `Perl_sv_2mortal' from incompatible pointer type
Ao.xs:204: warning: assignment from incompatible pointer type
Ao.xs:207: warning: passing arg 4 of `Perl_hv_iternextsv' from incompatible pointer type
Ao.xs:211: error: too few arguments to function `ao_append_option'
Ao.c: In function `XS_Ao_play':
Ao.c:301: error: `ao_device_t' undeclared (first use in this function)
Ao.c:301: error: `device' undeclared (first use in this function)
Ao.c:307: error: parse error before ')' token
Ao.c: In function `XS_Ao_close':
Ao.c:331: error: `ao_device_t' undeclared (first use in this function)
Ao.c:331: error: `device' undeclared (first use in this function)
Ao.c:335: error: parse error before ')' token
make: *** [Ao.o] Error 1
TIA,
Florian Ragwitz