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

 
 

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

Submitted by:  James Youngman <jay>
Submitted on:  Sat 05 Feb 2005 04:30:59 PM UTC  
 
Category: findSeverity: 2 - Minor
Item Group: Compilation FailureStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Georg SchwarzOpen/Closed: Closed
Release: 4.2.15Fixed Release: 4.2.17

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 08 Feb 2005 12:24:44 AM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.17
Sat 05 Feb 2005 04:35:04 PM UTCjayStatusNone=>Fixed
  Attached File-=>Added findutils-4.2.16.basename-fix.patch, #2154

Back to the top


Powered by Savane 3.1-cleanup1