Csound Csound-dev Csound-tekno Search About

[Cs-dev] Any Jack experts?

Date2008-01-29 15:09
From
Subject[Cs-dev] Any Jack experts?
I am having troubles building Csound on x86_64.  I am seeing

gcc -o extractor -Wl,-Bdynamic util/xtrc_main.o -L. -L. -L/usr/local/lib64 -L. -L. -L/usr/lib/fltk-1.1 -lsndfile -lportaudio -lfltk -lasound -lcsound64 -lsndfile -ldl -lpthread -lm
./libcsound64.a(one_file.o): In function `csoundTmpFileName':
/bigdisk/jpff/Sourceforge/csound5/Top/one_file.c:90: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_unlock'
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_lock'
collect2: ld returned 1 exit status
scons: *** [extractor] Error 1
./libcsound64.a(one_file.o./libcsound64.a(one_file.o): In function `csoundTmpFileName':
/bigdisk/jpff/Sourceforge/csound5/Top/one_file.c:90: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_unlock'
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_lock'
collect2: ld returned 1 exit status
): In function `csoundTmpFileName':
scons: *** [hetro] Error 1

etc

It seems as if libportaudio wants a jack_port_lock but I cannot find
that in the libraries.  Which/what system is wrong?
==John ffitch

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

Date2008-01-29 15:35
FromCesare Marilungo
SubjectRe: [Cs-dev] Any Jack experts?
jpff@cs.bath.ac.uk wrote:
> I am having troubles building Csound on x86_64.  I am seeing
>
> gcc -o extractor -Wl,-Bdynamic util/xtrc_main.o -L. -L. -L/usr/local/lib64 -L. -L. -L/usr/lib/fltk-1.1 -lsndfile -lportaudio -lfltk -lasound -lcsound64 -lsndfile -ldl -lpthread -lm
> ./libcsound64.a(one_file.o): In function `csoundTmpFileName':
> /bigdisk/jpff/Sourceforge/csound5/Top/one_file.c:90: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_unlock'
> /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_lock'
> collect2: ld returned 1 exit status
> scons: *** [extractor] Error 1
> ./libcsound64.a(one_file.o./libcsound64.a(one_file.o): In function `csoundTmpFileName':
> /bigdisk/jpff/Sourceforge/csound5/Top/one_file.c:90: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_unlock'
> /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../lib64/libportaudio.so: undefined reference to `jack_port_lock'
> collect2: ld returned 1 exit status
> ): In function `csoundTmpFileName':
> scons: *** [hetro] Error 1
>
> etc
>
> It seems as if libportaudio wants a jack_port_lock but I cannot find
> that in the libraries.  Which/what system is wrong?
> ==John ffitch
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 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
>
>
>   
IIRC, there are some unresolved issues with portaudio v19 and jack.

By the way, why do you need portaudio? Why don't compile just with jack?

Best,

-c.

-- 
www.cesaremarilungo.com 


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

Date2008-01-29 16:24
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Any Jack experts?
Actually I never use jack and do use portaudio (on other projects).  I am 
building Csound for others.  This used to work until this year.
==John ff


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

Date2008-01-29 19:03
FromVictor Lazzarini
Subject[Cs-dev] gettext etc

Some trouble building csound today on Linux:

1. with default options, linking csound_free_string_database() (csound.o)
fails. Where is this function?

2. With gettext, po/italian.po is not found and scons fails. I have commented
it out for the moment on SConstruct. Then it builds.


I have added the new hrtf opcodes. So I'm done. Will add the manual pages
on Thursday.

Victor
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


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

Date2008-01-29 19:34
FromFelipe Sateler
SubjectRe: [Cs-dev] gettext etc
AttachmentsNone  None  None  

Date2008-01-29 20:55
Fromjpff
SubjectRe: [Cs-dev] gettext etc
>>>>> "Victor" == Victor Lazzarini  writes:

 Victor> Some trouble building csound today on Linux:

 Victor> 1. with default options, linking csound_free_string_database() (csound.o)
 Victor> fails. Where is this function?

Should not exist; who is calling it?

 Victor> 2. With gettext, po/italian.po is not found and scons fails. I have commented
 Victor> it out for the moment on SConstruct. Then it builds.

Sorry -- forgot to commit it

 Victor> I have added the new hrtf opcodes. So I'm done. Will add the manual pages
 Victor> on Thursday.

Thanks

==John ffitch

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