[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20128] compilation failure in tree.c (4.3.6) on aix with gcc
From: |
Michael Haubenwallner |
Subject: |
[bug #20128] compilation failure in tree.c (4.3.6) on aix with gcc |
Date: |
Fri, 08 Jun 2007 14:49:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070328 Firefox/2.0.0.2 |
URL:
<http://savannah.gnu.org/bugs/?20128>
Summary: compilation failure in tree.c (4.3.6) on aix with
gcc
Project: findutils
Submitted by: haubi
Submitted on: Friday 06/08/2007 at 14:49
Category: find
Severity: 3 - Normal
Item Group: Compilation Failure
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.6
Fixed Release: None
_______________________________________________________
Details:
Compiler-error is "conflicting types for 'fgetpos64'"
as well as for 'fseeko64', 'fsetpos64' and 'ftello64'
each within the gcc-fixincludes-copy of stdio.h.
Problem is that in find/tree.c <stdio.h> gets included before "config.h"
somehow through <assert.h> or <stdlib.h>.
Thing is that "config.h" defines _LARGE_FILES, which changes these
declarations, but they already have been declared while _LARGE_FILES was
undefined because of the first include before "config.h".
The simple fix is to include "defs.h" as the very first header-file in
find/tree.c.
For exact error (and 2line-patch if required) you may look at
http://thread.gmane.org/gmane.linux.gentoo.alt/2645/focus=2670
Thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20128>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #20128] compilation failure in tree.c (4.3.6) on aix with gcc,
Michael Haubenwallner <=