[Cs-dev] build issues
Date | 2007-05-01 10:49 |
From | Jonathan Murphy |
Subject | [Cs-dev] build issues |
I am currently unable to build. Three days ago no problems. I am trying to build with: scons usePortAudio=0 usePortMIDI=0 useFLTK=0 buildLoris=0 buildDSSI=0 buildInterfaces=1 The error is: Engine/envvar.c: In function `csoundFileOpen': Engine/envvar.c:1048: error: `FALSE' undeclared (first use in this function) Engine/envvar.c:1048: error: (Each undeclared identifier is reported only once Engine/envvar.c:1048: error: for each function it appears in.) scons: *** [Engine/envvar.o] Error 1 scons: building terminated because of errors. Jonathan. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-05-01 11:44 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build issues |
Here (on windows at least), it compiles fine. I wonder what the problem is. I'll try on Linux later. At 10:49 01/05/2007, you wrote: >I am currently unable to build. Three days ago no problems. I am >trying to build with: > >scons usePortAudio=0 usePortMIDI=0 useFLTK=0 buildLoris=0 buildDSSI=0 >buildInterfaces=1 > >The error is: > >Engine/envvar.c: In function `csoundFileOpen': >Engine/envvar.c:1048: error: `FALSE' undeclared (first use in this function) >Engine/envvar.c:1048: error: (Each undeclared identifier is reported only once >Engine/envvar.c:1048: error: for each function it appears in.) >scons: *** [Engine/envvar.o] Error 1 >scons: building terminated because of errors. > >Jonathan. > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-05-01 11:49 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build issues |
Spoke too soon. Here it's atsa.c that fails. FALSE should be defined somewhere I'll look and try to fix. Victor At 11:44 01/05/2007, you wrote: >Here (on windows at least), it compiles fine. I wonder what the problem is. >I'll >try on Linux later. > >At 10:49 01/05/2007, you wrote: > >I am currently unable to build. Three days ago no problems. I am > >trying to build with: > > > >scons usePortAudio=0 usePortMIDI=0 useFLTK=0 buildLoris=0 buildDSSI=0 > >buildInterfaces=1 > > > >The error is: > > > >Engine/envvar.c: In function `csoundFileOpen': > >Engine/envvar.c:1048: error: `FALSE' undeclared (first use in this function) > >Engine/envvar.c:1048: error: (Each undeclared identifier is reported > only once > >Engine/envvar.c:1048: error: for each function it appears in.) > >scons: *** [Engine/envvar.o] Error 1 > >scons: building terminated because of errors. > > > >Jonathan. > > > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by DB2 Express > >Download DB2 Express C - the FREE version of DB2 express and take > >control of your XML. No limits. Just data. Click to get it now. > >http://sourceforge.net/powerbar/db2/ > >_______________________________________________ > >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 > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-05-01 11:50 |
From | root |
Subject | Re: [Cs-dev] build issues |
Can you confirm that you have a recent libsndfile? That line in my sources says int tmp_fd = -1, nbytes = (int) sizeof(CSFILE); and I cannot find any reference to FALSE. CSFILE is also defined in the same file. Previous line refers to a libsndfile object SF_INFO I think we need a little more information! ==John ff ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-05-01 12:04 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build issues |
I have added a fix to csoundCore.h defining FALSE if undefined. That allowed me to compile atsa.c and now that I updated my linux sources, it builds properly. and by the way, the reported offending statement was return csoundFileOpenWithType(csound, fd, type, name, param, env, CSFTYPE_UNKNOWN, FALSE); envvar.c (line 1048) At 11:50 01/05/2007, you wrote: >Can you confirm that you have a recent libsndfile? That line in my >sources says > int tmp_fd = -1, nbytes = (int) sizeof(CSFILE); >and I cannot find any reference to FALSE. CSFILE is also defined in the >same file. Previous line refers to a libsndfile object SF_INFO > >I think we need a little more information! > >==John ff > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2007-05-01 12:48 |
From | Jonathan Murphy |
Subject | Re: [Cs-dev] build issues |
I have libsndfile 1.0.16. I see that 1.0.17 is available so I'll try with that. Also with Victors fix in subsequent mail. Jonathan. root |
Date | 2007-05-01 13:00 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build issues |
btw, I have commited it to CVS... At 12:48 01/05/2007, you wrote: >I have libsndfile 1.0.16. I see that 1.0.17 is available so I'll try >with that. Also with Victors fix in subsequent mail. > >Jonathan. > >root |
Date | 2007-05-01 13:56 |
From | Jonathan Murphy |
Subject | Re: [Cs-dev] build issues |
Thanks Victor, I am able to compile again. J. Victor Lazzarini |
Date | 2007-05-01 14:04 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] build issues |
Sorry about this. It is my fault. I made a lot of changes over the weekend and have not yet had the opportunity to discuss them here. I certainly thought that FALSE and TRUE would be defined everywhere! (They must be defined by my OS headers or something ...). I probably need to add a definition to csoundCore.h for TRUE also. Anthony Victor Lazzarini wrote on 5/1/07 7:04 AM: > I have added a fix to csoundCore.h defining FALSE if undefined. That allowed > me to compile atsa.c and now that I updated my linux sources, it builds > properly. > > and by the way, the reported offending statement was > > return csoundFileOpenWithType(csound, fd, type, name, param, env, > CSFTYPE_UNKNOWN, FALSE); > > envvar.c (line 1048) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |