chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] CMake: -lsocket missing on System V


From: Brandon J. Van Every
Subject: Re: [Chicken-users] CMake: -lsocket missing on System V
Date: Mon, 31 Jul 2006 03:47:23 -0700
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

John Cowan wrote:
Brandon J. Van Every scripsit:

  
IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
 SET(EXTRA_LIBS ${EXTRA_LIBS} socket)
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
    

You need to include librt in the same way in order to make
nanosleep() available.  I added the line and the build is
thumping along happily.
  

Pushed.
SET(EXTRA_LIBS ${EXTRA_LIBS} socket rt)

If there's any ordering problem let me know.


Cheers,
Brandon Van Every



reply via email to

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