[PR PATCH] [Updated] Change order of flags in Makefile so that crackcheck builds under Ubuntu

github at samba.org github at samba.org
Wed Jan 3 09:05:58 UTC 2018


There is an updated pull request by candlerb against master on the Samba Samba Github repository

https://github.com/candlerb/samba candlerb/crackcheck-makefile
https://github.com/samba-team/samba/pull/115

Change order of flags in Makefile so that crackcheck builds under Ubuntu
Fixes build problem under Ubuntu

~~~
# make
gcc  -O2   -c -o crackcheck.o crackcheck.c
...
gcc  -O2 -lcrack -o crackcheck crackcheck.o
crackcheck.o: In function `main':
crackcheck.c:(.text.startup+0xee): undefined reference to `FascistCheck'
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'crackcheck' failed
make: *** [crackcheck] Error 1
~~~


A patch file from https://github.com/samba-team/samba/pull/115.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-candlerb/crackcheck-makefile-115.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180103/71ff5b52/crackcheck-makefile-115.patch>


More information about the samba-technical mailing list