iPhone/iPod Touch compile error on lion

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gdier Offline
Junior Member
Posts: 4
Joined: Jul 2012
Reputation: 0
Post: #1
MacOS X 10.7.4
XCode 4.3.3
iOS SDK 5.1
latest XBMC code from github

compile error when executing:

make xcode_depends

Code:
AS    libavcodec/arm/ac3dsp_arm.o
libavcodec/arm/asm.S:38:Unknown pseudo-op: .arch
libavcodec/arm/asm.S:38:Rest of line ignored. 1st junk character valued 97 (a).
make[2]: *** [libavcodec/arm/ac3dsp_arm.o] Error 1
make[1]: *** [ffmpeg] Error 2
make: *** [dvdpcodecs] Error 2

I have tried the gas-preprocessor.pl in this thread
http://forum.xbmc.org/showthread.php?tid=128227
but it still doesn't work

Is there anyone who knowns how to solve this problem?

Thanks for great job on XBMC project!
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #2
enter "which gas-preprocessor.pl" and put the output here...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
gdier Offline
Junior Member
Posts: 4
Joined: Jul 2012
Reputation: 0
Post: #3
/usr/local/bin/gas-preprocessor.pl

version from HEAD of
https://github.com/yuvi/gas-preprocessor
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,402
Joined: Feb 2008
Reputation: 58
Post: #4
use the one in tools/darwin/depends/gas-preprocessor, cp it to /usr/local/bin/


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
gdier Offline
Junior Member
Posts: 4
Joined: Jul 2012
Reputation: 0
Post: #5
i`ve tried this one, just the same error
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,402
Joined: Feb 2008
Reputation: 58
Post: #6
V=1 make so I can see the entire error line.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #7
Normally it should take gas-preprocessor.pl from /Users/Shared/xbmc-depends/toolchain/bin ... but nvm ...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2012-07-31 09:55 by Memphiz.)
find quote
gdier Offline
Junior Member
Posts: 4
Joined: Jul 2012
Reputation: 0
Post: #8
(2012-07-31 03:43)davilla Wrote:  V=1 make so I can see the entire error line.

From the entire error line, seems like "/Users/Shared/xbmc-depends/toolchain/bin/gas-preprocessor.pl" and "tools/darwin/depends/gas-preprocessor" are different
I put the right version to toolchain directory, and it works well
p.s. I tried compile Eden-ATV2-iOS5 branch before, so gass-preprocessor.pl in toolchain directory is from that branch.

now i have the final question(maybe), xcode 4.3.3 needs codesign in build setting, so i signed the package with my own key, and delete codesign script in build phases, is there any problem?

thanks, and also thanks to @Memphiz
(This post was last modified: 2012-08-01 15:59 by gdier.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #9
no problem. You can patch xcode so that it doesn't need codesigning - but if you've got a dev cert its no problem to use it.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
freshmikeb Offline
Junior Member
Posts: 47
Joined: Sep 2011
Reputation: 0
Location: Los Angeles
Post: #10
I've never been able to build successfully on Lion (or now M. Lion). Moved gaspreprossor to the right places via the various tips I've seen around here but the build always breaks with this error:

make -C ffmpeg
CC libavdevice/alldevices.o
clang (LLVM option parsing): Unknown command line argument '-stack-alignment=16'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-ssc-dce-limit=16'?
make[2]: *** [libavdevice/alldevices.o] Error 1
make[1]: *** [ffmpeg] Error 2
make: *** [dvdpcodecs] Error 2


Any tips Davilla or Memz?
find quote
Post Reply