Update #2: For the latest version of the WBFS GUI Manager for Mac OS X, visit http://wiki.gbatemp.net/wiki/index.php/WBF...s#WBFS_Managers
Update: We got the wbfs tool to work on Mac OS X. If you want to head right to the action, you can get the diff/patch to wbfs to compile it yourself or get the compiled binary for Mac OS X. The changes have been emailed to Kwiirk who'll include it in the next official release of wbfs.
First of all, thanks for all the effort that has been put in to making all of this possible.
I'm trying to compile the WBFS tool under Mac OS X. First, I just tried the naive approach:
Ok, the not-so-unusual problem with building static binaries under Mac OS.
So I removed -static from LDFLAGS in the Makefile and tried again:
Anyone got any further or have any tips?
Update: We got the wbfs tool to work on Mac OS X. If you want to head right to the action, you can get the diff/patch to wbfs to compile it yourself or get the compiled binary for Mac OS X. The changes have been emailed to Kwiirk who'll include it in the next official release of wbfs.
First of all, thanks for all the effort that has been put in to making all of this possible.
I'm trying to compile the WBFS tool under Mac OS X. First, I just tried the naive approach:
Code:
Eia:cios_usb2 2 eirikh$ ls -l
total 720
-rw-r--r--@ÂÂ1 eiaÂÂstaffÂÂ365312 Mar 30 19:49 cios_dip_usb2_install.dol
drwxr-xr-x@ 16 eiaÂÂstaffÂÂÂÂ 544 Mar 31 12:56 sources
drwxr-xr-x@ÂÂ6 eiaÂÂstaffÂÂÂÂ 204 Mar 30 19:49 wbfs_linux
Eia:cios_usb2 2 eia$ cd sources/wbfs/
Eia:wbfs eia$ make clean
rm -f negentig.o scrub.o wbfs.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o negentig scrub wbfs
Eia:wbfs eia$ make
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c negentig.c -o negentig.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c tools.c -o tools.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c bn.c -o bn.o
bn.c:11: warning: 'bn_print' defined but not used
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c ec.c -o ec.o
ec.c:28: warning: 'elt_print' defined but not used
ec.c:189: warning: 'point_is_on_curve' defined but not used
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c disc_usage_table.c -o disc_usage_table.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs.c -o libwbfs.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs_linux.c -o libwbfs_linux.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/wiidisc.c -o wiidisc.o
libwbfs/wiidisc.c:308: warning: unused parameter 'd'
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/rijndael.c -o rijndael.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -m32 -static negentig.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o -lcrypto -o negentig
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make: *** [negentig] Error 1
Eia:wbfs eirikh$
Ok, the not-so-unusual problem with building static binaries under Mac OS.
So I removed -static from LDFLAGS in the Makefile and tried again:
Code:
Eia:wbfs eia$ vi Makefile
Eia:wbfs eia$ make clean
rm -f negentig.o scrub.o wbfs.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o negentig scrub wbfs
Eia:wbfs eirikh$ make
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c negentig.c -o negentig.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c tools.c -o tools.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c bn.c -o bn.o
bn.c:11: warning: 'bn_print' defined but not used
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c ec.c -o ec.o
ec.c:28: warning: 'elt_print' defined but not used
ec.c:189: warning: 'point_is_on_curve' defined but not used
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c disc_usage_table.c -o disc_usage_table.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs.c -o libwbfs.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/libwbfs_linux.c -o libwbfs_linux.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/wiidisc.c -o wiidisc.o
libwbfs/wiidisc.c:308: warning: unused parameter 'd'
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c libwbfs/rijndael.c -o rijndael.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -m32 negentig.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o -lcrypto -o negentig
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c scrub.c -o scrub.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -m32 scrub.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o -lcrypto -o scrub
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -c wbfs.c -o wbfs.o
gcc -Wall -m32 -WÂÂ-ggdb -Ilibwbfs -I. -m32 wbfs.o tools.o bn.o ec.o disc_usage_table.o libwbfs.o libwbfs_linux.o wiidisc.o rijndael.o -lcrypto -o wbfs
Undefined symbols:
ÂÂ"_wbfs_try_open", referenced from:
ÂÂÂÂÂÂ_main in wbfs.o
ÂÂ"_wbfs_try_open_partition", referenced from:
ÂÂÂÂÂÂ_wbfs_applet_create in wbfs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [wbfs] Error 1
Anyone got any further or have any tips?