Csound Csound-dev Csound-tekno Search About

Re: sparc compile troubles

Date1997-12-09 12:30
Fromjpff@maths.bath.ac.uk
SubjectRe: sparc compile troubles
Message written at 8 Dec 1997 22:07:52 +0000
--- Copy of mail to spore@psibercom.org ---
In-reply-to: <11697.199712081525@zeno.maths.exeter.ac.uk>
	(james@maths.ex.ac.uk)
References:  <11697.199712081525@zeno.maths.exeter.ac.uk>

The latest sources have problems with Solaris.  I tried to make some
changes as suggested by someone, and the system seems rather inn a
mess.

The use of -fsingle is not really necessary as the sources are clean.
It may give better code but I doubt it on a modern compiler.

PMASK is a pain, but not a problem.  SUN define this somewhere (but
clearly shoudl not.....the purist speaking...)

The other problem is to do with the struct sgttyb either not being
defined in your version of SunOS, or being defined in a different
header file.  All the errors you report are to do with this structure
and its constants.

Try including a -Dsol in your compile line; it may give you what you
want.  Alternatively change the lines

#if defined(sun) || defined(sol)
#include 
# if defined(sol)
#   include 
# endif

to

#if defined(sun) || defined(sol)
#include 
#include 

and let me know how you get on.  I do not have ready access to a SUN
at present to help more.
==John

Date1997-12-09 17:41
Fromspore!
SubjectRe: sparc compile troubles
>I do not have ready access to a SUN
>at present to help more. 

Hey if it weren't for the draconian firewall at work, I'd give you an
account!  :)

well, I tried adding the -Dsol to the Makefile and that cuts down on the
compiling complaints.  midirecv.c still bombs out but a bit differently
this time....

gcc -O2 -I/usr/demo/SOUND -I/usr/demo/SOUND/include -DWINDOWS -DRTAUDIO
-DSFSUN41 -Dsol   -c midirecv.c -o midirecv.o
In file included from /usr/include/sys/termio.h:13,
                 from midirecv.c:58:
/usr/include/sys/termios.h:265: warning: `HUPCL' redefined
/usr/include/sgtty.h:20: warning: this is the location of the previous
definition
midirecv.c: In function `MidiOpen':
midirecv.c:209: `tty' undeclared (first use this function)
midirecv.c:209: (Each undeclared identifier is reported only once
midirecv.c:209: for each function it appears in.)
make: *** [midirecv.o] Error 1



Any further help you can provide would be great!

I realize it's easy for someone like me to ask about additions to the code
without actually helping  but are there any plans to use a Gnu-style
"configure" script or something similar?

-matt



-- 
-----------------------------------------------------------------------------
Matthew at psibercom					spore@psibercom.org
                 + Nyquist Theory and Soul Management +


Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18272;
          9 Dec 97 22:00 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa24714;
          9 Dec 97 22:00 GMT
Received: (qmail 9827 invoked from network); 9 Dec 1997 21:59:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 9 Dec 1997 21:59:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA20355); Tue, 9 Dec 1997 21:46:44 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 9 Dec 97 21:46:28 GMT
Received: from messiah.cableinet.net [194.117.157.68] by hermes via SMTP (VAA13906); Tue, 9 Dec 1997 21:46:21 GMT
Received: (qmail 6765 invoked from network); 9 Dec 1997 21:48:55 -0000
Received: from lions.cableinet.net (193.38.113.5)
  by messiah with SMTP; 9 Dec 1997 21:48:55 -0000
Received: from igor (usr163-haw.cableinet.co.uk [194.117.146.173]) by lions.cableinet.net (950413.SGI.8.6.12/951211.SGI) via SMTP id VAA24687 for ; Tue, 9 Dec 1997 21:43:12 GMT
Message-Id: <348DBA99.26DB@cableinet.co.uk>
Date: Tue, 09 Dec 1997 21:39:37 +0000
From: Richard Dobson 
Reply-To: RWD@cableinet.co.uk
Organization: Composers Desktop Project
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Newbie read FAQ and tutorial, but still needs answers to a few questions..
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

jpff@maths.bath.ac.uk wrote:
> 

> > It looks as though your command-line version of csound doesn't have the
> > rt playback implemented, though there is no technical reason for it not
> > to.  I have it working in my commandline build of 3.45; I will check
> > with John Fitch about this (needs RTAUDIO etc defining for the
> > commandline build).
> 
> Well I think that there is a technical reason!  The command line-only
> version is a DOS program, and there is no multimedia library for that
> system.  I did try and fail to drive the SoundBlaster -- well it did
> give some sounds but never good enough.  If you are using W95 then the
> windows version used as a command line has the code for -o devaudio.
> Personally I almost never use it as the sounds I generate rarely are
> upto real time.
> 
> ==John ff

I did wonder about this; I'm fairly sure that in principle, so long as
only the standard mmedia calls are made, one could do a DOS/Win3.1
commandline build with the current sources. It might be a long haul, but
I could have a go with our Symantec compiler, which has a royalty-free
DOS-extender - we ue it for the DOS release of our CDP programs. My main
fear is having to sort out problems with the conditional compilation
directives!



Richard Dobson



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18499;
          9 Dec 97 22:53 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25701;
          9 Dec 97 22:53 GMT
Received: (qmail 13497 invoked from network); 9 Dec 1997 22:53:08 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 9 Dec 1997 22:53:08 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA15560); Tue, 9 Dec 1997 22:44:35 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Tue, 9 Dec 97 22:44:19 GMT
Received: from root@solar.sky.net [209.90.0.4] (may be forged) by hermes via ESMTP (WAA23119); Tue, 9 Dec 1997 22:44:12 GMT
Received: from 209.90.4.204 (ts-3-ip12.kc.sky.net [209.90.4.204])
	by sky.net (8.8.5/8.8.5) with ESMTP id QAA17962;
	Tue, 9 Dec 1997 16:47:08 -0600 (CST)
Message-Id: <348DCB2C.29FF113D@solar.sky.net>
Date: Tue, 09 Dec 1997 16:50:24 -0600
From: Cliff Caruthers 
Reply-To: cliffc@sky.net
Organization: Glacial Erratica
X-Mailer: Mozilla 4.01a (Macintosh; I; 68K)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: 68k csound?
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi folks,

Could someone tell me where to find a recent
and reliable version of 68k w/fpu csound?
Many thanks.


Cliff




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18790;
          10 Dec 97 1:48 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa28920;
          10 Dec 97 1:48 GMT
Received: (qmail 23268 invoked from network); 10 Dec 1997 01:48:35 -0000
Received: from chasque.apc.org (206.99.54.1)
  by pat.bath.ac.uk with SMTP; 10 Dec 1997 01:48:35 -0000
Received: from default (a74.chasque.apc.org [206.99.54.74])
	by chasque.apc.org (8.8.5/8.8.5) with SMTP id WAA11154;
	Tue, 9 Dec 1997 22:43:15 +0300 (GMT)
Message-Id: <1.5.4.32.19971210014134.0071e260@chasque.apc.org>
X-Sender: psotuyo@chasque.apc.org
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 09 Dec 1997 22:41:34 -0300
To: jpff@maths.bath.ac.uk
From: psotuyo@chasque.apc.org
Subject: How to change... how to move...
Cc: Csound Mailing List 

>Date: Mon, 08 Dec 1997 20:41:32 -0300
>To: Csound Mailing List 
>From: psotuyo@chasque.apc.org
>Subject: How to change... how to move...
>
>Hi CSound world!
>                Next January I'll change my server, and I need to breifly
unsubscribe from this incredible list (just for a while) until the new
server address is OK.
>                How should I do this?
>                Thanks and see you as soon as possible.
>                                                        Pablo.
>
-----------------------------------------------
Pablo Sotuyo Blanco
Compositor / Composer =20
Interprete de Corno Frances / French Horn Player=20
4=BA Corno de la Banda Sinfonica Municipal de Montevideo /=20
	4th French Horn of the Montevideo City Hall Symphonic Band
Luppo Music (Sounds & Casuals) Editor
-----------------------------------------------
Tomas de Tezanos 1329
CP 11.300 Buceo
Montevideo - Uruguay
mailto:psotuyo@chasque.apc.org
-----------------------------------------------



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18798;
          10 Dec 97 1:53 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29033;
          10 Dec 97 1:53 GMT
Received: (qmail 23508 invoked from network); 10 Dec 1997 01:53:27 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 10 Dec 1997 01:53:27 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA11847); Wed, 10 Dec 1997 01:46:20 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Wed, 10 Dec 97 01:46:01 GMT
Received: from chasque.apc.org [206.99.54.1] by hermes via ESMTP (BAA00557); Wed, 10 Dec 1997 01:45:45 GMT
From: psotuyo@chasque.apc.org
Received: from default (a74.chasque.apc.org [206.99.54.74])
	by chasque.apc.org (8.8.5/8.8.5) with SMTP id WAA11154;
	Tue, 9 Dec 1997 22:43:15 +0300 (GMT)
Message-Id: <1.5.4.32.19971210014134.0071e260@chasque.apc.org>
X-Sender: psotuyo@chasque.apc.org
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 09 Dec 1997 22:41:34 -0300
To: jpff@maths.bath.ac.uk
Subject: How to change... how to move...
Cc: Csound Mailing List 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>Date: Mon, 08 Dec 1997 20:41:32 -0300
>To: Csound Mailing List 
>From: psotuyo@chasque.apc.org
>Subject: How to change... how to move...
>
>Hi CSound world!
>                Next January I'll change my server, and I need to breifly
unsubscribe from this incredible list (just for a while) until the new
server address is OK.
>                How should I do this?
>                Thanks and see you as soon as possible.
>                                                        Pablo.
>
-----------------------------------------------
Pablo Sotuyo Blanco
Compositor / Composer =20
Interprete de Corno Frances / French Horn Player=20
4=BA Corno de la Banda Sinfonica Municipal de Montevideo /=20
	4th French Horn of the Montevideo City Hall Symphonic Band
Luppo Music (Sounds & Casuals) Editor
-----------------------------------------------
Tomas de Tezanos 1329
CP 11.300 Buceo
Montevideo - Uruguay
mailto:psotuyo@chasque.apc.org
-----------------------------------------------