[PR PATCH] [Closed]: Change order of flags in Makefile so that crackcheck builds under Ubuntu
github at samba.org
github at samba.org
Fri Dec 14 03:21:16 UTC 2018
There's a closed pull request on the Samba Samba Github repository
Change order of flags in Makefile so that crackcheck builds under Ubuntu
https://github.com/samba-team/samba/pull/115
Description: 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
~~~
More information about the samba-technical
mailing list