Csound Csound-dev Csound-tekno Search About

[Cs-dev] rtalsa.c compilation problems

Date2007-03-26 10:02
From"Steven Yi"
Subject[Cs-dev] rtalsa.c compilation problems
AttachmentsNone  

Date2007-03-26 11:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] rtalsa.c compilation problems
I think that token identifies the source as posix-compliant.

Victor

At 10:02 26/03/2007, you wrote:
>Hi All,
>
>I did a yum upgrade on FC6 machine here yesterday and it downloaded
>alsa-lib-devel for 1.0.14rc1 of alsa.  After that, I was unable to
>compile InOut/rtalsa.c due to a redefinition in alsa/global.h.  I was
>able to get around that by adding the following to rtalsa.c:
>
>
>#ifndef _POSIX_C_SOURCE
>#define _POSIX_C_SOURCE 1
>#endif
>
>just before #include .  Now, I don't know if this is the
>correct solution, as I don't know what _POSIX_C_SOURCE is and if it
>meant to be defined like this in code or perhaps something we should
>set as a commadline macro definition in Scons so that it covers all of
>our code or what.
>
>Any thoughts?
>
>I've gone ahead and check this in as anyone who might come across this
>will need something for now.
>
>Thanks,
>steven
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-03-26 12:11
From"Steven Yi"
SubjectRe: [Cs-dev] rtalsa.c compilation problems
AttachmentsNone  

Date2007-03-26 12:19
FromVictor Lazzarini
SubjectRe: [Cs-dev] rtalsa.c compilation problems
as far as rtalsa.c is concerned, yes it seems to be safe and the
fix should be right.
  Hope you had a good trip back to Warsaw. It's a bit hectic here
this week.

Victor

At 12:11 26/03/2007, you wrote:
>Hi Victor,
>
>Thanks for your reply!  So I guess it's safe to define that there in
>rtalsa.c and the fix should be alright?  I guess it's not really safe
>to define it globally as maybe the code isn't all posix-compliant when
>on Windows?
>
>Thanks!
>steven
>
>On 3/26/07, Victor Lazzarini  wrote:
> > I think that token identifies the source as posix-compliant.
> >
> > Victor
> >
> > At 10:02 26/03/2007, you wrote:
> > >Hi All,
> > >
> > >I did a yum upgrade on FC6 machine here yesterday and it downloaded
> > >alsa-lib-devel for 1.0.14rc1 of alsa.  After that, I was unable to
> > >compile InOut/rtalsa.c due to a redefinition in alsa/global.h.  I was
> > >able to get around that by adding the following to rtalsa.c:
> > >
> > >
> > >#ifndef _POSIX_C_SOURCE
> > >#define _POSIX_C_SOURCE 1
> > >#endif
> > >
> > >just before #include .  Now, I don't know if this is the
> > >correct solution, as I don't know what _POSIX_C_SOURCE is and if it
> > >meant to be defined like this in code or perhaps something we should
> > >set as a commadline macro definition in Scons so that it covers all of
> > >our code or what.
> > >
> > >Any thoughts?
> > >
> > >I've gone ahead and check this in as anyone who might come across this
> > >will need something for now.
> > >
> > >Thanks,
> > >steven
> > >
> > >-------------------------------------------------------------------------
> > >Take Surveys. Earn Cash. Influence the Future of IT
> > >Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> > >opinions on IT & business topics through brief surveys-and earn cash
> > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >_______________________________________________
> > >Csound-devel mailing list
> > >Csound-devel@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-03-26 12:24
From"Steven Yi"
SubjectRe: [Cs-dev] rtalsa.c compilation problems
AttachmentsNone  

Date2007-03-26 16:21
FromAndres Cabrera
SubjectRe: [Cs-dev] rtalsa.c compilation problems
Hi,

Steven Yi wrote:
> The trip back to Warsaw was nice and all the talks we had at the LAC
> has my mind buzzing a bit on ideas for Csound.  Perhaps John, you, and
> I should organize notes and write here on this list some of the things
> we discussed.

Yes! What are the ideas and the plans?

Cheers,
Andrés


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net