Hi,

I'm trying to update the KDE midi handling code to work with Alsa 0.9 (at 
least, I think that's what I'm doing - it doesn't compile as it is).  While I 
can work out what routines to use etc from the source, I'm a bit confused by 
the typedefs.  In particular with:
#include <alsa/asoundlib.h>
#include <alsa/seq.h>
I get the error:
deviceman.cc: In method `int DeviceManager::initManager()':
deviceman.cc:294: aggregate `struct snd_seq_client_info_t clienti' has 
incomplete type and cannot be initialized
deviceman.cc:295: aggregate `struct snd_seq_port_info_t porti' has incomplete 
type and cannot be initialized
deviceman.cc:302: aggregate `struct snd_seq_system_info_t info' has 
incomplete type and cannot be initialized
deviceman.cc:304: confused by earlier errors, bailing out
make[2]: *** [deviceman.lo] Error 1
make[2]: Leaving directory `/home/andrew/pkg/kdelibs-2.2.1/libkmid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrew/pkg/kdelibs-2.2.1'
make: *** [all-recursive-am] Error 2

And I'm not sure how to fix it.  Please can someone explain?
Thanks,
Andrew

Reply via email to