Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 5 Feb 2009 21:27:14 +0300
From: "Alex V. Breger" <osgxdvyg@...il.com>
To: john-users@...ts.openwall.com
Subject: john-1.7.3.1-all5 mac os x linking problem

Hello

Just downloaded john-1.7.3.1 + all-5.diff and trying to build it on
Mac os X / x86_64
$ make macosx-x86-64
....
gcc genmkvpwd.o mkvlib.o memory.o miscnl.o -s -lm -o ../run/genmkvpwd
ld64: warning: option -s is obsolete and being ignored
ld: warning in genmkvpwd.o, file is not of required architecture
ld: warning in mkvlib.o, file is not of required architecture
ld: warning in memory.o, file is not of required architecture
ld: warning in miscnl.o, file is not of required architecture
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../run/genmkvpwd] Error 1

then

gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include
-L/usr/local/lib -m64 -funroll-loops mkvcalcproba.c
gcc mkvcalcproba.o -s -lm -o ../run/mkvcalcproba
ld64: warning: option -s is obsolete and being ignored
ld: warning in mkvcalcproba.o, file is not of required architecture
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../run/mkvcalcproba] Error 1

then

gcc calc_stat.o -s -lm -o ../run/calc_stat
ld64: warning: option -s is obsolete and being ignored
ld: warning in calc_stat.o, file is not of required architecture
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../run/calc_stat] Error 1

We need more -m64 flags in jumbo patch.

-- 
WBR, Alex V Breger

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

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.