Export to GitHub

iphone-dev - issue #155

Failed building odcctools [print_objc.o] Error


Posted on Oct 12, 2008 by Happy Horse

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

Comment #1

Posted on Nov 13, 2008 by Massive Cat

Got the same issue. Can anybody help?

Comment #2

Posted on Nov 20, 2008 by Swift Panda

Comment deleted

Comment #3

Posted on Dec 15, 2008 by Massive Giraffe

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

Comment #4

Posted on Dec 15, 2008 by Massive Cat

I've got "E: Couldn't find package gobjc" while trying this.

Status: New

Labels:
Type-Defect Priority-Medium