|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
compiling ... againI'm still unable to compile, with a problem related to the pthreads library.
""" Checking for C library pthread... no The pthread library is required to build Csound 5. """ I have the source and prebuilt files of PTHREADS-WIN32 on my system, and I've included entries in custom.py, like this: customCPPPATH.append('C:/msys/1.0/source/pthreads/Pre-built.2/include') customLIBPATH.append('C:/msys/1.0/source/pthreads/Pre-built.2/lib') Now, as I suspected the compile process might also need to find pthread.h, I also added: customLIBPATH.append('C:/msys/1.0/source/pthreads/pthreads.2') customCPPPATH.append('C:/msys/1.0/source/pthreads/pthreads.2') (I was not sure if I should add only CPPPATH, or LIBPATH, or both) I even tried copying pthread.h into the Csound source dir, with the same result. Any ideas ? Updated my Csound source from CVS today. Oeyvind ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: compiling ... againYes, that helps. Thanks a lot.
Now, I get as far as: Creating library file: libcsound32.a Top\threads.o(.text+0x23a): In function `csoundWaitThreadLock': C:/msys/1.0/source/csound5/Top/threads.c:210: undefined reference to `gettimeofday' collect2: ld returned 1 exit status scons: building terminated because of errors. Is it probable that this has to do with my threading library, or the Csound source code ? best Oeyvind 2008/6/30, Michael Gogins <gogins@...>: > If your problem is about header files, I don't know the answer. > > If your problem is about the library, I suggest renaming one of the several pthreads libraries to libpthread.a. The Windows pthread documentation describes the semantics of the different versions of the library. > > Hope this helps, > MIke > > -----Original Message----- > >From: Oeyvind Brandtsegg <obrandts@...> > >Sent: Jun 30, 2008 8:50 AM > >To: Developer discussions <csound-devel@...> > >Subject: [Cs-dev] compiling ... again > > > >I'm still unable to compile, with a problem related to the pthreads library. > >""" > >Checking for C library pthread... no > >The pthread library is required to build Csound 5. > >""" > > > >I have the source and prebuilt files of PTHREADS-WIN32 on my system, > >and I've included entries in custom.py, like this: > >customCPPPATH.append('C:/msys/1.0/source/pthreads/Pre-built.2/include') > >customLIBPATH.append('C:/msys/1.0/source/pthreads/Pre-built.2/lib') > > > >Now, as I suspected the compile process might also need to find pthread.h, > >I also added: > >customLIBPATH.append('C:/msys/1.0/source/pthreads/pthreads.2') > >customCPPPATH.append('C:/msys/1.0/source/pthreads/pthreads.2') > >(I was not sure if I should add only CPPPATH, or LIBPATH, or both) > > > >I even tried copying pthread.h into the Csound source dir, with the same result. > > > >Any ideas ? > > > >Updated my Csound source from CVS today. > > > >Oeyvind > > > >------------------------------------------------------------------------- > >Check out the new SourceForge.net Marketplace. > >It's the best place to buy or sell services for > >just about anything Open Source. > >http://sourceforge.net/services/buy/index.php > >_______________________________________________ > >Csound-devel mailing list > >Csound-devel@... > >https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: compiling ... againGettimeofday is a POSIX function
References in ./Top/threads.c where is is used in #if defined(LINUX) || defined(WIN32) ./Top/csound.c where it is protected with HAVE_GETTIMEOFDAY ==John ff ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: compiling ... againSorry if I'm being really lame,
but does this mean the error lies in the Csound compile process (on windows) trying to access a method that does not excist on win, or is it something I do wrong ? Oeyvind 2008/6/30, root <root@...>: > Gettimeofday is a POSIX function > > References in > > ./Top/threads.c where is is used in #if defined(LINUX) || defined(WIN32) > ./Top/csound.c where it is protected with HAVE_GETTIMEOFDAY > > ==John ff > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: compiling ... againI had re-implemented it on WIN32, because it didn't exist in my
system. I was positive I committed it. Why was the fix removed? I have committed it again. You should be able to build it now. WIN32 is not POSIX. Victor ----- Original Message ----- From: "Oeyvind Brandtsegg" <obrandts@...> To: "Developer discussions" <csound-devel@...> Sent: Monday, June 30, 2008 10:14 PM Subject: Re: [Cs-dev] compiling ... again > Sorry if I'm being really lame, > but does this mean the error lies in the Csound compile process (on > windows) trying to access a method that does not excist on win, or is > it something I do wrong ? > > Oeyvind > > 2008/6/30, root <root@...>: >> Gettimeofday is a POSIX function >> >> References in >> >> ./Top/threads.c where is is used in #if defined(LINUX) || defined(WIN32) >> ./Top/csound.c where it is protected with HAVE_GETTIMEOFDAY >> >> ==John ff >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: compiling ... againYess. Hooray. It compiles now.
Thanks so much. Oeyvind 2008/6/30, victor <Victor.Lazzarini@...>: > I had re-implemented it on WIN32, because it didn't exist in my > system. I was positive I committed it. Why was the fix removed? > > I have committed it again. You should be able to build it now. > > WIN32 is not POSIX. > > Victor > > ----- Original Message ----- > From: "Oeyvind Brandtsegg" <obrandts@...> > To: "Developer discussions" <csound-devel@...> > Sent: Monday, June 30, 2008 10:14 PM > Subject: Re: [Cs-dev] compiling ... again > > > > Sorry if I'm being really lame, > > but does this mean the error lies in the Csound compile process (on > > windows) trying to access a method that does not excist on win, or is > > it something I do wrong ? > > > > Oeyvind > > > > 2008/6/30, root <root@...>: > >> Gettimeofday is a POSIX function > >> > >> References in > >> > >> ./Top/threads.c where is is used in #if defined(LINUX) || defined(WIN32) > >> ./Top/csound.c where it is protected with HAVE_GETTIMEOFDAY > >> > >> ==John ff > >> > >> > >> ------------------------------------------------------------------------- > >> Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://sourceforge.net/services/buy/index.php > >> _______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@... > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: compiling ... againthreads.c
----- Original Message ----- From: "Michael Gogins" <gogins@...> To: "Developer discussions" <csound-devel@...> Sent: Monday, June 30, 2008 11:18 PM Subject: Re: [Cs-dev] compiling ... again > In what file was it implemented? > > Regards, > Mike > > -----Original Message----- >>From: victor <Victor.Lazzarini@...> >>Sent: Jun 30, 2008 5:30 PM >>To: Developer discussions <csound-devel@...> >>Subject: Re: [Cs-dev] compiling ... again >> >>I had re-implemented it on WIN32, because it didn't exist in my >>system. I was positive I committed it. Why was the fix removed? >> >>I have committed it again. You should be able to build it now. >> >>WIN32 is not POSIX. >> >>Victor >> >>----- Original Message ----- >>From: "Oeyvind Brandtsegg" <obrandts@...> >>To: "Developer discussions" <csound-devel@...> >>Sent: Monday, June 30, 2008 10:14 PM >>Subject: Re: [Cs-dev] compiling ... again >> >> >>> Sorry if I'm being really lame, >>> but does this mean the error lies in the Csound compile process (on >>> windows) trying to access a method that does not excist on win, or is >>> it something I do wrong ? >>> >>> Oeyvind >>> >>> 2008/6/30, root <root@...>: >>>> Gettimeofday is a POSIX function >>>> >>>> References in >>>> >>>> ./Top/threads.c where is is used in #if defined(LINUX) || >>>> defined(WIN32) >>>> ./Top/csound.c where it is protected with HAVE_GETTIMEOFDAY >>>> >>>> ==John ff >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://sourceforge.net/services/buy/index.php >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >>------------------------------------------------------------------------- >>Check out the new SourceForge.net Marketplace. >>It's the best place to buy or sell services for >>just about anything Open Source. >>http://sourceforge.net/services/buy/index.php >>_______________________________________________ >>Csound-devel mailing list >>Csound-devel@... >>https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
| Free Forum Powered by Nabble | Forum Help |