Skip to content Skip to sidebar Skip to footer

Compilin Error: Fields Must Have A Constant Size: 'variable Length Array In Structure' Extension Will Never Be Supported On Android 2.3.4 Source Code

Hi I am having the following error when tried make libdvm in android 2.3.4 source code, external/elfutils/libebl/eblobjnote.c:43:17: error: fields must have a constant size: 'varia

Solution 1:

Well, I figured out the problem. Actually CC was linked to clang not gcc, and clang was more restrictive. I used gcc instead of clang and the problem resolved. Although some other compilation errors were there and I believe the project was compiled with gcc older than 4, as the errors I found were reported by gcc.


Post a Comment for "Compilin Error: Fields Must Have A Constant Size: 'variable Length Array In Structure' Extension Will Never Be Supported On Android 2.3.4 Source Code"