Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] compilation error on OSX

Date2007-09-18 18:43
FromVictor Lazzarini
SubjectRe: [Cs-dev] compilation error on OSX
Try buildDSSI=0

It should not build on OSX, but only on Linux. Not
sure why it is trying to build it, never had this
problem myself.

Victor

>
> Hi all,
> I'm attempting to build today's CVS csound5  on OSX
> 10.4.10 I've edited the SConstruct file to flag python
> builds
>
> gcc is A-OK until:
>
> > gcc -o Opcodes/dssi4cs/src/dssi4cs.os -c -Wall -g -O2
> > -DMACOSX -  DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DSDFT
> > -DBETA -DHAVE_FCNTL_H -  DHAVE_UNISTD_H -DHAVE_STDINT_H
> > -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H   -DHAVE_TERMIOS_H
> > -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/
> include/malloc -I/opt/local/include/boost-1_32
> > -I/usr/local/include   Opcodes/dssi4cs/src/dssi4cs.c
> > In file included from Opcodes/dssi4cs/src/dssi4cs.h:23,
> >                  from Opcodes/dssi4cs/src/dssi4cs.c:23:
> > Opcodes/dssi4cs/src/dssi.h:28:28: error:
> > alsa/seq_event.h: No such   file or directory
> > In file included from Opcodes/dssi4cs/src/dssi4cs.h:23,
> >                  from Opcodes/dssi4cs/src/dssi4cs.c:23:
> > Opcodes/dssi4cs/src/dssi.h:300: error: parse error
> > before   'snd_seq_event_t'
> > Opcodes/dssi4cs/src/dssi.h:314: error: parse error
> > before   'snd_seq_event_t'
> > Opcodes/dssi4cs/src/dssi.h:352: error: parse error
> > before   'snd_seq_event_t'
> > Opcodes/dssi4cs/src/dssi.h:368: error: parse error
> > before   'snd_seq_event_t'
> > In file included from Opcodes/dssi4cs/src/dssi4cs.c:23:
> > Opcodes/dssi4cs/src/dssi4cs.h:40: error: parse error
> > before   'snd_seq_event_t'
> ..
> not sure what these opodes are... its been a while since
> I've done a   build - can someone looking at the above say
> whether there are some   files missing or am I doing
> something silly.
>
> thanks,
>
> David
> _________________________________________________
> experimental polymedia:    www.avatar.com.au
> Sonic Communications Research Group,
> University of Canberra:     creative.canberra.edu.au/scrg
>
>
>
>
> ----------------------------------------------------------
> --------------- This SF.net email is sponsored by:
> Microsoft Defy all challenges. Microsoft(R) Visual Studio
> 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-09-19 01:41
FromDavid Worrall
SubjectRe: [Cs-dev] compilation error on OSX
Thanks Victor.

That edged it along a fair bit,  until:

> g++ -o lib_csnd.dylib -framework python -dynamiclib -Xlinker - 
> compatibility_version -Xlinker 5.1 -Xlinker -current_version - 
> Xlinker 5.1 -install_name /Library/Frameworks/CsoundLib.framework/ 
> Versions/5.1/lib_csnd.dylib interfaces/pyMsgCb.os interfaces/ 
> CppSound.os interfaces/CsoundFile.os interfaces/Soundfile.os  
> interfaces/csPerfThread.os interfaces/cs_glue.os interfaces/ 
> filebuilding.os Engine/auxfd.os Engine/cfgvar.os Engine/entry1.os  
> Engine/envvar.os Engine/express.os Engine/extract.os Engine/ 
> fgens.os Engine/insert.os Engine/linevent.os Engine/memalloc.os  
> Engine/memfiles.os Engine/musmon.os Engine/namedins.os Engine/ 
> otran.os Engine/rdorch.os Engine/rdscor.os Engine/scsort.os Engine/ 
> scxtract.os Engine/sort.os Engine/sread.os Engine/swrite.os Engine/ 
> twarp.os InOut/libsnd.os InOut/libsnd_u.os InOut/midifile.os InOut/ 
> midirecv.os InOut/midisend.os InOut/winascii.os InOut/windin.os  
> InOut/window.os InOut/winEPS.os OOps/aops.os OOps/bus.os OOps/ 
> cmath.os OOps/diskin.os OOps/diskin2.os OOps/disprep.os OOps/ 
> dumpf.os OOps/fftlib.os OOps/goto_ops.os OOps/midiinterop.os OOps/ 
> midiops.os OOps/midiout.os OOps/mxfft.os OOps/oscils.os OOps/ 
> pstream.os OOps/pvfileio.os OOps/pvsanal.os OOps/random.os OOps/ 
> remote.os OOps/schedule.os OOps/sndinfUG.os OOps/str_ops.os OOps/ 
> ugens1.os OOps/ugens2.os OOps/ugens3.os OOps/ugens4.os OOps/ 
> ugens5.os OOps/ugens6.os OOps/ugrw1.os OOps/ugrw2.os OOps/vdelay.os  
> Top/argdecode.os Top/cscore_internal.os Top/cscorfns.os Top/ 
> csmodule.os Top/csound.os Top/getstring.os Top/main.os Top/ 
> new_opts.os Top/one_file.os Top/opcode.os Top/threads.os Top/ 
> utility.os -L/Library/Frameworks/Python.Framework/Versions/Current/ 
> lib -L/Library/Frameworks/Python.Framework/Versions/Current/lib/ 
> python2.4/config -L. -L. -L/usr/local/lib -L. -L. -lstdc++ -lsndfile
> /usr/bin/libtool: for architecture cputype (16777223) cpusubtype  
> (3) object: /usr/local/lib/libgcc_s.10.4.dylib malformed object  
> (unknown load command 4)
> scons: *** [lib_csnd.dylib] Error 1
> scons: building terminated because of errors.

Sounds/looks ominous ....  :-)

I think you said you were building w. Python 2.5. This is w. 2.4. Any  
chance that's what's caught it?

for the record, the CLI command was
% sudo scons buildDSSI=0 buildInterfaces=1

David
intelOSX10.4.10

On 19/09/2007, at 3:43 AM, Victor Lazzarini wrote:

> Try buildDSSI=0
>
> It should not build on OSX, but only on Linux. Not
> sure why it is trying to build it, never had this
> problem myself.
>
> Victor
>
>>
>> Hi all,
>> I'm attempting to build today's CVS csound5  on OSX
>> 10.4.10 I've edited the SConstruct file to flag python
>> builds
>>
>> gcc is A-OK until:
>>
>>> gcc -o Opcodes/dssi4cs/src/dssi4cs.os -c -Wall -g -O2
>>> -DMACOSX -  DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DSDFT
>>> -DBETA -DHAVE_FCNTL_H -  DHAVE_UNISTD_H -DHAVE_STDINT_H
>>> -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H   -DHAVE_TERMIOS_H
>>> -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/
>> include/malloc -I/opt/local/include/boost-1_32
>>> -I/usr/local/include   Opcodes/dssi4cs/src/dssi4cs.c
>>> In file included from Opcodes/dssi4cs/src/dssi4cs.h:23,
>>>                  from Opcodes/dssi4cs/src/dssi4cs.c:23:
>>> Opcodes/dssi4cs/src/dssi.h:28:28: error:
>>> alsa/seq_event.h: No such   file or directory
>>> In file included from Opcodes/dssi4cs/src/dssi4cs.h:23,
>>>                  from Opcodes/dssi4cs/src/dssi4cs.c:23:
>>> Opcodes/dssi4cs/src/dssi.h:300: error: parse error
>>> before   'snd_seq_event_t'
>>> Opcodes/dssi4cs/src/dssi.h:314: error: parse error
>>> before   'snd_seq_event_t'
>>> Opcodes/dssi4cs/src/dssi.h:352: error: parse error
>>> before   'snd_seq_event_t'
>>> Opcodes/dssi4cs/src/dssi.h:368: error: parse error
>>> before   'snd_seq_event_t'
>>> In file included from Opcodes/dssi4cs/src/dssi4cs.c:23:
>>> Opcodes/dssi4cs/src/dssi4cs.h:40: error: parse error
>>> before   'snd_seq_event_t'
>> ..
>> not sure what these opodes are... its been a while since
>> I've done a   build - can someone looking at the above say
>> whether there are some   files missing or am I doing
>> something silly.
>>
>> thanks,
>>
>> David
>> _________________________________________________
>> experimental polymedia:    www.avatar.com.au
>> Sonic Communications Research Group,
>> University of Canberra:     creative.canberra.edu.au/scrg
>>
>>
>>
>>
>> ----------------------------------------------------------
>> --------------- This SF.net email is sponsored by:
>> Microsoft Defy all challenges. Microsoft(R) Visual Studio
>> 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

_________________________________________________
experimental polymedia:	www.avatar.com.au
Sonic Communications Research Group,
University of Canberra:	 www.canberra.edu.au/vc-forum/scrg
vip=Verbal Interactivity Project




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net