Hi Rory, I'm not familiar with differences in version of pthreads, so can't comment there. Otherwise, could you give the complete line during the compilation error that you quoted as: -Wl,--output-def,csound32.def Creating library file: libcsound32.a The line that ends with "-Wl,--output-def,csound32.def"? It may help to see what the linker is set to do there. And perhaps a silly request, could you try doing a "scons -c" to do a clean of everything and try building from scratch? (In case an old object file is hanging around) Thanks! steven On Sun, Oct 5, 2008 at 11:18 AM, Rory Walsh wrote: > Same here. The only slight difference is that I renamed my pthread.2 > directory to pthreads Everything else is the same. I too have a > pthreadGC2.dll in my csound directory where I build from. What version > of pthreads are you using and do you think it makes much of a > difference. I used to use pthreads1 but just updated to the latest > one. > > Rory. > > > 2008/10/5 Steven Yi : >> Hi Rory, >> >> I'm looking at what I have and I see a pthreadGC2.dll in the csound5 >> directory where I compile things, and in custom.py I have these >> entries: >> >> customCPPPATH.append(r'C:\dev\pthreads.2\Pre-built.2\include') >> customLIBPATH.append(r'C:\dev\pthreads.2\Pre-built.2\lib') >> >> Hope that helps! >> steven >> >> On Sun, Oct 5, 2008 at 7:43 AM, Rory Walsh wrote: >>> I already have a libpthread.a. It came with my pthreads package. It >>> worked fine for me before but not it causes problems. I will keep >>> looking and see if I can find the solution. >>> >>> Rory. >>> >>> >>> 2008/10/2 Oeyvind Brandtsegg : >>>> I got help from Michael, he suggested: >>>> "If your problem is about the library, I suggest renaming one of the >>>> several pthreads libraries to libpthread.a. " >>>> This helped for me. >>>> >>>> Oeyvind >>>> >>>> 2008/10/2 Rory Walsh : >>>>> 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' >>>>> >>>>> ------------------------------------------------------------------------- >>>>> 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 >>>> 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 >>> 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 >> 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 > 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