<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Compiling the KDEMULTIMEDIA source package with ALSA support</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I am running Red Hat 9 with Kernel 2.4.22</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have also installed alsa version 9.7 sound drivers.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am attempting to get support for MPG and midi files </FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I can not get the kmidi player that came with Red hat to work properly</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have downloaded and am attempting to compile and install kdemultimedia-3.1.4 from source code</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">If I build the source with the standard commands</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">./configure</FONT>
<BR><FONT SIZE=2 FACE="Arial">make </FONT>
<BR><FONT SIZE=2 FACE="Arial">make install</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Make builds the executable files , but does not seem to install them</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">If I run the newly compiled kmidi application , I get an error message that kmidi was not compiled with Alsa support and it will not play midi files.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">If I modify the configure command to add --with-alsa , </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I then get compiler errors in the file alsa.c.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The errors include undefined symbols SND_PCM_REPLAY and several others as well as undefined functions.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have searced my hard drive header files and can not find any reference to the undefined functions and symbols.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">There seems to be a missing library or header file.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have downloaded and installed all of the alsa packages that I can find</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">driver</FONT>
<BR><FONT SIZE=2 FACE="Arial">lib</FONT>
<BR><FONT SIZE=2 FACE="Arial">utils</FONT>
<BR><FONT SIZE=2 FACE="Arial">tools</FONT>
<BR><FONT SIZE=2 FACE="Arial">oss</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">They all compile and install without error.</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">However, the kdemultimedia package will not build with ALSA support enabled.</FONT>
</P>
<BR>
<BR>
</BODY>
</HTML>