Issue #3169 has been updated by liweitianux. Category set to Userland Status changed from New to Closed Assignee set to liweitianux
Hi Philippe, thanks for trying cpdup on Linux. Actually, I have made some updates and cleanups to cpdup but haven't pushed to that Github repo. The cpdup now uses 'libbsd' and 'libmd' on Linux and should build and work fine (I'm using Debian testing). I have just pushed my changes to the repo. Please update and retry. You can open issues and submit PRs directly on Github. So I'll close this issue. Cheers, ---------------------------------------- Submit #3169: cpdup utility for Linux operating system failed to compile http://bugs.dragonflybsd.org/issues/3169#change-13590 * Author: bronko75 * Status: Closed * Priority: Normal * Assignee: liweitianux * Category: Userland * Target version: ---------------------------------------- Good Day, While compiling cpdup for Linux ( https://github.com/DragonFlyBSD/cpdup.git <https://github.com/DragonFlyBSD/cpdup.git>) on a Debian 9.6 box, I’ve encountered the following error: compat_md5.o: In function `MD5File': compat_md5.c:(.text+0x2f): undefined reference to `MD5_Init' compat_md5.c:(.text+0x47): undefined reference to `MD5_Update' compat_md5.c:(.text+0x7e): undefined reference to `MD5_Final' collect2: error: ld returned 1 exit status Makefile:20: recipe for target 'cpdup' failed make: *** [cpdup] Error 1 I was able to fix it by adding -lcrypto to the CFLAGS. Patch attached. Kind regards Philippe ---Files-------------------------------- 0001-addind-lcrypto-to-fix-undefined-reference-to-MD5_.patch (616 Bytes) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account