iOS build error - arm/filter_neon.S:32:9: error: unknown dir
Posted: 21 Jan 2014 18:32
Hi,
Is anyone getting this error by doing sh ./buildMobileVLCKit.sh on git://git.videolan.org/vlc-bindings/VLCKit.git? I am building using Xcode 5.0.2 on Maverick. Thanks.
libtool: compile: xcrun clang -c -DHAVE_CONFIG_H -I. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -I/Users/user1/WorkingDir/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -I/Users/user1/WorkingDir/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/include -g -c arm/filter_neon.S -fno-common -DPIC -o filter_neon.o
arm/filter_neon.S:32:9: error: unknown directive
.arch armv7-a
^
arm/filter_neon.S:33:9: error: unknown directive
.fpu neon
^
arm/filter_neon.S:42:9: error: unknown token in expression
.if \export
^
arm/filter_neon.S:43:17: error: expected identifier in directive
.global \name
^
arm/filter_neon.S:46:9: error: unknown directive
.func \name
^
arm/filter_neon.S:47:1: error: unexpected token at start of statement
\name:
^
arm/filter_neon.S:48:6: error: unexpected '.endm' in file, no current macro definition
.endm
^
arm/filter_neon.S:50:44: error: unexpected token in macro instantiation
func _png_read_filter_row_sub4_neon, export=1
^
arm/filter_neon.S:64:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:66:44: error: unexpected token in macro instantiation
func _png_read_filter_row_sub3_neon, export=1
^
arm/filter_neon.S:90:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:92:42: error: unexpected token in macro instantiation
func _png_read_filter_row_up_neon, export=1
^
arm/filter_neon.S:103:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:105:44: error: unexpected token in macro instantiation
func _png_read_filter_row_avg4_neon, export=1
^
arm/filter_neon.S:124:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:126:44: error: unexpected token in macro instantiation
func _png_read_filter_row_avg3_neon, export=1
^
arm/filter_neon.S:159:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:177:46: error: unexpected token in macro instantiation
func _png_read_filter_row_paeth4_neon, export=1
^
arm/filter_neon.S:198:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:200:46: error: unexpected token in macro instantiation
func _png_read_filter_row_paeth3_neon, export=1
^
arm/filter_neon.S:235:1: error: invalid instruction
endfunc
^
make[1]: *** [filter_neon.lo] Error 1
make: *** [.png] Error 2
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
** BUILD FAILED **
Is anyone getting this error by doing sh ./buildMobileVLCKit.sh on git://git.videolan.org/vlc-bindings/VLCKit.git? I am building using Xcode 5.0.2 on Maverick. Thanks.
libtool: compile: xcrun clang -c -DHAVE_CONFIG_H -I. -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -I/Users/user1/WorkingDir/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -arch armv7 -mcpu=cortex-a8 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -arch armv7 -miphoneos-version-min=5.1 -O3 -g -mcpu=cortex-a8 -I/Users/user1/WorkingDir/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/arm-apple-darwin11-armv7/include -g -c arm/filter_neon.S -fno-common -DPIC -o filter_neon.o
arm/filter_neon.S:32:9: error: unknown directive
.arch armv7-a
^
arm/filter_neon.S:33:9: error: unknown directive
.fpu neon
^
arm/filter_neon.S:42:9: error: unknown token in expression
.if \export
^
arm/filter_neon.S:43:17: error: expected identifier in directive
.global \name
^
arm/filter_neon.S:46:9: error: unknown directive
.func \name
^
arm/filter_neon.S:47:1: error: unexpected token at start of statement
\name:
^
arm/filter_neon.S:48:6: error: unexpected '.endm' in file, no current macro definition
.endm
^
arm/filter_neon.S:50:44: error: unexpected token in macro instantiation
func _png_read_filter_row_sub4_neon, export=1
^
arm/filter_neon.S:64:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:66:44: error: unexpected token in macro instantiation
func _png_read_filter_row_sub3_neon, export=1
^
arm/filter_neon.S:90:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:92:42: error: unexpected token in macro instantiation
func _png_read_filter_row_up_neon, export=1
^
arm/filter_neon.S:103:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:105:44: error: unexpected token in macro instantiation
func _png_read_filter_row_avg4_neon, export=1
^
arm/filter_neon.S:124:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:126:44: error: unexpected token in macro instantiation
func _png_read_filter_row_avg3_neon, export=1
^
arm/filter_neon.S:159:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:177:46: error: unexpected token in macro instantiation
func _png_read_filter_row_paeth4_neon, export=1
^
arm/filter_neon.S:198:1: error: invalid instruction
endfunc
^
arm/filter_neon.S:200:46: error: unexpected token in macro instantiation
func _png_read_filter_row_paeth3_neon, export=1
^
arm/filter_neon.S:235:1: error: invalid instruction
endfunc
^
make[1]: *** [filter_neon.lo] Error 1
make: *** [.png] Error 2
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
** BUILD FAILED **