Thanks, I found an entire set of patches.

On Sunday, October 30, 2016 at 10:28:40 PM UTC-4, Isaiah wrote:
>
> Just guessing here from some quick poking around: try adding `#include 
> <sys/types.h>` to that file (`OPENBLAS_SRC/driver/others/blas_server.c`).
>
> On Sat, Oct 29, 2016 at 4:50 PM, Kostas Oikonomou <kostas.oi...@gmail.com 
> <javascript:>> wrote:
>
>> Hi, I'm following the instructions in the README, trying to build 0.5.0 
>> from source on an amd64 machine.   
>>
>> However, I'm stuck at errors  in the OpenBlas build:
>>
>>
>> blas_server.c:569:16: error: variable has incomplete type 'struct rlimit'
>>         struct rlimit rlim;
>>                       ^
>> blas_server.c:569:9: note: forward declaration of 'struct rlimit'
>>         struct rlimit rlim;
>>                ^
>> blas_server.c:578:17: warning: implicit declaration of function 'raise' 
>> is invalid in C99
>>       [-Wimplicit-function-declaration]
>>         if(0 != raise(SIGINT)) {
>>                 ^
>> blas_server.c:578:23: error: use of undeclared identifier 'SIGINT'
>>         if(0 != raise(SIGINT)) {
>>                       ^
>> 1 warning and 2 errors generated.
>> gmake[3]: *** [Makefile:101: blas_server.o] Error 1
>>
>>
>> I also tried using FreeBSD's OpenBlas port, but that apparently creates a 
>> conflict between gcc 4.8.4 and the recommended gcc6.
>>
>> Here is my Make.user file:
>>
>> # libunwind needs a small patch to its tests to compile.
>> FC=gfortran6
>> # gfortran can't link binaries:
>> FFLAGS=-Wl,-rpath,/usr/local/lib/gcc6
>> # System libraries installed by pkg are not on the compiler path by 
>> default:
>> LDFLAGS=/usr/local/lib
>> CPPFLAGS=/usr/local/include
>> # Problems with OpenBLAS 
>> OPENBLAS_TARGET_ARCH=BARCELONA
>> OPENBLAS_DYNAMIC_ARCH=0 
>> # Installation
>> prefix=/opt/julia
>>
>> Thanks for any help.
>>
>> Kostas
>>
>
>

Reply via email to