Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4180] RE: build error - csound5

Date2004-02-26 22:53
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4180] RE: build error - csound5
I will fix this tonight with a stub.

Original Message:
-----------------
From: steven yi stevenyi@csounds.com
Date: Thu, 26 Feb 2004 14:15:09 -0800
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4179] build error - csound5


Hi All,

In trying to build csound5 on cygwin, I get:

$ make
/bin/bash ./libtool --mode=link gcc  -O2 -g -Wall  -L/usr/local/lib -o 
csound.ex
e -module -no-undefined -L.libs  -mconsole -L/usr/local/lib 
csound-csound_main.o
 .libs/libcsound.a   -lportaudio -lwinmm -lm -lsndfile -lpthread
gcc -O2 -g -Wall -o csound.exe -mconsole csound-csound_main.o  
-L/usr/local/lib
-L/cygdrive/c/eclipse/workspace/csound5/.libs .libs/libcsound.a 
-lportaudio -lwi
nmm /usr/local/lib/libsndfile.a -lpthread
.libs/libcsound.a(libcsound_la-csound.o)(.text+0x1015): In function 
`defaultCsou
ndYield':
/cygdrive/c/eclipse/workspace/csound5/Top/csound.c:879: undefined 
reference to `
_POLL_EVENTS'
collect2: ld returned 1 exit status
make: *** [csound.exe] Error 1

I configured to not use FLTK as I don't have installed.  I used:

./configure --with-gui=no --with-fltk=no

Any help appreciated!
steven


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-02-26 23:09
Fromsteven yi
Subject[CSOUND-DEV:4181] RE: build error - csound5
It looks like I got past it by removing some #ifdefs in csoundCore.h to 
go ahead and define POLL_EVENTS as (1).  I'm guess that's not the way to 
do it though as running csound got a segfault after displaying 
commandline options. The #ifdef's in csoundCore.h for that section look 
suspect; csound4's cs.h section seems to have gotten worked out a bit 
better.  I haven't gotten into the csound5 code enough to know what 
settings should be set.

When make goes to create the utilities, it looks like ustub is looking 
for FLTK objects even though I set configure to not use FLTK.  At this 
point it might be easier for me to just install FLTK, but it's a problem 
that should probably be addressed.

Thanks!
steven



gogins@pipeline.com wrote:

>I will fix this tonight with a stub.
>
>Original Message:
>-----------------
>From: steven yi stevenyi@csounds.com
>Date: Thu, 26 Feb 2004 14:15:09 -0800
>To: csound-dev@eartha.mills.edu
>Subject: [CSOUND-DEV:4179] build error - csound5
>
>
>Hi All,
>
>In trying to build csound5 on cygwin, I get:
>
>$ make
>/bin/bash ./libtool --mode=link gcc  -O2 -g -Wall  -L/usr/local/lib -o 
>csound.ex
>e -module -no-undefined -L.libs  -mconsole -L/usr/local/lib 
>csound-csound_main.o
> .libs/libcsound.a   -lportaudio -lwinmm -lm -lsndfile -lpthread
>gcc -O2 -g -Wall -o csound.exe -mconsole csound-csound_main.o  
>-L/usr/local/lib
>-L/cygdrive/c/eclipse/workspace/csound5/.libs .libs/libcsound.a 
>-lportaudio -lwi
>nmm /usr/local/lib/libsndfile.a -lpthread
>.libs/libcsound.a(libcsound_la-csound.o)(.text+0x1015): In function 
>`defaultCsou
>ndYield':
>/cygdrive/c/eclipse/workspace/csound5/Top/csound.c:879: undefined 
>reference to `
>_POLL_EVENTS'
>collect2: ld returned 1 exit status
>make: *** [csound.exe] Error 1
>
>I configured to not use FLTK as I don't have installed.  I used:
>
>./configure --with-gui=no --with-fltk=no
>
>Any help appreciated!
>steven
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>
>  
>