Solaris 5.8 (solars 8)
make test

Undefined                       first referenced
 symbol                             in file
sched_yield                         /var/tmp//cckDMcyL.o
ld: fatal: Symbol referencing errors. No output written to .libs/testfixture
collect2: ld returned 1 exit status
make: *** [testfixture] Error 1

to fix I added $(TLIBS) to the testfixture in the make file:

testfixture$(TEXE):     $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC)
        $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
                -DSQLITE_NO_SYNC=1 $(TEMP_STORE) \
                -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
                libsqlite3.la $(LIBTCL) $(TLIBS)




Reply via email to