irixxxx/picodrive

Unable to build on x86_64 Arch Linux

Closed this issue · 4 comments

pico/cd/libchdr/src/libchdr_chd.c: In function ‘lzma_codec_init’:
pico/cd/libchdr/src/libchdr_chd.c:582:23: error: ‘CLzmaEncProps’ {aka ‘struct _CLzmaEncProps’} has no member named ‘reduceSize’; did you mean ‘dictSize’?
  582 |         encoder_props.reduceSize = hunkbytes;
      |                       ^~~~~~~~~~
      |                       dictSize
make: *** [Makefile:420: pico/cd/libchdr/src/libchdr_chd.o] Error 1
make: *** Waiting for unfinished jobs....

release_testing branch, fyi

@freq-mod git submodule update before compiling should fix it.

As @DrUm78 already said, please try updating the submodules. I'm regularly compiling under linux and I don't think Arch is very special in that respect.

it didn't help, still errors out at encoder_props.reduceSize

Ok, disregard that, removing the directory and compiling once again worked.