bugfindutils - Bugs: bug #11861, undefined symbol...

 
 

bug #11861: undefined symbol "basename" on IRIX 5.3

Submitter:  James Youngman <jay>
Submitted:  Sat 05 Feb 2005 04:30:59 PM UTC
   
 
Category:  find Severity:  2 - Minor
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Georg Schwarz Open/Closed:  Closed
Release:  4.2.15 Fixed Release:  4.2.17
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Feb 2005 04:35:04 PM UTC, comment #1: 

Fixed in CVS.  The attached patch (against findutils-4.2.16) fixes the problem.   The problem is simply fixed by using he correct name for the function - base_name() not basename().

This correction will be released in findutils-4.2.17.

James Youngman <jay>
Group administrator
Sat 05 Feb 2005 04:30:59 PM UTC, original submission:  

Hi,

whwn compiling findutils 4.2.15 on IRIX 5.3 I end up with:

gmake[3]: Entering directory `/var/tmp/findutils-4.2.15/find'
cc  -g   -o find  find.o fstype.o parser.o pred.o tree.o util.o version.o ../lib/libfind.a ../gnulib/lib/libgnulib.a
ld:
Unresolved:
basename

In order to resolve this I added #include <libgen.h> to find/pred.c (not strictly necessary), and in find/Makefile I set LIBS=-lgen

Maybe you can incorporate this into the next release. If you need further information, please let me know.

Georg

James Youngman <jay>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #2511:  findutils-4.2.16.basename-fix.patch added by jay (867B - text/x-patch - Fix to resolve the problem.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-08 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.17
2005-02-05 jay StatusNone Fixed
    Attached File- Added findutils-4.2.16.basename-fix.patch, #2154

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code