[DragonFlyBSD - Submit #3169] (New) cpdup utility for Linux operating system failed to compile

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Jan 19 03:35:31 PST 2019


Issue #3169 has been reported by bronko75.

----------------------------------------
Submit #3169: cpdup utility for Linux operating system failed to compile
http://bugs.dragonflybsd.org/issues/3169

* Author: bronko75
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* 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



-- 
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



More information about the Submit mailing list