Yes, 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