p11-kit-0.13 Solaris 10, cc: Sun C 5.11 SunOS_sparc 2010/08/13 Compilation fails with CCLD test-init Undefined first referenced symbol in file nanosleep test_init-test-init.o ld: fatal: Symbol referencing errors. No output written to test-init make[2]: *** [test-init] Error 2 make[2]: Leaving directory `/home/unit/cu/dcv/src/local/p11-kit-0.13/tests' "nanosleep" lives in -lrt on Solaris 10. Needs LIBS to include -lrt to compile this test: > make V=1 LIBS='-lintl -lpthread -lrt' make[2]: Entering directory `/home/unit/cu/dcv/src/local/p11-kit-0.13/tests' /bin/bash ../libtool --tag=CC --mode=link cc -O -g -o test-init test_init-test-init.o test_init-CuTest.o test_init-mock-module.o ../p11-kit/libp11-kit-testable.la -lintl -lpthread -lrt libtool: link: cc -O -g -o test-init test_init-test-init.o test_init-CuTest.o test_init-mock-module.o ../p11-kit/.libs/libp11-kit-testable.a -lintl -lpthread -lrt /bin/bash ../libtool --tag=CC --mode=link cc -O -g -o test-modules test-modules.o CuTest.o ../p11-kit/libp11-kit-testable.la -lintl -lpthread -lrt libtool: link: cc -O -g -o test-modules test-modules.o CuTest.o ../p11-kit/.libs/libp11-kit-testable.a -lintl -lpthread -lrt make[2]: Leaving directory `/home/unit/cu/dcv/src/local/p11-kit-0.13/tests' >
Thanks for the bug report. I don't have a Solaris system at my disposal right now. Could you include a patch which fixes this problem for you?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.