vdexExtractor icon indicating copy to clipboard operation
vdexExtractor copied to clipboard

Build error

Open privacyguy123 opened this issue 1 year ago • 6 comments

Can someone help make sense of this?

rm -f *.o
rm -f */*.o
rm -f vdexExtractor
make: Leaving directory '/home/laptop/vdexExtractor/src'
make: Entering directory '/home/laptop/vdexExtractor/src'
gcc -c -std=c11 -D_GNU_SOURCE -Wall -Wextra -Werror -DVERSION=\"dev-78f283b\" -c dex.c -o dex.o
gcc -c -std=c11 -D_GNU_SOURCE -Wall -Wextra -Werror -DVERSION=\"dev-78f283b\" -c dex_instruction.c -o dex_instruction.o
dex_instruction.c:655:43: error: argument 2 of type ‘u4[kMaxVarArgRegs]’ {aka ‘unsigned int[kMaxVarArgRegs]’} declared as a variable length array [-Werror=vla-parameter]
  655 | void dexInstr_getVarArgs(u2 *code_ptr, u4 arg[kMaxVarArgRegs]) {
      |                                        ~~~^~~~~~~~~~~~~~~~~~~
In file included from dex_instruction.c:23:
dex_instruction.h:278:32: note: previously declared as an ordinary array ‘u4[]’ {aka ‘unsigned int[]’}
  278 | void dexInstr_getVarArgs(u2 *, u4[]);
      |                                ^~~~
cc1: all warnings being treated as errors
make: *** [Makefile:56: dex_instruction.o] Error 1
make: Leaving directory '/home/laptop/vdexExtractor/src'
[-] build failed

privacyguy123 avatar May 07 '24 14:05 privacyguy123

i have the save problem to , have you solved,bro?

zmbcen avatar May 11 '24 09:05 zmbcen

same here... is it related to the current zlib update (just guessing here).

Porthmeus avatar May 12 '24 20:05 Porthmeus

Check this PR: https://github.com/anestisb/vdexExtractor/pull/75

TheDauntless avatar May 13 '24 15:05 TheDauntless

Check this PR: #75

very good 非常牛逼

dingshaohua-com avatar Jul 16 '24 12:07 dingshaohua-com

yes but you can skip it by edit src/Makefile and remove '-Werror'

RJMultiDev avatar Jul 23 '24 13:07 RJMultiDev