Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4711] Csound5, same errors

Date2004-05-14 22:38
Fromiainduncan@telus.net
Subject[CSOUND-DEV:4711] Csound5, same errors
Well, I have to report that updating scons and deleting and replacing the
csound5 source code appears to have made no difference for me. = ( 

Same errors for everything:

With CsoundVST:
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/../../../crt1.o(.text+0x18): In
function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
scons: *** [_CsoundVST.so] Error 1
scons: building terminated because of errors.

With csoundvst off, etags on:
sh: line 1: etags: command not found
scons: *** [TAGS] Error 127
scons: building terminated because of errors.

Without etags:
gcc " -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. -L/usr/lib -L/usr/local/lib
gcc:  -shared: No such file or directory
scons: *** [libbabo.so] Error 1
scons: building terminated because of errors.

Any clues?
I checked my scons version number after downloading and installing from source
and it says:
script: v0.95.D001, 2004/03/08 07:28:28, by knight on casablanca
        engine: v0.94.D001, 2003/11/07 06:02:01, by knight on casablanca

By the way, I also noticed that with the default checkout, it still does not
default to make dynamic for linux. I did change that before trying to compile
though. I did not do any changes to custom.py this time however, as I thought
the upgrade to scons 0.95 was supposed to take care of that. Is this incorrect?

Thanks for the help!
Iain



Date2004-05-15 07:27
FromJohn ffitch
Subject[CSOUND-DEV:4715] Re: Csound5, same errors
Bizarre!!!

On Fri, 14 May 2004 iainduncan@telus.net wrote:

> Well, I have to report that updating scons and deleting and replacing the
> csound5 source code appears to have made no difference for me. = ( 
> 
> Same errors for everything:
> 
>..
>
> With csoundvst off, etags on:
> sh: line 1: etags: command not found
> scons: *** [TAGS] Error 127
> scons: building terminated because of errors.

That just means tat you do not have etags which is part of emacs.  Do you 
have ctags?  I guess that the SConstruct should checl for its existence
I also suspect that TAGS should not be built by default -- it is really 
for emacs and vi users who look at code

> 
> Without etags:
> gcc " -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. -L/usr/lib -L/usr/local/lib
> gcc:  -shared: No such file or directory
> scons: *** [libbabo.so] Error 1
> scons: building terminated because of errors.
> 

This is really odd.  I suspect the verson of python as I had problems with 
that.  Can you try the two commands

which python
head -1 `which scons`

They shoudl refer to the same file (second one will have #! at the start 
but otherwise the same)


> Any clues?
> I checked my scons version number after downloading and installing from source
> and it says:
> script: v0.95.D001, 2004/03/08 07:28:28, by knight on casablanca
>         engine: v0.94.D001, 2003/11/07 06:02:01, by knight on casablanca

Why is your engine not the same version?  I have
        script: v0.95.D001, 2004/03/08 07:28:28, by knight on casablanca
        engine: v0.95.D001, 2004/03/08 07:28:28, by knight on casablanca

and the problem you are seeing is in the engine

> 
> By the way, I also noticed that with the default checkout, it still does not
> default to make dynamic for linux. I did change that before trying to compile
> though. I did not do any changes to custom.py this time however, as I thought
> the upgrade to scons 0.95 was supposed to take care of that. Is this incorrect?
> 

That is also very odd.  It works for me, and I am very glad of the change.
> 
> 
> 
> 
> 
> 
>