List Info

Thread: compiler errors on aix: undeclared parse_open64, pred_open64




compiler errors on aix: undeclared parse_open64, pred_open64
country flaguser name
United States
2007-03-21 10:11:26
URL:
  <http://savann
ah.gnu.org/bugs/?19371>

                 Summary: compiler errors on aix:
undeclared
parse_open64,pred_open64
                 Project: findutils
            Submitted by: haubi
            Submitted on: Wednesday 03/21/2007 at 15:11
                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.2
           Fixed Release: None

    _______________________________________________________

Details:

AIX (and maybe others) (here aix5.3) defines 'open' and
'close' to 'open64'
and 'close64'.

Passing them to PARSE_PUNCTUATION() in find/parser.c results
in undeclared
symbols parse_open64, parse_close64, pred_open64,
pred_close64.

It seems that this already was fixed somewhere in the past,
because in
find/defs.h, the declarations for parse_openparen() and
parse_closeparen()
already exist.

However, attached patch fixes this (again) for
findutils-4.3.2, renaming that
*open,*close to *openparen,*closeparen.

The exact errormessage is:
parser.c:202: error: 'parse_open64' undeclared here (not in
a function)
parser.c:202: error: 'pred_open64' undeclared here (not in a
function)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 03/21/2007 at 15:11  Name:
findutils-4.3.2-aix.patch  Size:
7kB   By: haubi

<http://savannah.gnu.org/bugs/download.php?file_id=122
25>

    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?19371>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-findutils mailing list
Bug-findutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils

compiler errors on aix: undeclared parse_open64, pred_open64
user name
2007-04-28 19:48:51
Update of bug #19371 (project findutils):

                  Status:                    None =>
Fixed                  
             Assigned to:                    None => jay 
                  

    _______________________________________________________

Follow-up Comment #1:

I have applied this patch to the CVS source repository for
findutils.   I
have listed it in the ChangeLog as a "trivial"
change.   This simply means
that the change is small enough not to require a copyright
assignment.  It
does not mean that the change is of small worth.

Your change will be included in the next findutils-4.3.x
release.

If you make further changes to findutils which you would
like to share with
the community (and please do!) please assign copyright in
your changes to the
Free Software Foundation, because your net contribution will
then have reached
a size where GNU Project policy requires this.

Thanks for your help.


    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?19371>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-findutils mailing list
Bug-findutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils

compiler errors on aix: undeclared parse_open64, pred_open64
user name
2007-05-05 08:24:38
Update of bug #19371 (project findutils):

             Open/Closed:                    Open =>
Closed                 
           Fixed Release:                    None =>
4.3.5                  


    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?19371>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




_______________________________________________
Bug-findutils mailing list
Bug-findutilsgnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )