cwalls251 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

make odcctools fails on fedora x86_64 (libstuff problem) #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. follow build steps  on wiki
2.  when you get to "Build odcctools." step, and do $ make

What is the expected output? What do you see instead?

I could not compile odctools. It seems there are errors on incompatabile
libstuff.

output of the last 2 commands
---------------------------
[bsjung@linux ar]$ uname -a
Linux linux 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
[bsjung@linux ar]$ make
gcc -o ar append.o ar.o archive.o contents.o delete.o extract.o misc.o
move.o print.o replace.o  -L../libstuff -lstuff
/usr/bin/ld: skipping incompatible ../libstuff/libstuff.a when
searching for -lstuff
/usr/bin/ld: cannot find -lstuff
collect2: ld returned 1 exit status
make: *** [ar] Error 1
[bsjung@linux ar]$

What version of the product are you using? On what operating system?
Fedora 7 (Linux 2.6.21-1.3194.fc7) x86_64 with AMD Athlon64.

Please provide any additional information below.

Original issue reported on code.google.com by bsj...@gmail.com on 30 Oct 2007 at 8:02

GoogleCodeExporter commented 8 years ago
I finally success to build GCC.

At first, I don't set the CFLAGS and LDFLAGS.

This script is made for my build environment (RedHat Fedora 7)

#!/bin/sh
export CFLAGS="-m32"
export LDFLAGS="-m32"

../../odcctools/configure --target=arm-apple-darwin --disable-ld64

make

Original comment by bsj...@gmail.com on 3 Dec 2007 at 2:50