Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 12:04:14 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Bernt Hansson <bah@bananmonarki.se>, freeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: sysinfo.h
Message-ID:  <55002F3E.1030301@qeng-ho.org>
In-Reply-To: <55002A42.4070608@bananmonarki.se>
References:  <55002A42.4070608@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/03/2015 11:42, Bernt Hansson wrote:
> Hello list!
>
> Trying to build a program (freecad)
>
> I have got cmake to find libs and other programs it needs.
>
> running cmake -DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release .
>
> results is this
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_master-master
>
>
> Then one should run make.
>
> make gives this error
>
> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_master-master/src/3rdParty/salomesmesh/src/SMDS/SMDS_MemoryLimit.cpp:32:25:
> error: sys/sysinfo.h: No such file or directory
>
> Guess it's linuxism.
>
> What is sysinfo.h called in freebsd?

I'm not sure if there is a direct equivalent. A quick search gives me

http://man7.org/linux/man-pages/man2/sysinfo.2.html

&

http://lxr.free-electrons.com/source/include/uapi/linux/sysinfo.h

sysinfo(2) is a Linux syscall that "provides a simple way of getting 
overall system statistics". You might want to "man 3 kvm" to find FBSD 
equivalents.

-- 
Those who do not learn from computing history are doomed to
GOTO 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55002F3E.1030301>