Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 26 Aug 2011 13:25:14 +0200
From: groszek <necro@...icon.pl>
To: john-users@...ts.openwall.com
Subject: John 1.7.8 fails to compile under freebsd x86-64

Hi. There are several problems i met while trying to compile john +
jumbo on freebsd (8.1) x86-64:

1. Just "make" complains it doesn't know how to make "sh". Executing
"make default" lists targets.

2. Conflicting types for 'uint64_t'
stdint.h:9 has its own declaration of uint64_t, which is previously
declared in /usr/include/sys/types.h. Easy enough, commenting out this
ditty in stdint.h helps.

3. Fails to link assembly code:
inc.o(.text+0x2b6b): In function `do_incremental_crack':
: undefined reference to `fmt_NETLM'
inc.o(.text+0x2b77): In function `do_incremental_crack':
: undefined reference to `fmt_NETHALFLM'
john.o(.text+0x95): In function `john_register_all':
: undefined reference to `fmt_BFEgg'
john.o(.text+0x9f): In function `john_register_all':
: undefined reference to `fmt_DMD5'
john.o(.text+0xa9): In function `john_register_all':
: undefined reference to `fmt_DOMINOSEC'
john.o(.text+0xb3): In function `john_register_all':
: undefined reference to `fmt_EPI'
john.o(.text+0xbd): In function `john_register_all':
: undefined reference to `fmt_HDAA'
john.o(.text+0xc7): In function `john_register_all':
: undefined reference to `fmt_IPB2'
john.o(.text+0xd1): In function `john_register_all':
: undefined reference to `fmt_KRB4'
john.o(.text+0xdb): In function `john_register_all':
: undefined reference to `fmt_KRB5'
john.o(.text+0xe5): In function `john_register_all':
: undefined reference to `fmt_MSCHAPv2'
john.o(.text+0xef): In function `john_register_all':
: undefined reference to `fmt_MYSQL_fast'
john.o(.text+0xf9): In function `john_register_all':
: undefined reference to `fmt_MYSQL'
john.o(.text+0x103): In function `john_register_all':
: undefined reference to `fmt_NETLM'
john.o(.text+0x10d): In function `john_register_all':
: undefined reference to `fmt_NETLMv2'
john.o(.text+0x117): In function `john_register_all':
: undefined reference to `fmt_NETNTLM'
john.o(.text+0x121): In function `john_register_all':
: undefined reference to `fmt_NETNTLMv2'
john.o(.text+0x12b): In function `john_register_all':
: undefined reference to `fmt_NETHALFLM'
john.o(.text+0x135): In function `john_register_all':
: undefined reference to `fmt_NSLDAPS'
john.o(.text+0x13f): In function `john_register_all':
: undefined reference to `fmt_NSLDAP'
john.o(.text+0x149): In function `john_register_all':
: undefined reference to `fmt_NS'
john.o(.text+0x153): In function `john_register_all':
: undefined reference to `fmt_NT'
john.o(.text+0x15d): In function `john_register_all':
: undefined reference to `fmt_OPENLDAPS'
john.o(.text+0x167): In function `john_register_all':
: undefined reference to `fmt_PHPS'
john.o(.text+0x171): In function `john_register_all':
: undefined reference to `fmt_PO'
john.o(.text+0x17b): In function `john_register_all':
: undefined reference to `fmt_XSHA'
john.o(.text+0x185): In function `john_register_all':
: undefined reference to `fmt_hmacMD5'
john.o(.text+0x18f): In function `john_register_all':
: undefined reference to `fmt_lotus5'
john.o(.text+0x199): In function `john_register_all':
: undefined reference to `fmt_md4_gen'
john.o(.text+0x1a3): In function `john_register_all':
: undefined reference to `fmt_mediawiki'
john.o(.text+0x1ad): In function `john_register_all':
: undefined reference to `fmt_mscash'
john.o(.text+0x1b7): In function `john_register_all':
: undefined reference to `fmt_mscash2'
john.o(.text+0x1c1): In function `john_register_all':
: undefined reference to `fmt_mskrb5'
john.o(.text+0x1cb): In function `john_register_all':
: undefined reference to `fmt_mssql'
john.o(.text+0x1d5): In function `john_register_all':
: undefined reference to `fmt_mssql05'
john.o(.text+0x1df): In function `john_register_all':
: undefined reference to `fmt_mysqlSHA1'
john.o(.text+0x1e9): In function `john_register_all':
: undefined reference to `fmt_oracle11'
john.o(.text+0x1f3): In function `john_register_all':
: undefined reference to `fmt_oracle'
john.o(.text+0x1fd): In function `john_register_all':
: undefined reference to `fmt_phpassmd5'
john.o(.text+0x207): In function `john_register_all':
: undefined reference to `fmt_pixMD5'
john.o(.text+0x211): In function `john_register_all':
: undefined reference to `fmt_pkzip'
john.o(.text+0x21b): In function `john_register_all':
: undefined reference to `fmt_rawMD4'
john.o(.text+0x225): In function `john_register_all':
: undefined reference to `fmt_rawMD5go'
john.o(.text+0x22f): In function `john_register_all':
: undefined reference to `fmt_rawMD5unicode'
john.o(.text+0x239): In function `john_register_all':
: undefined reference to `fmt_rawSHA1'
john.o(.text+0x243): In function `john_register_all':
: undefined reference to `fmt_rawmd5u'
john.o(.text+0x24d): In function `john_register_all':
: undefined reference to `fmt_saltedsha'
john.o(.text+0x257): In function `john_register_all':
: undefined reference to `fmt_sapB'
john.o(.text+0x261): In function `john_register_all':
: undefined reference to `fmt_sapG'
john.o(.text+0x26b): In function `john_register_all':
: undefined reference to `fmt_sha1_gen'
john.o(.text+0x275): In function `john_register_all':
: undefined reference to `fmt_trip'
x86-64.o(.text+0x5cd8): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x5ce1): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x5d11): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x5d1a): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x5d77): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x5d80): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0x6fb2): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x6fbb): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x6fc3): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x6fcc): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x6fd4): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x6fdd): more undefined references to `output8x' follow
x86-64.o(.text+0x703a): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x7043): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x7073): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x707c): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x70d9): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x70e2): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0x8314): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x831d): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x8325): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x832e): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x8336): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x833f): more undefined references to `output8x' follow
x86-64.o(.text+0x839c): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x83a5): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x83d5): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x83de): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x843b): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x8444): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0x9676): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x967f): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x9687): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x9690): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x9698): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0x96a1): more undefined references to `output8x' follow
x86-64.o(.text+0x96fe): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x9707): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x9737): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x9740): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x979d): In function `nt_crypt_all_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0x97a6): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0xa9d8): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xa9e1): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xa9e9): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xa9f2): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xa9fa): In function `nt_crypt_all_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xaa03): more undefined references to `output8x' follow
x86-64.o(.text+0xaa71): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xaa7a): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xaa8d): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xaa96): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xaaf3): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xaafc): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0xbd2e): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xbd37): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xbd3f): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xbd48): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xbd50): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xbd59): more undefined references to `output8x' follow
x86-64.o(.text+0xbdb6): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xbdbf): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xbdd2): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xbddb): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xbe38): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xbe41): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0xd073): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xd07c): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xd084): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xd08d): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xd095): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xd09e): more undefined references to `output8x' follow
x86-64.o(.text+0xd0fb): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xd104): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xd117): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xd120): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xd17d): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xd186): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0xe3b8): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xe3c1): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xe3c9): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xe3d2): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xe3da): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xe3e3): more undefined references to `output8x' follow
x86-64.o(.text+0xe440): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xe449): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xe45c): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xe465): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xe4c2): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `nt_buffer8x'
x86-64.o(.text+0xe4cb): more undefined references to `nt_buffer8x' follow
x86-64.o(.text+0xf6fd): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xf706): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xf70e): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xf717): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xf71f): In function `nt_crypt_all_8859_1_x86_64':
: undefined reference to `output8x'
x86-64.o(.text+0xf728): more undefined references to `output8x' follow
*** Error code 1

And that I have no idea how to fix to go on.

I have tested john-jumbo5 and john-jumbo6 that yield the same result.

Plain version of john has a working makefile (lists target) but fails at:

In file included from recovery.c:12:
/usr/include/sys/file.h:161: error: expected specifier-qualifier-list
before 'u_int'.

Same error will happen if I remove pdf_fmt from -jumbo (that links to
stdint.h problems).

My system:
- cc (GCC) 4.2.1 20070719  [FreeBSD]
- FreeBSD 8.1-RELEASE-p1
- bsdmake
- Intel(R) Xeon(TM) CPU 3.60GHz

Any help is appreciated!

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.