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
