salah1979 / iphone-dev

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

Failed building odcctools [print_objc.o] Error #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
# Build odcctools.
$ mkdir -p build/odcctools
$ pushd build/odcctools
$ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64
$ make

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

What version of the product are you using? On what operating system?
Ubuntu 8.04

Please provide any additional information below.
Error:

../../../odcctools/otool/print_objc.c: In function ‘print_protocol_list’:
../../../odcctools/otool/print_objc.c:1527: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../odcctools/otool/print_objc.c: In function ‘print_protocol’:
../../../odcctools/otool/print_objc.c:1553: error: ‘struct objc_protocol’
has no member named ‘isa’
../../../odcctools/otool/print_objc.c:1556: error: ‘struct objc_protocol’
has no member named ‘protocol_name’
../../../odcctools/otool/print_objc.c:1558: error: ‘struct objc_protocol’
has no member named ‘protocol_name’
../../../odcctools/otool/print_objc.c:1569: error: ‘struct objc_protocol’
has no member named ‘protocol_list’
../../../odcctools/otool/print_objc.c:1570: error: ‘struct objc_protocol’
has no member named ‘protocol_list’
../../../odcctools/otool/print_objc.c:1577: error: ‘struct objc_protocol’
has no member named ‘instance_methods’
../../../odcctools/otool/print_objc.c:1578: error: ‘struct objc_protocol’
has no member named ‘instance_methods’
../../../odcctools/otool/print_objc.c:1585: error: ‘struct objc_protocol’
has no member named ‘class_methods’
../../../odcctools/otool/print_objc.c:1586: error: ‘struct objc_protocol’
has no member named ‘class_methods’
make[1]: *** [print_objc.o] Error 1
make[1]: Leaving directory `/home/simo/iphone-dev/build/odcctools/otool'
make: *** [otool] Error 2

Original issue reported on code.google.com by w...@hotmail.it on 12 Oct 2008 at 10:25

GoogleCodeExporter commented 8 years ago
Got the same issue. Can anybody help?

Original comment by dee...@gmail.com on 13 Nov 2008 at 10:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
install gcc-objc first in order to make it compile correctly.
you can get it by following command
$apt-get install gobjc

after than re-configure and you will build it successfully

Original comment by iamso...@gmail.com on 15 Dec 2008 at 6:01

GoogleCodeExporter commented 8 years ago
I've got "E: Couldn't find package gobjc" while trying this.

Original comment by dee...@gmail.com on 15 Dec 2008 at 9:39