| By rewriting the makefiles I've been able to compile most of the
standalone utilities from the source tree of version 3.45, but I am
still unable to compile scale. Here's what's happening (repetitions
deleted):
**********************************************************************************
brutus:~/tmp/csnd/util2/scale> make -f makef
cc -I/usr/local/include scale.c
/tmp/cca027521.o: In function `main':
/tmp/cca027521.o(.text+0x296): undefined reference to `mmalloc'
/tmp/cca027521.o(.text+0x4f6): undefined reference to `die'
/tmp/cca027521.o(.text+0x626): undefined reference to `warning'
/tmp/cca027521.o(.text+0xa67): undefined reference to `errmsg'
/tmp/cca027521.o(.text+0xbdd): undefined reference to `getsizformat'
/tmp/cca027521.o(.text+0xcd3): undefined reference to `getstrformat'
/tmp/cca027521.o(.text+0xdfd): undefined reference to `openout'
/tmp/cca027521.o(.text+0xe73): undefined reference to `writeheader'
/tmp/cca027521.o(.text+0xe84): undefined reference to `bytrevhost'
/tmp/cca027521.o(.text+0xeaa): undefined reference to `bytrevhost'
/tmp/cca027521.o(.text+0xed2): undefined reference to `bytrev2'
/tmp/cca027521.o(.text+0xef2): undefined reference to `bytrev4'
/tmp/cca027521.o(.text+0xf54): undefined reference to `mmalloc'
/tmp/cca027521.o(.text+0xfc6): undefined reference to `getstrformat'
/tmp/cca027521.o: In function `SCsndgetset':
/tmp/cca027521.o(.text+0x1618): undefined reference to `sssfinit'
/tmp/cca027521.o(.text+0x1636): undefined reference to `mcalloc'
/tmp/cca027521.o(.text+0x1661): undefined reference to `sstrcod'
/tmp/cca027521.o(.text+0x16ab): undefined reference to `sndgetset'
/tmp/cca027521.o: In function `ScaleSound':
/tmp/cca027521.o(.text+0x17ff): undefined reference to `getsndin'
/tmp/cca027521.o(.text+0x1b1d): undefined reference to `rewriteheader'
/tmp/cca027521.o: In function `FindAndReportMax':
/tmp/cca027521.o(.text+0x1f29): undefined reference to `getsndin'
/tmp/cca027521.o: In function `alawtran':
/tmp/cca027521.o(.text+0x23d9): undefined reference to `die'
/tmp/cca027521.o: In function `ulawtran':
/tmp/cca027521.o(.text+0x2487): undefined reference to `exp_lut'
make: *** [scale.o] Error 1
**********************************************************************************
And here's the (hacked) makefile:
**********************************************************************************
# scale Makef
# macros passed from csound/Makefile
# CFLAGS INCLUDE LIB DEST
OBJS = $T/sndinfo.o $T/filopen.o $T/sfheader.o $T/soundin.o \
$T/ulaw.o $T/aiff.o $T/wave.o $T/ieee80.o $T/memalloc.o
T = ../..
INC = /usr/local/include
scale: scale.o
$(CC) $(CFLAGS) scale.o $(OBJS) -lm -o scale
scale.o: scale.c
$(CC) $(CFLAGS) -I$(INC) scale.c
install: scale
-strip scale
rm -f $(DEST)/scale
cp scale $(DEST)
**********************************************************************************
Each undefined reference appearing in the aborted make is resolved by
the files in OBJS, but as you can see the compile never makes it past
failing to create scale.o,
and I'm quite stuck as to why. Any and all help would be vastly
appreciated, I really need this utility !
== Dave Phillips
http://www.bright.net/~dlphilp/index.html
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00326;
6 Feb 97 13:52 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa20530;
6 Feb 97 13:53 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 13:53:30 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (NAA05690);
Thu, 6 Feb 1997 13:40:15 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 13:40:06 GMT
Received: from sparticus.bright.net [205.212.123.14] by hermes
via ESMTP (NAA05619); Thu, 6 Feb 1997 13:39:55 GMT
Received: from brutus (root@find2-cs-5.dial.bright.net [205.212.145.151])
by mail.bright.net (8.8.5/8.8.5/FNG) with SMTP id IAA29164;
Thu, 6 Feb 1997 08:40:17 -0500 (EST)
Message-Id: <32F9E001.764FE359@bright.net>
Date: Thu, 06 Feb 1997 08:43:29 -0500
From: Dave Phillips
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.26 i486)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Cc: jpff@maths.bath.ac.uk
Subject: re: scale for Linux ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
By rewriting the makefiles I've been able to compile most of the
standalone utilities from the source tree of version 3.45, but I am
still unable to compile scale. Here's what's happening (repetitions
deleted):
**********************************************************************************
brutus:~/tmp/csnd/util2/scale> make -f makef
cc -I/usr/local/include scale.c
/tmp/cca027521.o: In function `main':
/tmp/cca027521.o(.text+0x296): undefined reference to `mmalloc'
/tmp/cca027521.o(.text+0x4f6): undefined reference to `die'
/tmp/cca027521.o(.text+0x626): undefined reference to `warning'
/tmp/cca027521.o(.text+0xa67): undefined reference to `errmsg'
/tmp/cca027521.o(.text+0xbdd): undefined reference to `getsizformat'
/tmp/cca027521.o(.text+0xcd3): undefined reference to `getstrformat'
/tmp/cca027521.o(.text+0xdfd): undefined reference to `openout'
/tmp/cca027521.o(.text+0xe73): undefined reference to `writeheader'
/tmp/cca027521.o(.text+0xe84): undefined reference to `bytrevhost'
/tmp/cca027521.o(.text+0xeaa): undefined reference to `bytrevhost'
/tmp/cca027521.o(.text+0xed2): undefined reference to `bytrev2'
/tmp/cca027521.o(.text+0xef2): undefined reference to `bytrev4'
/tmp/cca027521.o(.text+0xf54): undefined reference to `mmalloc'
/tmp/cca027521.o(.text+0xfc6): undefined reference to `getstrformat'
/tmp/cca027521.o: In function `SCsndgetset':
/tmp/cca027521.o(.text+0x1618): undefined reference to `sssfinit'
/tmp/cca027521.o(.text+0x1636): undefined reference to `mcalloc'
/tmp/cca027521.o(.text+0x1661): undefined reference to `sstrcod'
/tmp/cca027521.o(.text+0x16ab): undefined reference to `sndgetset'
/tmp/cca027521.o: In function `ScaleSound':
/tmp/cca027521.o(.text+0x17ff): undefined reference to `getsndin'
/tmp/cca027521.o(.text+0x1b1d): undefined reference to `rewriteheader'
/tmp/cca027521.o: In function `FindAndReportMax':
/tmp/cca027521.o(.text+0x1f29): undefined reference to `getsndin'
/tmp/cca027521.o: In function `alawtran':
/tmp/cca027521.o(.text+0x23d9): undefined reference to `die'
/tmp/cca027521.o: In function `ulawtran':
/tmp/cca027521.o(.text+0x2487): undefined reference to `exp_lut'
make: *** [scale.o] Error 1
**********************************************************************************
And here's the (hacked) makefile:
**********************************************************************************
# scale Makef
# macros passed from csound/Makefile
# CFLAGS INCLUDE LIB DEST
OBJS = $T/sndinfo.o $T/filopen.o $T/sfheader.o $T/soundin.o \
$T/ulaw.o $T/aiff.o $T/wave.o $T/ieee80.o $T/memalloc.o
T = ../..
INC = /usr/local/include
scale: scale.o
$(CC) $(CFLAGS) scale.o $(OBJS) -lm -o scale
scale.o: scale.c
$(CC) $(CFLAGS) -I$(INC) scale.c
install: scale
-strip scale
rm -f $(DEST)/scale
cp scale $(DEST)
**********************************************************************************
Each undefined reference appearing in the aborted make is resolved by
the files in OBJS, but as you can see the compile never makes it past
failing to create scale.o,
and I'm quite stuck as to why. Any and all help would be vastly
appreciated, I really need this utility !
== Dave Phillips
http://www.bright.net/~dlphilp/index.html
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00476;
6 Feb 97 14:08 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa21288;
6 Feb 97 14:09 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 14:09:43 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (NAA07237);
Thu, 6 Feb 1997 13:50:26 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 13:50:18 GMT
Received: from sparticus.bright.net [205.212.123.14] by hermes
via ESMTP (NAA07199); Thu, 6 Feb 1997 13:50:12 GMT
Received: from brutus (root@find2-cs-5.dial.bright.net [205.212.145.151])
by mail.bright.net (8.8.5/8.8.5/FNG) with SMTP id IAA01627;
Thu, 6 Feb 1997 08:50:31 -0500 (EST)
Message-Id: <32F9E268.1052C81B@bright.net>
Date: Thu, 06 Feb 1997 08:53:44 -0500
From: Dave Phillips
X-Mailer: Mozilla 3.0 (X11; I; Linux 2.0.26 i486)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: re: scale for Linux ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Never mind, I found the problem and compiled the utility. Just proves
that the quickest way to a solution is to post the problem to a
newsgroup or mail-list: within moments after sending the message the
correct answer will magically appear, making me look like an idiot, of
course...
Btw, making the standalones compile under Linux does require some work
on the makefiles. My goal is to get them all working...
== Dave Phillips
http://www.bright.net/~dlphilp/index.html
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00535;
6 Feb 97 14:17 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa21598;
6 Feb 97 14:18 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 14:18:15 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA09732);
Thu, 6 Feb 1997 14:08:39 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 14:08:33 GMT
Received: from pp@goggins.bath.ac.uk [138.38.32.13] by hermes
via ESMTP (OAA09711); Thu, 6 Feb 1997 14:08:32 GMT
From: jpff@maths.bath.ac.uk
Message-Id: <199702061408.OAA09711@hermes>
Received: from maths.Bath.AC.UK (actually host xenakis.maths.bath.ac.uk)
by goggins.bath.ac.uk with SMTP (PP); Thu, 6 Feb 1997 14:07:46 +0000
To: levi@cis.plym.ac.uk
Cc: csound@maths.ex.ac.uk
In-Reply-To: <32F9A9FA.7D55368C@cis.plym.ac.uk> (levi@cis.plym.ac.uk)
Subject: Re: new 3.45 version
Date: Thu, 6 Feb 97 14:07:29 GMT
Source-Info: From (or Sender) name not authenticated.
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
pub/dream/csound_win.zip is the latest Windows95 version. The whole
dream, directory is in the process of reorganisation at present.
wrt SunOS, my access to Suns is rather odd, and so I do not always
build there. I have trouble finding a working compiler for a start!
==John
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00635;
6 Feb 97 14:26 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa22000;
6 Feb 97 14:27 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 14:27:21 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA10040);
Thu, 6 Feb 1997 14:11:26 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 14:11:19 GMT
Received: from rome.cis.plym.ac.uk [141.163.169.57] by hermes
via ESMTP (OAA10022); Thu, 6 Feb 1997 14:11:17 GMT
Received: from padstow ([141.163.169.14]) by rome.cis.plym.ac.uk (8.7.5/8.7.3)
with SMTP id OAA07506 for ;
Thu, 6 Feb 1997 14:06:52 GMT
Message-Id: <32F9E863.41C67EA6@cis.plym.ac.uk>
Date: Thu, 06 Feb 1997 14:19:16 +0000
From: "Levente.Toth"
Organization: Centre for Intelligent Systems, University of Plymouth
X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.2 sun4c)
Mime-Version: 1.0
To: Csound list
Subject: Re: new 3.45 version
References: <199702061404.OAA07496@rome.cis.plym.ac.uk>
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:
>
> pub/dream/csound_win.zip is the latest Windows95 version. The whole
> dream, directory is in the process of reorganisation at present.
>
> wrt SunOS, my access to Suns is rather odd, and so I do not always
> build there. I have trouble finding a working compiler for a start!
> ==John
Hi,
thanks, I'll have a look.
SUN: yes, I'm using gcc 2.7.2 at the moment, with properly installed
libraries it is OK; otherwise it is a pain, usually clever system
engineers place X Windows etc. libraries in other places than default,
and all Makefiles need cosmetic enhancements...
Levente
--
****************************************************************
* Levente Toth (levi@cis.plym.ac.uk) - Centre for Intelligent *
* Systems, University of Plymouth, Drake Circus, Plymouth *
* Devon,England WEB: www.cis.plym.ac.uk/cis/levi/home.html *
* Tel: 44-1752-233514, 233516 / Fax: 44-1752-232583 *
****************************************************************
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00771;
6 Feb 97 14:46 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id ab22837;
6 Feb 97 14:48 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 14:48:03 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA13873);
Thu, 6 Feb 1997 14:40:26 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 14:40:13 GMT
Received: from pp@goggins.bath.ac.uk [138.38.32.13] by hermes
via ESMTP (OAA13832); Thu, 6 Feb 1997 14:40:11 GMT
From: jpff@maths.bath.ac.uk
Message-Id: <199702061440.OAA13832@hermes>
Received: from maths.Bath.AC.UK (actually host xenakis.maths.bath.ac.uk)
by goggins.bath.ac.uk with SMTP (PP); Thu, 6 Feb 1997 14:39:51 +0000
To: dlphilp@mail.bright.net
Cc: csound@maths.ex.ac.uk
In-Reply-To: <32F9E001.764FE359@bright.net> (message from Dave Phillips on Thu, 06 Feb 1997 08:43:29 -0500)
Subject: Re: scale for Linux ?
Date: Thu, 6 Feb 97 14:39:31 GMT
Source-Info: From (or Sender) name not authenticated.
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
You are not inheriting the CFLAGS from teh top level correctly. I
think you are failing to pick up the header file, or teh conditional
compilation of it. Works on SGI I might add.
==John
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01091;
6 Feb 97 15:38 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa24697;
6 Feb 97 15:39 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 15:38:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA20651);
Thu, 6 Feb 1997 15:31:08 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 15:31:02 GMT
Received: from root@big.fishnet.net [205.216.133.3] by hermes
via ESMTP (PAA20633); Thu, 6 Feb 1997 15:30:58 GMT
Received: from port004.vta.fishnet.net (port004.vta.fishnet.net [205.216.133.153])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id HAA17868;
Thu, 6 Feb 1997 07:41:03 -0800
X-Authentication-Warning: big.fishnet.net: Host port004.vta.fishnet.net
[205.216.133.153] didn't use HELO protocol
Message-Id: <32F9F9A4.3166579B@rcsreg.com>
Date: Thu, 06 Feb 1997 07:32:52 -0800
From: Toby
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.27 i486)
Mime-Version: 1.0
To: Dave Phillips
Cc: csound@maths.ex.ac.uk
Subject: Re: scale for Linux ?
References: <32F9E268.1052C81B@bright.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Dave Phillips wrote:
>
> Never mind, I found the problem and compiled the utility.
I have been unsuccessful a compiling 'scale' under linux
as well. Could you share your fixes, or make binary available?
Thanks.
Toby
-There otta be a law-
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01409;
6 Feb 97 17:09 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa28126;
6 Feb 97 17:10 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Thu, 6 Feb 1997 17:10:25 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA01372);
Thu, 6 Feb 1997 17:04:05 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Thu, 6 Feb 97 17:03:55 GMT
Received: from root@big.fishnet.net [205.216.133.3] by hermes
via ESMTP (RAA01331); Thu, 6 Feb 1997 17:03:52 GMT
Received: from port043.vta.fishnet.net (port043.vta.fishnet.net [205.216.133.192])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id JAA20814
for ; Thu, 6 Feb 1997 09:14:07 -0800
X-Authentication-Warning: big.fishnet.net: Host port043.vta.fishnet.net
[205.216.133.192] didn't use HELO protocol
Message-Id: <32FA0F76.25D44A87@rcsreg.com>
Date: Thu, 06 Feb 1997 09:05:58 -0800
From: Toby
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.27 i486)
Mime-Version: 1.0
To: Csound Mailing List
Subject: Drumachine 1.0 is available.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Fixed a bug, added a feature.
Package can be found at
http://www.fishnet.net/~willis/drumachine/drumachine.html
Toby
-There otta be a law-
Received: from stork2.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa03427;
7 Feb 97 7:41 GMT
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa22040;
7 Feb 97 7:42 GMT
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
Fri, 7 Feb 1997 07:42:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA04738);
Fri, 7 Feb 1997 07:33:52 GMT
Received: from hermes.ex.ac.uk by noether.maths.exeter.ac.uk;
Fri, 7 Feb 97 07:33:46 GMT
Received: from filoli.com [204.162.0.10] by hermes via ESMTP (HAA04730);
Fri, 7 Feb 1997 07:33:45 GMT
Received: from sunspot.filoli.com (root@sunspot.filoli.com [204.162.1.17])
by filoli.filoli.com (8.6.10/8.6.9) with ESMTP id XAA01977
for ; Thu, 6 Feb 1997 23:33:19 -0800
Received: from pine.filoli.com (pine.filoli.com [204.162.1.216])
by sunspot.filoli.com (8.6.12/8.6.9) with SMTP id XAA20001
for ; Thu, 6 Feb 1997 23:33:19 -0800
From: Charles Baker
Message-Id: <199702070733.XAA20001@sunspot.filoli.com>
Received: by pine.filoli.com (NX5.67f2/NX3.0X) id AA13682;
Thu, 6 Feb 97 23:33:18 -0800
Date: Thu, 6 Feb 97 23:33:18 -0800
To: csound@maths.ex.ac.uk
Subject: NeXT 3.45 binary
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
For those of you still using NeXT black hardware, I have sent a copy of csound
3.45 (with all utilities) to John Fitch's (maths.bath.ac.uk) archive and
Kevin Park's raven.dartmouth.edu site, and I'm sure they will be moving them
out of incoming soon.
As I say in the readme, I see two big TODOs:
1) the faster Intel and HP NeXTStep processors can do 'real-time' audio-streaming to the dacs. Peter Velikonja has written code that sets up a simultainious
file write/dacs write ('streamplay' in the princeton cmix distribution)...
with his kind permission someone could port his driver into csound, I'll bet...
2) David Jaffe has re-written the midi library for MusicKit 4.X... I think
we could port the MIDI code to the new MIDI driver.
3) ..I mean THREE, that's three big TODOs: thirdly (& most important)
we need to have Intel & HP versions..or a 'fat' version.
I'll try to get an intel version of 3.45, unless someone else beets me to it.
As for HP...well, I personally can't: don't have the libs on my machine.
Anyone?
Happy Synthesising!
CharlieB
|