Bug#623560: FTBFS on kfreebsd-*: fatal error: Driver_Document.h: No such file or directory
Anton Gladky
gladky.anton at gmail.com
Sun Jul 17 16:47:27 UTC 2011
On Sun, Jul 17, 2011 at 3:28 PM, Werner Mayer <werner.wm.mayer at gmx.de> 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
Anton
More information about the debian-science-maintainers
mailing list