bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21153: coreutils-8.24 build problem, and a fix, on Solaris 10 SPARC


From: Nelson H. F. Beebe
Subject: bug#21153: coreutils-8.24 build problem, and a fix, on Solaris 10 SPARC
Date: Tue, 28 Jul 2015 15:07:10 -0600 (MDT)

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.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------





reply via email to

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