Skip to contentSkip to conversation

midiplay compilation

DISCUSSION Gilles LAMIRAL 2 participants 2 messages Oct 25, 1998 – Oct 26, 1998 Sound

lore
Share & tools
lore
#0 lore raw

Hello,

Is there anyone that succeeded in compiling midiplay ? I have the following errors:

cd midi
xmkmf -a ; make
....
gcc -c -O2 -m486 -g -I../include -I/usr/X11R6/include -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Dlinux -D__i386__ -DX_LOCALE -DFUNCPROTO -DNARROWPROTO -DHAS_NAS -DHAS_FILE -DHAS_VOXWARE -DDEFAULT_DIR=\"/usr/X11R6/lib/midiplay/\" -DDEFAULT_PATCH=\"/usr/X11R6/lib/midiplay/patch.mp\" init.c
In file included from init.c:26:
/usr/include/sched.h:36: parse error before `_P' make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/usr/local/midiplay/midi/midilib'
...

Thanks in advance.

Signature · 2 lines
au revoir,
Gilles Lamiral. Rennes (35).
#1 lore raw

Hello,

what is sched.h around line 36 ? Is it like :
================================__BEGIN_DECLS

/* Set scheduling parameters for a process. */
extern int __sched_setparam __P ((__pid_t __pid,

				  __const struct sched_param *__param));
extern int sched_setparam __P ((__pid_t __pid,
				__const struct sched_param *__param));

=================================
Etienne