Trying to compile LzmaUtil.c from LZMA SDK -


I want to use LZMA basically in my own use. I have downloaded the LGMA SDK (version 9.12 beta) - but I failed to compile their LzmaUtil.

This is what I have tried, using MinGW:

  GCC -CO2 -Wall -D_7ZIP_STLzmaUtil.c ../../Alloc. C ../../LzFind.c ../../LzmaDec.c ../../LzmaEnc.c ../../7zFile.c ../../7zStream.c -o lzma Exe LzmaUtil.c: `Decode2 'in function: LzmaUtil.c: 95: Warning: Suggest bracket around & amp; Within ||  

When I try to use lzma: "lzma.exe e input file output file" - nothing happens. (Without printing or without making the output file)

Anybody can help, what am I doing?

-c option creates an object file, not executable. Remove -c and see how it works.


Comments