kyz/libmspack

build fails on macos

thierryba opened this issue · 1 comments

when I go to libmspack and so sh rebuild.sh, I'm getting

mspack/oabd.c:375:12: error: conflicting types for 'copy_fh'
static int copy_fh(struct mspack_system *sys, struct mspack_file *infh,
^
mspack/oabd.c:37:12: note: previous declaration is here
static int copy_fh(struct mspack_system *sys, struct mspack_file *infh,
^
1 error generated.

kyz commented

You should find it works correctly with the tarball release at https://www.cabextract.org.uk/libmspack/ or if you check out the whole repository.

Your problem has nothing to do with macos. Your problem is you are too used to the idioms of the third-party website (github) that currently hosts the libmspack source code. As covered in these previous issues: