Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when compile for Android #4

Open
paulocoutinhox opened this issue Feb 15, 2019 · 0 comments
Open

Problem when compile for Android #4

paulocoutinhox opened this issue Feb 15, 2019 · 0 comments

Comments

@paulocoutinhox
Copy link

Hi, im with a problem while compile poco project for android, but the real problem is when compile openssl that poco depends on it. I get this error:

aes-armv4.S:358:2: error: out of range immediate fixup value
 sub r10,r3,#AES_encrypt-AES_Te @ Te
 ^
aes-armv4.S:994:2: error: out of range immediate fixup value
 sub r10,r3,#AES_decrypt-AES_Td @ Td
 ^
make[3]: *** [aes-armv4.o] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build_crypto] Error 1
OpenSSL/1.0.2o@conan/stable: 
OpenSSL/1.0.2o@conan/stable: ERROR: Package '534df50dac7c680f5f1cff0af81b32be7b5b5a24' build failed
OpenSSL/1.0.2o@conan/stable: WARN: Build folder /Users/paulo/.conan/data/OpenSSL/1.0.2o/conan/stable/build/534df50dac7c680f5f1cff0af81b32be7b5b5a24
ERROR: OpenSSL/1.0.2o@conan/stable: Error in build() method, line 112
	self.unix_build(config_options_string)
while calling 'unix_build', line 208
	self.run_in_src("make", show_output=True)
while calling 'run_in_src', line 134
	self.run(command)
	ConanException: Error 512 while executing make
make: *** [conan-android] Error 1

I dont know why, it is compiling for "armv4.s".

My profile:

include(default)

[settings]
os=Android
os.api_level=21
compiler=clang
compiler.version=7.0
arch=armv7

[build_requires]
android-ndk/r18@theodelrieu/testing

And my command is:

conan install ../../ --profile android_profile -s arch=armv7 --build=missing --update
conan install ../../ --profile android_profile -s arch=armv8 --build=missing --update
conan install ../../ --profile android_profile -s arch=x86 --build=missing --update 
conan install ../../ --profile android_profile -s arch=x86_64 --build=missing --update

And my conanfile.txt is:

[requires]
Poco/1.9.0@pocoproject/stable

[generators]
cmake

Can anyone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant