Thanks everyone, I know what the problem was. I replace custom.py with my own custom.py each time I check out from the CVS repo. What I hadn't realised was that I was inadvertently replacing the new SConstruct file with an older one. This seemed be the cause of the problem. It builds fine now. I just need to check that it works. If you don't hear back from me everything went ok. Thanks again for the help. Rory. 2008/10/5 Rory Walsh : > I don't see any check for pthread? I will check out the latest > SConstruct file from CVS and let you know how I get on. Cheers, > > Rory. > > > 2008/10/5 dp51 : >> >> I think the pthread library is being found, otherwise you would've seen: >> >> Checking for C library pthread... no >> >> Which library did you rename to libpthread.a? libpthreadGC2.a is the one >> that >> I renamed to libpthread.a. >> >> Good luck, >> >> Davis >> >> >> >> rory walsh wrote: >>> >>> It's been a long time since I last built Csound with the latest >>> sources and I'm getting errors related to pthreads*. It appears as if >>> the pthread lib cannot be found even though I have added the correct >>> path to the custom.py file. Any ideas? I saw Oeyvind has a similar >>> problem back in June but I didn't see a solution posted. >>> >>> Rory. >>> >>> *snapshot of output from scons: >>> >>> -Wl,--output-def,csound32.def >>> Creating library file: libcsound32.a >>> Top\csound.o(.text+0x309): In function `kperfThread': >>> d:/MyDocuments/SourceCode/Csound5/csound5/Top/csound.c:1141: undefined >>> reference to `_imp__pthread_equal' >>> Top\threads.o(.text+0x18e): In function `csoundCreateThread': >>> d:/MyDocuments/SourceCode/Csound5/csound5/Top/threads.c:198: undefined >>> reference to `_imp__pthread_create' >>> Top\threads.o(.text+0x1c7): In function `csoundGetCurrentThreadId': >>> d:/MyDocuments/SourceCode/Csound5/csound5/Top/threads.c:208: undefined >>> reference to `_imp__pthread_self' >>> Top\threads.o(.text+0x205): In function `csoundJoinThread': >>> d:/MyDocuments/SourceCode/Csound5/csound5/Top/threads.c:217: undefined >>> reference to `_imp__pthread_join' >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/building-problems-on-windows...-pthreads...-tp19780015p19827836.html >> Sent from the Csound - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net