On Sun, Jul 17, 2011 at 6:47 PM, Anton Gladky <[email protected]> wrote: > On Sun, Jul 17, 2011 at 3:28 PM, Werner Mayer <[email protected]> wrote: > ... >> Mehdi Dogguy or others who work on the platform kFreeBSD can you please >> upload the file config.log because there we can see what really happened >> during configure. > .... > > > "configure:25498: g++ -o conftest -g -O2 -I/usr/include/opencascade > -L/usr/lib conftest.c > pp -ldl -lTKernel >&5 > /usr/lib/libTKernel.so: undefined reference to `clock_gettime' > collect2: ld returned 1 exit status" > > This problem is solved by adding "-lrt" to LDFLAGS. > > "But the following problem appears: > ././src/SMDS/SMDS_Mesh.cpp:68:18: error: aggregate > ‘SMDS_Mesh::CheckMemory(bool)::sysinfo si’ has incomplete type and > cannot be defined" > > It is discussed here [1]: > "The GNU/kFreeBSD does not have "struct sysinfo" at all." [2] > > "You can use sysctl for ram and libkvm for swap, see: > http://code.google.com/p/sysinfo-bsd/source/browse/sysinfo.c" [3] > > [1] http://lists.debian.org/debian-bsd/2011/07/msg00176.html > [2] http://lists.debian.org/debian-bsd/2011/07/msg00177.html > [3] http://lists.debian.org/debian-bsd/2011/07/msg00181.html
Will be good to contribute this to gnulib Bastien > Anton > > > > -- > debian-science-maintainers mailing list > [email protected] > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

