Hi all, I have updated my OS to Sierra, so I am updating and all my fink packages. All was going well until it failed to compile gcc5-5.4.0-3 The error message is:
../../../gcc-5.4.0/libgomp/config/posix/time.c: In function 'omp_get_wtime': ../../../gcc-5.4.0/libgomp/config/posix/time.c:54:5: error: implicit declaration of function 'clock_gettime' [-Werror=implicit-function-declaration] clock_gettime (CLOCK_REALTIME, &ts); ^ ../../../gcc-5.4.0/libgomp/config/posix/time.c:54:20: error: 'CLOCK_REALTIME' undeclared (first use in this function) clock_gettime (CLOCK_REALTIME, &ts); ^ ../../../gcc-5.4.0/libgomp/config/posix/time.c:54:20: note: each undeclared identifier is reported only once for each function it appears in ../../../gcc-5.4.0/libgomp/config/posix/time.c: In function 'omp_get_wtick': ../../../gcc-5.4.0/libgomp/config/posix/time.c:71:5: error: implicit declaration of function 'clock_getres' [-Werror=implicit-function-declaration] clock_getres (CLOCK_REALTIME, &ts); ^ ../../../gcc-5.4.0/libgomp/config/posix/time.c:71:19: error: 'CLOCK_REALTIME' undeclared (first use in this function) clock_getres (CLOCK_REALTIME, &ts); ^ cc1: all warnings being treated as errors Makefile:613: recipe for target 'time.lo' failed make[5]: *** [time.lo] Error 1 make[5]: Leaving directory '/sw/src/fink.build/gcc5-5.4.0-3/darwin_objdir/x86_64-apple-darwin16.1.0/libgomp' Makefile:857: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/sw/src/fink.build/gcc5-5.4.0-3/darwin_objdir/x86_64-apple-darwin16.1.0/libgomp' Makefile:451: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/sw/src/fink.build/gcc5-5.4.0-3/darwin_objdir/x86_64-apple-darwin16.1.0/libgomp' Makefile:19144: recipe for target 'all-stage1-target-libgomp' failed make[2]: *** [all-stage1-target-libgomp] Error 2 make[2]: Leaving directory '/sw/src/fink.build/gcc5-5.4.0-3/darwin_objdir' Makefile:20771: recipe for target 'stage1-bubble' failed make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory '/sw/src/fink.build/gcc5-5.4.0-3/darwin_objdir' Makefile:21086: recipe for target 'bootstrap-lean' failed make: *** [bootstrap-lean] Error 2 ### execution of /tmp/fink.IJEZq failed, exit code 2 ### execution of /tmp/fink.OMfbS failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc5-5.4.0-3 (Reading database ... 78075 files and directories currently installed.) Removing fink-buildlock-gcc5-5.4.0-3 ... Failed: phase compiling: gcc5-5.4.0-3 failed Thanx Gaby ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users