Hi I’ve been trying to install ffmpeg via fink, which requires guile20. However, I run into the following error:
/usr/include/stdio.h:277:7: note: 'tmpnam' has been explicitly marked deprecated here char *tmpnam(char *); ^ 1 warning generated. CC libguile_2.0_la-net_db.lo CC libguile_2.0_la-socket.lo CC libguile_2.0_la-regex-posix.lo CCLD libguile-2.0.la Undefined symbols for architecture x86_64: "_clock_getcpuclockid", referenced from: _scm_init_stime in libguile_2.0_la-stime.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [libguile-2.0.la] Error 1 make[2]: *** [all] Error 2 The specs are the following: Package manager version: 0.41.0 Distribution version: selfupdate-rsync Thu Sep 29 16:16:58 2016, 10.12, x86_64 Trees: local/main stable/main Xcode.app: 8.0 Xcode command-line tools: 8.0.0.0.1.1472435881 Max. Fink build jobs: 1 After some time on google I found that the bug is because Apple have changed something in a “clock” routine and that this patch https://gist.github.com/rahulg/baa500e84136f0965e9ade2fb36b90ba fixes it. However, I have no idea where to put this fix or if it could be put into the main version on fink. Any help here is much appreciated. All the best Joakim
------------------------------------------------------------------------------
_______________________________________________ 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