Here is the problem code

gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include -I/sw/include 
-DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c
In file included from Python/random.c:7:
/usr/include/sys/random.h:37:32: error: unknown type name 'u_int'
void read_random(void* buffer, u_int numBytes);
                               ^
/usr/include/sys/random.h:38:33: error: unknown type name 'u_int'
void read_frandom(void* buffer, u_int numBytes);
                                ^
/usr/include/sys/random.h:39:33: error: unknown type name 'u_int'
int  write_random(void* buffer, u_int numBytes);
                                ^
Python/random.c:117:19: warning: implicit declaration of function
'getentropy' is invalid in C99 [-Wimplicit-function-declaration]
            res = getentropy(buffer, len);
                  ^
1 warning and 3 errors generated.
make: *** [Makefile:1365: Python/random.o] Error 1
make: *** Waiting for unfinished jobs....
### execution of make failed, exit code 2
### execution of /tmp/fink.jVTZb failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-python27-2.7.13-1
(Reading database ... 254562 files and directories currently installed.)
Removing fink-buildlock-python27-2.7.13-1 ...
Failed: phase compiling: python27-2.7.13-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

    The Fink Users List <fink-us...@lists.sourceforge.net>
    The Fink Beginners List <fink-beginners@lists.sourceforge.net>,

with a carbon copy to the maintainer:

    Daniel Johnson <dan...@daniel-johnson.org>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.41.1
Distribution version: selfupdate-cvs Mon Jan  9 12:15:05 2017, 10.12, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 8.2.1
Xcode command-line tools: 8.2.0.0.1.1480973914
Max. Fink build jobs:  8


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to