samdump2 version 1.1.1-1 failed to build on i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samdump2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Unassigned |
Bug Description
samdump2 version 1.1.1-1 failed to build on i386
Link to failed build: https:/
Direct link to the build log: https:/
This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 816 lines into the build log:
hive.c: In function '_RegQueryValue':
hive.c:261:18: warning: unused variable 'j'
/usr/bin/gcc -Wall -g -O2 -c -o samdump2.o samdump2.c
samdump2.c: In function 'main':
samdump2.c:166:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
Building binary...
/usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lssl
/usr/bin/ld: samdump2.o: undefined reference to symbol 'MD5_Final@
/usr/bin/ld: note: 'MD5_Final@
/lib/libcrypto.
collect2: ld returned 1 exit status
make[1]: *** [samdump2] Error 1
make[1]: Leaving directory `/build/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
*******
Build finished at 20110408-1748
FAILED [dpkg-buildpackage died]
Purging chroot-
Changed in samdump2 (Ubuntu): | |
importance: | Undecided → High |
tags: | added: oneiric |
Changed in samdump2 (Ubuntu): | |
milestone: | none → oneiric-alpha-1 |
Changed in samdump2 (Ubuntu Oneiric): | |
milestone: | oneiric-alpha-1 → oneiric-alpha-2 |
Hi. I have a question regarding this issue.
I have downloaded and built it and seems to build ok. I attached the build log.
The steps I took to do this is:
1) branch it from bzr: bzr branch lp:ubuntu/samdump2 1.1.1-1. 1.dsc
2) build source package bzr bd -- -S -us -uc
3) Using pbuilder, I built it: sudo pbuilder build ../samdump2_
What am I doing wrong ? The line that throws the error is different in my build from the one in this bug report:
- Bug report: /usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lssl
- My build: /usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lcrypto
Thanks and best regards.
Sebastian.