[Cs-dev] another build issue
Date | 2011-11-21 09:42 |
From | Øyvind Brandtsegg |
Subject | [Cs-dev] another build issue |
I could build on friday, updated from git today and get: util\atsa.c: In function 'main_anal': util\atsa.c:534:5: warning: implicit declaration of function 'GetTempPath' util\atsa.c: In function 'tracker': util\atsa.c:2001:5: error: too few arguments to function 'strncat' scons: *** [util\atsa.o] Error 1 scons: building terminated because of errors. Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 09:44 |
From | Øyvind Brandtsegg |
Subject | Re: [Cs-dev] another build issue |
also tried with buildUtilities=0, but get the same error Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ________________________________________ Fra: Øyvind Brandtsegg [oyvind.brandtsegg@ntnu.no] Sendt: 21. november 2011 10:42 Til: Developer discussions Emne: [Cs-dev] another build issue I could build on friday, updated from git today and get: util\atsa.c: In function 'main_anal': util\atsa.c:534:5: warning: implicit declaration of function 'GetTempPath' util\atsa.c: In function 'tracker': util\atsa.c:2001:5: error: too few arguments to function 'strncat' scons: *** [util\atsa.o] Error 1 scons: building terminated because of errors. Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 10:06 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] another build issue |
my fault will fix john > Oeyvind Brandtsegg > Professor of Music Technology > NTNU > 7491 Trondheim > Norway > > ________________________________________ > Fra: Øyvind Brandtsegg [oyvind.brandtsegg@ntnu.no] > Sendt: 21. november 2011 10:42 > Til: Developer discussions > Emne: [Cs-dev] another build issue > > I could build on friday, > updated from git today and get: > > util\atsa.c: In function 'main_anal': > util\atsa.c:534:5: warning: implicit declaration of function 'GetTempPath' > util\atsa.c: In function 'tracker': > util\atsa.c:2001:5: error: too few arguments to function 'strncat' > scons: *** [util\atsa.o] Error 1 > scons: building terminated because of errors. > > > > Oeyvind Brandtsegg > Professor of Music Technology > NTNU > 7491 Trondheim > Norway > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 10:37 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] another build issue |
GIT updated now -- this is in Windows-only code so I need to get to another machine to test > > my fault will fix > > john > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 13:38 |
From | Øyvind Brandtsegg |
Subject | Re: [Cs-dev] another build issue |
Sorry, still an error, but perhaps one step closer? Creating library file: libstdutil.a util\atsa.o: In function `main_anal': C:\MinGW\source\csound5/util/atsa.c:534: undefined reference to `GetTempPath' util\atsa.o: In function `residual_analysis': C:\MinGW\source\csound5/util/atsa.c:1485: undefined reference to `GetTempPath' util\atsa.o: In function `tracker': C:\MinGW\source\csound5/util/atsa.c:2000: undefined reference to `GetTempPath' collect2: ld returned 1 exit status scons: *** [stdutil.dll] Error 1 scons: building terminated because of errors. Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ________________________________________ Fra: jpff@cs.bath.ac.uk [jpff@cs.bath.ac.uk] Sendt: 21. november 2011 11:37 Til: Developer discussions Emne: Re: [Cs-dev] another build issue GIT updated now -- this is in Windows-only code so I need to get to another machine to test > > my fault will fix > > john > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 13:45 |
From | Michael Gogins |
Subject | Re: [Cs-dev] another build issue |
This is in kernel32.lib, which might be libkernel32.a for MinGW. And that suggests other Windows libraries are not in the link line. There's a whole set of Windows libs that are supposed to be applied to all loadable libraries built by the Csound SConstruct. You should build this one the same way. Or perhaps the MinGW Windows libraries are not in the lib path. You did install win32api for MinGW? Regards, Mike On Mon, Nov 21, 2011 at 8:38 AM, Øyvind Brandtsegg |
Date | 2011-11-21 14:37 |
From | Øyvind Brandtsegg |
Subject | Re: [Cs-dev] another build issue |
hm, I have libkernel32.a in C:\MinGW\lib and customLIBPATH.append(r'C:/MinGW/lib') so this seems ok, not? Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ________________________________________ Fra: Michael Gogins [michael.gogins@gmail.com] Sendt: 21. november 2011 14:45 Til: Developer discussions Emne: Re: [Cs-dev] another build issue This is in kernel32.lib, which might be libkernel32.a for MinGW. And that suggests other Windows libraries are not in the link line. There's a whole set of Windows libs that are supposed to be applied to all loadable libraries built by the Csound SConstruct. You should build this one the same way. Or perhaps the MinGW Windows libraries are not in the lib path. You did install win32api for MinGW? Regards, Mike On Mon, Nov 21, 2011 at 8:38 AM, Øyvind Brandtsegg |
Date | 2011-11-21 15:08 |
From | Michael Gogins |
Subject | Re: [Cs-dev] another build issue |
That looks correct, but is it on your link line (both -L and -l)? Also, are you using MSys? This would cause major differences. If you are using MSys, then the path you want for -L would be what will give you a directory listing for the library in the MSys shell, i.e. it might be /c/ something /usr something. Try to verify your -L values by doing ls value. Hope this helps, Mike On Mon, Nov 21, 2011 at 9:37 AM, Øyvind Brandtsegg |
Date | 2011-11-21 17:27 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] another build issue |
I havefixed many nasties, and now it compiles on Windows for me Just checked back in ==John ff > Sorry, still an error, but perhaps one step closer? > > Creating library file: libstdutil.a > util\atsa.o: In function `main_anal': > C:\MinGW\source\csound5/util/atsa.c:534: undefined reference to > `GetTempPath' > util\atsa.o: In function `residual_analysis': > C:\MinGW\source\csound5/util/atsa.c:1485: undefined reference to > `GetTempPath' > util\atsa.o: In function `tracker': > C:\MinGW\source\csound5/util/atsa.c:2000: undefined reference to > `GetTempPath' > collect2: ld returned 1 exit status > scons: *** [stdutil.dll] Error 1 > scons: building terminated because of errors. > > Oeyvind Brandtsegg > Professor of Music Technology > NTNU > 7491 Trondheim > Norway > > ________________________________________ > Fra: jpff@cs.bath.ac.uk [jpff@cs.bath.ac.uk] > Sendt: 21. november 2011 11:37 > Til: Developer discussions > Emne: Re: [Cs-dev] another build issue > > GIT updated now -- this is in Windows-only code so I need to get to > another machine to test > >> >> my fault will fix >> >> john >> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-21 18:01 |
From | Rory Walsh |
Subject | Re: [Cs-dev] another build issue |
Be careful John that you don't spend too much time on Windows! It's probably best to log back into your Linux box every half hour or so, all those coloured buttons and controls can be a bit overwhelming! On 21 November 2011 17:27, |
Date | 2011-11-21 20:19 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] another build issue |
> Be careful John that you don't spend too much time on Windows! It's > probably best to log back into your Linux box every half hour or so, > all those coloured buttons and controls can be a bit overwhelming! > at least it was a virtual Windows running on my quadcore. But to save heating I logged in remote from the laptop. So two linux machines in the path As I said on IRC, I dislike developing on WIndows but at least with emacs and bash it is close (I do not use bash anyhere else) ==John ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-11-22 07:45 |
From | Øyvind Brandtsegg |
Subject | Re: [Cs-dev] another build issue |
Good. Thanks a lot for the effort and the heat. I still had two typos: dsputil.c line 147 frm0 should be frm_0 same on line 152 and 153 with these changes it now compiles fine here Oeyvind Brandtsegg Professor of Music Technology NTNU 7491 Trondheim Norway ________________________________________ Fra: jpff@cs.bath.ac.uk [jpff@cs.bath.ac.uk] Sendt: 21. november 2011 18:27 Til: Developer discussions Emne: Re: [Cs-dev] another build issue I havefixed many nasties, and now it compiles on Windows for me Just checked back in ==John ff > Sorry, still an error, but perhaps one step closer? > > Creating library file: libstdutil.a > util\atsa.o: In function `main_anal': > C:\MinGW\source\csound5/util/atsa.c:534: undefined reference to > `GetTempPath' > util\atsa.o: In function `residual_analysis': > C:\MinGW\source\csound5/util/atsa.c:1485: undefined reference to > `GetTempPath' > util\atsa.o: In function `tracker': > C:\MinGW\source\csound5/util/atsa.c:2000: undefined reference to > `GetTempPath' > collect2: ld returned 1 exit status > scons: *** [stdutil.dll] Error 1 > scons: building terminated because of errors. > > Oeyvind Brandtsegg > Professor of Music Technology > NTNU > 7491 Trondheim > Norway > > ________________________________________ > Fra: jpff@cs.bath.ac.uk [jpff@cs.bath.ac.uk] > Sendt: 21. november 2011 11:37 > Til: Developer discussions > Emne: Re: [Cs-dev] another build issue > > GIT updated now -- this is in Windows-only code so I need to get to > another machine to test > >> >> my fault will fix >> >> john >> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |