[CMake] Compile error- select() support

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 14 14:44:12 EDT 2011


On Thursday 14 July 2011, Jeff Dahl wrote:
> I have an old sparc system running Linux on which I am trying to compile
> CMake.  I am able to bootstrap just fine, but when I run make, I get the
> following error:
> 
> Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/select.o
> ~/cmake-2.8.4/Utilities/cmcurl/select.c:39:2: error: #error "We can't
> compile without select() support!"
> 
> I have been unable to find any direction on the Internet.  Is the select
> function something I can compile and install?  Is it a limitation of my
> hardware?  Is there a workaround if I am unable to get select() support?

It's a "normal" UNIX/Posix function, it should be part of your C library:
http://ewp.rpi.edu/hartford/webgen/sysdocs/C/solaris_9/SUNWaman/hman3c/select.3c.html

I guess you are running SunOS on this machine ? Which version ?
Does "man select" show a manpage ?

Alex


More information about the CMake mailing list