Re: tar-tree.c dereferencing pointer to incomplete type
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 19, 2013, 13:37 UTC
- Message-ID
- <CACsJy8DfOYRmF6FqTLCAYgXGpECX-VhpXGK5CfcmVvKXQ+DpuA@mail.gmail.com>
- In-Reply-To
- <CAPy7p-45-E-vWcjBTXSLpjoQLic54JdAoKqB3jz4RA6GzAkw8w@mail.gmail.com>
On Sat, Jan 19, 2013 at 8:31 PM, 白い熊 <ShiroiKuma@shiroikuma.org> wrote:
Show 13 quoted lines
> Hello: > > I'm building v 1.8.1.1 on Android. The build chokes on the builtins > phase on tar-tree.c with: > > CC builtin/tar-tree.o > builtin/tar-tree.c: In function 'cmd_get_tar_commit_id': > builtin/tar-tree.c:93:12: error: dereferencing pointer to incomplete type > make: *** [builtin/tar-tree.o] Error 1 > > The line that's causing this in tar-tree.c is: > > if (header->typeflag[0] != 'g')
There is another tar.h somewhere in your system? Stopping the compilation after proprocessing should show if it includes the correct tar.h.
-- Duy