Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2015 13:32:05 +0100
From:      Michael Schuster <michaelsprivate@gmail.com>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        Polytropon <freebsd@edvax.de>, freeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: sysinfo.h
Message-ID:  <CADqw_g%2BQvLn-ZV-VDZzdbjpZX-38OEQQ9%2BdwFn3f-LYTBh7nRw@mail.gmail.com>
In-Reply-To: <550032C1.8040903@bananmonarki.se>
References:  <55002A42.4070608@bananmonarki.se> <20150311125846.e1b7fdb5.freebsd@edvax.de> <550032C1.8040903@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
I'd expect you have more porting work ahead of you - after all, sysinfo.h
most likely is not included just for fun :-)

Try to find out what "questions" the code in question is trying to answer,
then maybe you'll find FreeBSD-specific solutions to them easier than when
you attempt a line-for-line "port".

regards
Michael

(admittedly, I haven't done any significant work on FreeBSD for ages ... so
feel free to correct me if I'm wrong ;)

On Wed, Mar 11, 2015 at 1:19 PM, Bernt Hansson <bah@bananmonarki.se> wrote:

> Thanks to Polytropon and Arthur
>
> I've found this
>
> libsysinfo GNU libc's sysinfo port for FreeBSD
>
> Installed it and getting other problems.
>
> % make
> [  0%] Built target Driver
> [  0%] Building CXX object src/3rdParty/salomesmesh/
> CMakeFiles/SMDS.dir/src/SMDS/SMDS_MemoryLimit.cpp.o
> [  0%] Building CXX object src/3rdParty/salomesmesh/
> CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh.cpp.o
> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_
> master-master/src/3rdParty/salomesmesh/src/SMDS
>
> /SMDS_Mesh.cpp: In static member function 'static int
>
> SMDS_Mesh::CheckMemory(bool)':
> /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_master-master/FreeCAD_sf_
> master-master/src/3rdParty/salomesmesh/src/SMDS
>
> /SMDS_Mesh.cpp:77: error: 'WEXITSTATUS' was not declared in this scope
> *** [src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh.cpp.o]
> Error code 1
>
> Stop in /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_
> master-master/FreeCAD_sf_master-master.
> *** [src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/all] Error code 1
>
> Stop in /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_
> master-master/FreeCAD_sf_master-master.
> *** [all] Error code 1
>
> Stop in /usr/home/bernt/vebbnerladdningar/FreeCAD_sf_
> master-master/FreeCAD_sf_master-master.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_g%2BQvLn-ZV-VDZzdbjpZX-38OEQQ9%2BdwFn3f-LYTBh7nRw>