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

Compiling #1

Open
sentient opened this issue Feb 13, 2013 · 2 comments
Open

Compiling #1

sentient opened this issue Feb 13, 2013 · 2 comments

Comments

@sentient
Copy link

For which Android build is this compatible?

I have some issues with the ALOGE / ALOGD / etc. and I can easily change this to get this working with Android 2.3.5 (Gingerbread). HoweverI also get some other compile issues

e.g.

In file included from hardware/ril/huaweigeneric-ril-toonew/audioqueue.c:1:
hardware/ril/huaweigeneric-ril-toonew/misc.h:38: error: expected declaration specifiers or '...' before 'size_t'
hardware/ril/huaweigeneric-ril-toonew/misc.h:42: error: expected declaration specifiers or '...' before 'size_t'

withc misc.h 37 - 44

int stringToBinary(/in/ const char _string,
/in/ size_t len,
/_out*/ unsigned char *binary);

int binaryToString(/in/ const unsigned char _binary,
/in/ size_t len,
/_out*/ char *string);

Do I need a specific version of a GCC compiler?

Or should I add the following line in misc.h

include <stddef.h>

@DerArtem
Copy link
Owner

Hi,

it is designed for CM 10.1. You may try out the old huaweigeneric-ril-old for Android 2.3. Otherwise try to remove all the audio stuff.

@Xf0ur
Copy link

Xf0ur commented Jan 8, 2025

Is there any chance to make it work on a newer Android OS, min. Android 8?

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

3 participants