GNU bug report logs - #21059
coreutils-8.24 - sync(1) fails to link on Solaris 10 - missing fdatasync() - solution provided (-lrt)

Previous Next

Package: coreutils;

Reported by: Peter Bray <pdb_ml <at> yahoo.com.au>

Date: Wed, 15 Jul 2015 06:12:02 UTC

Severity: normal

Merged with 21153

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #12 received at control <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>, 21153 <at> debbugs.gnu.org
Subject: Re: bug#21153: coreutils-8.24 build problem, and a fix, on Solaris
 10 SPARC
Date: Wed, 29 Jul 2015 03:41:33 +0100
forcemerge 21059 21153
stop

On 28/07/15 22:07, Nelson H. F. Beebe wrote:
> Attempts to build coreutils-8.24 on Solaris 10 SPARC failed with an
> unresolved symbol:
> 
> 	checking whether fdatasync is declared... yes
> 	checking for library containing fdatasync... -lrt
> 	  CCLD     src/sync
> 	Undefined			first referenced
> 	 symbol  			    in file
> 	fdatasync                           src/sync.o
> 	ld: fatal: Symbol referencing errors. No output written to src/sync
> 
> The -lrt library is not present in the linking in that command.
> 
> I restarted the build with "nake LIBS=-lrt", and that led to a
> successful build and subsequent validation.

Already fixed with:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-4-g9d25971

thanks!
Pádraig.




This bug report was last modified 9 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.