[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pdf-devel] several problems with --enable-nocheck
From: |
Steven Vancoillie |
Subject: |
[pdf-devel] several problems with --enable-nocheck |
Date: |
Mon, 21 Sep 2009 13:24:39 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
Hi,
When I use the option --enable-nocheck, compilation fails for some test
source files with the following error:
error: 'test_name' undeclared (first use in this function)
This is because the function fail_if on the following lines is used
outside a START_TEST() function which declares test_name.
torture/unit/base/stm/pdf-stm-write.c:52,59
Commenting these lines solves the problem.
Next, linking fails because of multiple definitions of functions. This
is because -lcheck is still used for linking, despite the local check.o
is used. After removing "-lcheck", the problem is solved.
Finally, linking still fails with an undefined reference to
`tcase_add_checked_fixture', a function which is in the system check
library but not in the local check library.
torture/unit/base/stm/pdf-stm-write.c:1019
grtz
Steven
signature.asc
Description: OpenPGP digital signature
- [pdf-devel] several problems with --enable-nocheck,
Steven Vancoillie <=