| Thanks.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
> On 1 Apr 2017, at 23:17, Steven Yi wrote:
>
> I see what happened. I needed to add back including csGblMtx.h, but
> more importantly, I had to add HAVE_PTHREAD to the global C compile
> flags rather than just for libcsound64. I committed that change and I
> can build here on OSX 10.12, Windows (mingw, VS), and Debian 64-bit.
>
> On Sat, Apr 1, 2017 at 5:46 PM, Steven Yi wrote:
>> Odd, it should be in csGblMtx.h. I'll switch to my Mac too see if I
>> can get some more info on that.
>>
>> On Sat, Apr 1, 2017 at 5:31 PM, Victor Lazzarini
>> wrote:
>>> One of the things I had to fix was to remove the calls to csoundLock() in InOut/pmidi.c. I hope this will work OK. They are
>>> not used in Windows, only elsewhere, but csoundLock() seems to have disappeared (there was a link error). Maybe
>>> you can review this change, Steven?
>>> ========================
>>> Prof. Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 1 Apr 2017, at 22:27, Steven Yi wrote:
>>>>
>>>> Perhaps do a clean and rebuild? I wonder if any stale object files
>>>> might be around (longshot guess). I'll switch to Linux now to see if
>>>> I can reproduce the issue. (I'm using Debian here though which I
>>>> think is what is used on Travis, so I'm guess it might build fine...)
>>>>
>>>> On Sat, Apr 1, 2017 at 4:44 PM, jpff wrote:
>>>>> Something about threads -- no idea what
>>>>>
>>>>> make[2]: Leaving directory '/home/jpff/csound6'
>>>>> make -f tests/c/CMakeFiles/testChannels.dir/build.make tests/c/CMakeFiles/testChannels.dir/build
>>>>> make[2]: Entering directory '/home/jpff/csound6'
>>>>> Linking C executable testChannels
>>>>> cd /home/jpff/csound6/tests/c && /usr/bin/cmake -E cmake_link_script CMakeFiles/testChannels.dir/link.txt --verbose=1
>>>>> /usr/bin/cc -ftree-vectorize -ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer -DLIB64 -DSCORE_PARSER -Wall -W -Wno-missing-field-initializers -Wno-unused-parameter -Wformat -Werror=format-security -O3 -mtune=corei7 -DJPFF -ftree-vectorize -ffast-math -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -DHAVE_CURL -g CMakeFiles/testChannels.dir/channel_tests.c.o -o testChannels -rdynamic ../../libcsound64.a -lcunit /usr/local/lib64/libsndfile.so -lcurl -lm -ldl -lrt -Wl,-rpath,/usr/local/lib64
>>>>> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ../../libcsound64.a(threads.c.o): undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
>>>>> /lib64/libpthread.so.0: error adding symbols: DSO missing from command line
>>>>> collect2: error: ld returned 1 exit status
>>>>> tests/c/CMakeFiles/testChannels.dir/build.make:93: recipe for target 'tests/c/testChannels' failed
>>>>> make[2]: *** [tests/c/testChannels] Error 1
>>>>> make[2]: Leaving directory '/home/jpff/csound6'
>>>>> CMakeFiles/Makefile2:4638: recipe for target 'tests/c/CMakeFiles/testChannels.dir/all' failed
>>>>> make[1]: *** [tests/c/CMakeFiles/testChannels.dir/all] Error 2
>>>>> make[1]: Leaving directory '/home/jpff/csound6'
>>>>> Makefile:140: recipe for target 'all' failed
>>>>> make: *** [all] Error 2
>>>>> birtwistle:~/csound6> |