[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: Gecko/20070328 Firefox/


                 Summary: compilation failure in tree.c (4.3.6) on aix with
                 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



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

For exact error (and 2line-patch if required) you may look at



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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