lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tarlz 0.18 build failure on FreeBSD 11.4


From: Antonio Diaz Diaz
Subject: Re: tarlz 0.18 build failure on FreeBSD 11.4
Date: Mon, 23 Nov 2020 23:00:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello David,

David Glover-Aoki wrote:
c++ -I /usr/local/include -O2 -c -o exclude.o exclude.cc
In file included from exclude.cc:29:
./tarlz.h:399:1: error: unknown type name 'mode_t'; did you mean '__mode_t'?

Thank you very much for reporting this.

The problem is that I forgot to add the following line at the top of tarlz.h:

#include <sys/types.h>


Note that I am using gmake instead of (bsd) make because make still fails to 
find lzlib.h:

c++ -O2 -c archive_reader.cc -o archive_reader.o
archive_reader.cc:29:10: fatal error: 'lzlib.h' file not found
#include <lzlib.h>
          ^~~~~~~~~

Note that the line from the gmake build includes the option '-I /usr/local/include', which is not present in the make build. I guess this is the cause of the failure with BSD make.


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]