Re: tar-tree.c dereferencing pointer to incomplete type

2013-01-19 Thread Jonathan Nieder
白い熊 wrote: > On Sat, Jan 19, 2013 at 6:26 PM, 白い熊 wrote: >> Moved it and compiles fine. In fact I moved it back now, so it should >> be finding it again and it still builds fine, no trace of the prior >> error. I'm dumbfounded! But at least it compiles... > > OK, figured it out. It was indeed the

Re: tar-tree.c dereferencing pointer to incomplete type

2013-01-19 Thread 白い熊
On Sat, Jan 19, 2013 at 6:26 PM, 白い熊 wrote: > Thank you, this must've been it, as it was finding tar.h from glibc. > > Moved it and compiles fine. In fact I moved it back now, so it should > be finding it again and it still builds fine, no trace of the prior > error. I'm dumbfounded! But at least

Re: tar-tree.c dereferencing pointer to incomplete type

2013-01-19 Thread 白い熊
On Sat, Jan 19, 2013 at 5:37 PM, Duy Nguyen wrote: > There is another tar.h somewhere in your system? Stopping the > compilation after proprocessing should show if it includes the correct > tar.h. Thank you, this must've been it, as it was finding tar.h from glibc. Moved it and compiles fine. In

Re: tar-tree.c dereferencing pointer to incomplete type

2013-01-19 Thread Duy Nguyen
On Sat, Jan 19, 2013 at 8:31 PM, 白い熊 wrote: > 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

tar-tree.c dereferencing pointer to incomplete type

2013-01-19 Thread 白い熊
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