gcode-mirror / iphone-dev

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

odcctools make error on Mandriva #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Got error issue like in issue 141 while making "make
LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn "

2. Updated headers in odcctools
http://code.google.com/p/iphone-dev/issues/detail?id=141&colspec=ID%20Type%20Sta
tus%20Opsys%20CPU%20Priority%20Owner%20Summary#c16

3. Making odcctools fails with:

I'm getting the "load command 7" error as well, trying to compile in Fedora.

If I do the above svn switches, I get the following while compiling odcctools:

In file included from ../../../odcctools/include/foreign/objc/Protocol.h:31,
                 from ../../../odcctools/otool/print_objc.c:34:
../../../odcctools/include/foreign/objc/Object.h:52: error: stray '@' in
program
../../../odcctools/include/foreign/objc/Object.h:52: error: expected '=',
',', ';',
'asm' or '__attribute__' before 'Object'
../../../odcctools/include/foreign/objc/Object.h:59: error: expected
identifier or
'(' before '+' token
../../../odcctools/include/foreign/objc/Object.h:60: error: expected
identifier or
'(' before '-' token
../../../odcctools/include/foreign/objc/Object.h:64: error: expected
identifier or
'(' before '+' token
../../../odcctools/include/foreign/objc/Object.h:65: error: expected
identifier or
'(' before '+' token
../../../odcctools/include/foreign/objc/Object.h:66: error: expected
identifier or
'(' before '-' token
../../../odcctools/include/foreign/objc/Object.h:67: error: expected
identifier or
'(' before '+' token
../../../odcctools/include/foreign/objc/Object.h:68: error: expected
identifier or
'(' before '-' token

(... plus lots more of similar messages, and very similar messages for
odcctools/include/foreign/objc/Protocol.h and odcctools/otool/print_objc.c)

I'm using Mandriva 2008

Any suggestions?

Original issue reported on code.google.com by dee...@gmail.com on 13 Nov 2008 at 11:14

GoogleCodeExporter commented 9 years ago
I am getting the exact same errors as above trying to compile odcctools-9.2-ld 
on
Fedora 10 x86_64.

Any suggestions?

Original comment by kayvansy...@gmail.com on 7 Mar 2009 at 10:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
deeSun & kayvansylvan:

this command solved the problem for me: 'sudo apt-get install gobjc'

(credits to max.e.stewart)

Original comment by michael....@googlemail.com on 17 Mar 2009 at 10:39

GoogleCodeExporter commented 9 years ago
I did it - 'sudo apt-get install gobjc'
But same errors happen.
Other suggestions?

Original comment by luke0...@gmail.com on 13 Apr 2009 at 2:35

GoogleCodeExporter commented 9 years ago
I've built successfully. Thank you.

Original comment by luke0...@gmail.com on 13 Apr 2009 at 2:59