Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4524] Building on OSX

Date2004-04-26 13:35
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4524] Building on OSX
I thought that Stephen had build csound5 on OSX10.2.  I am having
difficulties

First it claims that POLL_EVENTS is defined in both csound.o and and
FL_graph.o and then it complains about the lack of crt0.o which I think
is to do with static linking

ar: creating archive libcsound.a
ranlib libcsound.a
ranlib: same symbol defined in more than one member in: libcsound.a (table of contents will not be sorted)
ranlib: file: libcsound.a(csound.o) defines symbol: _POLL_EVENTS
ranlib: file: libcsound.a(FL_graph.o) defines symbol: _POLL_EVENTS
gcc -static -o cscore util1/cscore/cscore_main.o -L. -L. -L. -L/usr/lib -L/usr/local/lib -lcsound -lsndfile
ld: can't locate file for: -lcrt0.o
scons: *** [cscore] Error 1
scons: building terminated because of errors.

Any suggestions?

==John ffitch

Date2004-04-26 17:18
Fromstevenyi
Subject[CSOUND-DEV:4525] Re: Building on OSX
Hi John,

Matt and I had gotten it built on OSX 10.3 and without FLTK.  (We didn't
have enough time that night to get to FLTK). My guess is that one
version of pollevents should be ifdef'ed out, and maybe the problem is
due to requiring a macro. (Sorry I'm not more helpful, I'll try a build
on the Sourceforge compile farm later today).

steven


On Mon, 2004-04-26 at 05:35, jpff@codemist.co.uk wrote:
> I thought that Stephen had build csound5 on OSX10.2.  I am having
> difficulties
> 
> First it claims that POLL_EVENTS is defined in both csound.o and and
> FL_graph.o and then it complains about the lack of crt0.o which I think
> is to do with static linking
> 
> ar: creating archive libcsound.a
> ranlib libcsound.a
> ranlib: same symbol defined in more than one member in: libcsound.a (table of contents will not be sorted)
> ranlib: file: libcsound.a(csound.o) defines symbol: _POLL_EVENTS
> ranlib: file: libcsound.a(FL_graph.o) defines symbol: _POLL_EVENTS
> gcc -static -o cscore util1/cscore/cscore_main.o -L. -L. -L. -L/usr/lib -L/usr/local/lib -lcsound -lsndfile
> ld: can't locate file for: -lcrt0.o
> scons: *** [cscore] Error 1
> scons: building terminated because of errors.
> 
> Any suggestions?
> 
> ==John ffitch
> 
>