Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

[IOS] build failure, libiconv!! #106

@krislyy

Description

@krislyy

Description
I use command "./ios.sh --enable-libass --disable-armv7 --disable-armv7s --disable-i386" to build libass.a.
but failed in building libiconv.a. like the log shows below. I think it's problem of system environment.

Logs
'''
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/usr/include/sys/_types/_uid_t.h:31:3131make[2]: *** [allocator.o] Error 1
: make[2]: : *** Waiting for unfinished jobs....error: error
cannot combine with previous 'type-name' declaration specifier
: typedef __darwin_uid_t uid_t;
^cannot combine with previous 'type-name' declaration specifier

../config.h:1162typedef __darwin_uid_t uid_t;
^
:15:../config.h:1162 note: expanded from macro 'uid_t'
:15#define uid_t int
: note: expanded from macro 'uid_t'
^#define uid_t int
^

3 errors generated.
make[2]: *** [areadlink.o] Error 1
3 errors generated.
3 errors generated.
make[2]: *** [careadlinkat.o] Error 1
make[2]: *** [binary-io.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
'''
Environment

  • Platform: [IOS]
  • Architecture: [arm64, x86_64]
  • Source branch (if applicable) [master]
  • Xcode version (if applicable) [12.2, 10.2]

Other
Add any other context about the problem here.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions