[linux-audio-dev] gQ for Linux

Dave Phillips dlphilp at bright.net
Wed Aug 13 18:58:00 UTC 2003


Greetings:

  I've downloaded Dan's sources and am in the process of getting gQ to
compile. I have the ViewKit stuff from ICS, and I also have OpenMotif on
my system. I've edited the Makefile for a Linux machine but I'm
currently stuck here:

[dlphilp at localhost gQ.src]$ make
gcc -g -O2 -c  MasterControls.C
In file included from MasterControls.C:149:
SoundIn.h:26: syntax error before `;'
SoundIn.h:27: syntax error before `;'
MasterControls.C: In method `MasterControls::MasterControls (const char
*, _WidgetRec *)':
MasterControls.C:250: name lookup of `i' changed for new ISO `for'
scoping
MasterControls.C:243:   using obsolete binding at `i'
MasterControls.C: In method `void MasterControls::play (_WidgetRec *,
void *)':
MasterControls.C:1106: warning: passing `double' for argument passing 1
of `sleep (unsigned int)'
MasterControls.C:1106: warning: argument to `unsigned int' from `double'
MasterControls.C:1119: cannot convert `void (*) ()' to `void (*) (int)'
for argument `2' to `signal (int, void (*) (int))'
MasterControls.C:1128: `PR_SADDR' undeclared (first use this function)
MasterControls.C:1128: (Each undeclared identifier is reported only once
for each function it appears in.)
MasterControls.C:1128: `sproc' undeclared (first use this function)
MasterControls.C: In method `void MasterControls::stopPlay (_WidgetRec
*, void *)':
MasterControls.C:1184: warning: passing `double' for argument passing 1
of `sleep (unsigned int)'
MasterControls.C:1184: warning: argument to `unsigned int' from `double'
MasterControls.C: In method `void MasterControls::OpenFile (const char
*)':
MasterControls.C:1593: name lookup of `i' changed for new ISO `for'
scoping
MasterControls.C:1586:   using obsolete binding at `i'
MasterControls.C: In method `void MasterControls::SaveFileAs (const char
*)':
MasterControls.C:1659: name lookup of `i' changed for new ISO `for'
scoping
MasterControls.C:1652:   using obsolete binding at `i'
MasterControls.C: In method `void MasterControls::SaveFile ()':
MasterControls.C:1684: name lookup of `i' changed for new ISO `for'
scoping
MasterControls.C:1677:   using obsolete binding at `i'
MasterControls.C: In method `void MasterControls::OpenSoundfile (const
char *)':
MasterControls.C:1731: warning: assignment to `int' from `float'
MasterControls.C:1731: warning: argument to `int' from `float'
MasterControls.C: In method `void MasterControls::writeAIFF ()':
MasterControls.C:1780: cannot convert `void (*) ()' to `void (*) (int)'
for argument `2' to `signal (int, void (*) (int))'
MasterControls.C:1799: warning: passing `double' for argument passing 1
of `sleep (unsigned int)'
MasterControls.C:1799: warning: argument to `unsigned int' from `double'
MasterControls.C: In method `void MasterControls::writeNEXT ()':
MasterControls.C:1850: cannot convert `void (*) ()' to `void (*) (int)'
for argument `2' to `signal (int, void (*) (int))'
MasterControls.C:1868: warning: passing `double' for argument passing 1
of `sleep (unsigned int)'
MasterControls.C:1868: warning: argument to `unsigned int' from `double'
MasterControls.C: In function `void playsnd (void *)':
MasterControls.C:1952: warning: initialization to `int' from `float'
MasterControls.C:1952: warning: argument to `int' from `float'
MasterControls.C:1953: warning: initialization to `int' from `float'
MasterControls.C:1953: warning: argument to `int' from `float'
MasterControls.C: In function `void playsndMono (void *)':
MasterControls.C:2049: warning: initialization to `int' from `float'
MasterControls.C:2049: warning: argument to `int' from `float'
MasterControls.C:2050: warning: initialization to `int' from `float'
MasterControls.C:2050: warning: argument to `int' from `float'
MasterControls.C: In method `void MasterControls::DrawGrid ()':
MasterControls.C:2350: name lookup of `i' changed for new ISO `for'
scoping
MasterControls.C:2349:   using obsolete binding at `i'
make: *** [MasterControls.o] Error 1


  I'm stuck at the syntax error in SoundIn.h and at the PS_SADDR macro,
and I'm open to advice and suggestions. If anyone would like to help out
with the port please contact me off-list and we'll carry on from there.

Best regards,

== Dave Phillips

	The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
	The Linux Soundapps Site at http://linux-sound.org



More information about the Linux-audio-dev mailing list