[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] CMake: -lsocket missing on System V
From: |
John Cowan |
Subject: |
Re: [Chicken-users] CMake: -lsocket missing on System V |
Date: |
Mon, 31 Jul 2006 02:18:42 -0400 |
User-agent: |
Mutt/1.3.28i |
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.
> There doesn't appear to be a Solaris identifier per se, just SunOS.
> Hopefully this doesn't cause any problems for other versions of SunOS.
I don't think it will.
--
John Cowan http://ccil.org/~cowan address@hidden
'My young friend, if you do not now, immediately and instantly, pull
as hard as ever you can, it is my opinion that your acquaintance in the
large-pattern leather ulster' (and by this he meant the Crocodile) 'will
jerk you into yonder limpid stream before you can say Jack Robinson.'
--the Bi-Coloured-Python-Rock-Snake