Csound Csound-dev Csound-tekno Search About

2 versions, 2 compiles, 2 failures -Mklinux

Date1999-07-17 09:50
FromDspondike@aol.com
Subject2 versions, 2 compiles, 2 failures -Mklinux
Dear list,
I need some compiling help. I have a PowerMac 7100 with Mklinux DR3 (CDrom 
7/7/99) kernel 2.0.33.
Tried compiling version 3.481 first. The packages for utils1 compiled fine. 
For the anals and utils2 packages, I got an error:
../wave.o In Function "ReWriteHdr"
../wave.o undefined reference to "tell"

Then I tried version 3.482. make config worked fine.  make clean; make  
seemed to be working fine, processing various files starting with main, 
musmon, otran . . .
aops, midiops - but when it got to midirecv, I got the following error:

midirecv.c: 81 "RAW" undeclared
First use this function

The Csound on the Mac side of my machine seems to be running fine. The 'toot' 
files generate sound, even after I edit them. I would really like to get 
Csound running on the (Mk)Linux side of my machine.  Can anybody out there 
lend a hand?

Thanks,
David
Dspondike@aol.com


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00623;
          17 Jul 99 16:28 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115WOT-0006ZI-00
	for jpff@maths.bath.ac.uk; Sat, 17 Jul 1999 16:28:53 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA02842); Sat, 17 Jul 1999 16:26:48 +0100 (BST)
From: Dspondike@aol.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 17 Jul 1999 16:26:38 +0100
Received: from imo11.mx.aol.com [198.81.17.1] by hermes via ESMTP (QAA12600); Sat, 17 Jul 1999 16:26:37 +0100 (BST)
Received: from Dspondike@aol.com
	by imo11.mx.aol.com (IMOv20.21) id 9GOFa21343 (4222);
	Sat, 17 Jul 1999 11:25:32 -0400 (EDT)
Message-ID: <2e460aa9.24c1fa6b@aol.com>
Date: Sat, 17 Jul 1999 11:25:31 EDT
Subject: Csound -compiling error on MKLinux
To: csound@maths.ex.ac.uk, colug@bopper.wcbe.org
CC: rfunk@wks.uts.ohio-state.edu, dlphilp@bright.net
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: AOL for Macintosh sub 54
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Dear list, et. al
Re: Csound version 3.482 compiling error using MkLinux (DR3, kernel 2.0.33 on 
PowerMac 7100).

While processing   make clean; make,   gets to the command   midirecv   and 
errors:

midirecv: 81: RAW undeclared First use this function

In the file midirecv.c - in the else statement of the function MidiOpen:

else {
if ((rtfd = open (O.Midiname, O_RDONLY | O_NDELAY, O)) < O)
dies ("cannot open %s O.Midiname);
ioctl (rtfd) TIOCGETP, &tty);   /*for other machines*/
tty.sg_ispeed = INBAUD           /*set baud rate*/
tty.sg_flags = RAW;               /*and no IO processing*/
ioctl (rtfd, TIOCSETP, &tty);

preceding, seemingly relevant lines in midirecv.c are:

#define INBAUD EXTB
static structures sgttyb tty

Should there be a line 
#define RAW = xxxxx      
? or is this supposed to come from another file ?

"Dammit Spock, I'm a musician, not a programmer!" (lol)
This is as close as I can get to finding a solution for the time being.
Any pointers? help?

David
Dspondike@aol.com


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00996;
          17 Jul 99 20:47 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115aRA-00014l-00
	for jpff@maths.bath.ac.uk; Sat, 17 Jul 1999 20:47:56 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (UAA03393); Sat, 17 Jul 1999 20:45:39 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 17 Jul 1999 20:45:29 +0100
Received: from grynet.passagen.se [195.163.107.36] by hermes via ESMTP (UAA12556); Sat, 17 Jul 1999 20:45:27 +0100 (BST)
Received: from dumburk (z15-4-135.sbbs2.net [212.112.4.135])
	by grynet.passagen.se (8.8.6/8.8.6) with SMTP id VAA05876
	for ; Sat, 17 Jul 1999 21:45:25 +0200 (MDT)
Message-ID: <3790DE5A.1087@hem.passagen.se>
Date: Sat, 17 Jul 1999 21:50:01 +0200
From: rasmus ekman 
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: Csound list 
Subject: Re: 2 versions, 2 compiles, 2 failures -Mklinux
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Dspondike@aol.com wrote:
> 
> Tried compiling version 3.481 first. 
> Then I tried version 3.482. 

These versions came out about a year ago.  There have been
several new versions since, where things have changed; 
the code snip you quote cannot be found in the present 
version (3.55) of the file in exactly that form. 
Get the newest from ftp://ftp.maths.bath.ac.uk/pub/dream/

> Should there be a line 
> #define RAW = xxxxx 
> ? or is this supposed to come from another file ?

It looks like it should be defined in some system header file. 
Note that these statements in MidiOpen() are contained inside 
various #ifdefs, so you must make sure that you have the 
right ones for your compiler and platform (don't know which 
ones though, since I unfortunately don't do much of either 
Linux or MacCsound).

I'd like to see a file that collects the preprocessor flags 
for all the compiled versions available from Bath (and other
places).

Good luck,

	re


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01058;
          17 Jul 99 21:39 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115bF4-0006cX-00
	for jpff@maths.bath.ac.uk; Sat, 17 Jul 1999 21:39:30 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA10212); Sat, 17 Jul 1999 21:36:57 +0100 (BST)
Received: from mordell.ex.ac.uk by maths.ex.ac.uk; Sat, 17 Jul 1999 21:36:47 +0100
Received: (from james@localhost)
	by mordell.ex.ac.uk (8.9.3/8.8.8/Debian/GNU) id VAA04801
	for csound@maths.ex.ac.uk; Sat, 17 Jul 1999 21:31:45 +0100
Date: Sat, 17 Jul 1999 21:31:45 +0100
From: James Andrews 
To: csound@maths.ex.ac.uk
Subject: The Stars Circle
Message-ID: <19990717213145.B4765@maths.ex.ac.uk>
Reply-To: mar095k1@ud.nettuno.it
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.1i
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I'd like to inform you about the premiere of a new installation of mine, =
'The Stars Circle' , a piece realized largely using Csound for sound =
rendering.

The premiere will take place during the Arts festival "Stazione di =
Topolo' ", on saturday july 17 (21.30-24.00)  in Topolo', Grimacco (Ud) =
- Italy

You can see detailed information about the festival at
http://www.friul.it/topolo

Alessandro Fogar
Viale del Turismo 30/3
34073 Grado (Go)
Italy