Hacking [Linux 64bit] Compile issue: WBFS

danvari

Member
OP
Newcomer
Joined
Apr 26, 2009
Messages
8
Trophies
0
XP
75
Country
Gambia, The
hey!

i cannot compile the wbfs source code (http://github.com/caristat/wbfs/tree/master) on arch64, before i tried on gentoo amd64, same problem:

Code:
[stephan@myhost caristat-wbfs-ce8b2dbe2da1596355ef52fbd5eba200775e6990]$ make
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c negentig.c -o negentig.o 
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c tools.c -o tools.o 
tools.c: In Funktion »do_yaz0«:
tools.c:335: Warnung: unbenutzter Parameter »in_size«
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c bn.c -o bn.o 
bn.c:15: Warnung: »bn_print« definiert, aber nicht verwendet
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c ec.c -o ec.o 
ec.c:28: Warnung: »elt_print« definiert, aber nicht verwendet
ec.c:189: Warnung: »point_is_on_curve« definiert, aber nicht verwendet
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c disc_usage_table.c -o disc_usage_table.o 
disc_usage_table.c: In Funktion »do_fst«:
disc_usage_table.c:117: Warnung: unbenutzter Parameter »is_last«
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs.c -o libwbfs.o 
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs_unix.c -o libwbfs_unix.o 
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/wiidisc.c -o wiidisc.o 
libwbfs/wiidisc.c: In Funktion »wd_fix_partition_table«:
libwbfs/wiidisc.c:310: Warnung: unbenutzter Parameter »d«
gcc -Wall -W -O3 -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/rijndael.c -o rijndael.o 
gcc -Wall -W -O3 -Ilibwbfs -I. -m32 negentig.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_unix.o wiidisc.o rijndael.o -lcrypto -o negentig
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../libcrypto.a when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld gab 1 als Ende-Status zurück
make: *** [negentig] Fehler 1

i am using the following cflags (makefile):
Code:
CFLAGS = -Wall -W -O3 -Ilibwbfs -I.
#CFLAGS = -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I.

the second one - using 32bit output - does not work due archlinux is not multilib and cannot compile 32bit stuff (gentoo does, -m32 worked on gentoo).

so how can i fix that? does it compile on your 64bit machines using the cflags i use?
 

steve-p

Well-Known Member
Member
Joined
Apr 13, 2009
Messages
503
Trophies
0
XP
143
Country
that's cool, german error messages!

i dont think the problem is 64bit because it's not stopping the osx users.
maybe your libcrypto library is too old or new.

it's part of the openSSL package, try compiling a different version.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: yeah, i'm Anyone, that's just not my alias here