Using Sqlite3 in QNX


I want to use sqlite3 for creating database for an apllication in QNX 6.5.0. library seems to be available in QNX environment. When tried linking to the library as external library, I get the following error.

C:/QNX650/target/qnx6/x86/usr/lib/ undefined reference to uncompress' cc: C:/QNX650/host/win32/x86/usr/bin/ntox86-ld caught signal 1 make.exe[2]: *** [C:/OPCWorkspace/SQLiteTrial/x86/o/SQLiteTrial] Error 1 make.exe[2]: Target all’ not remade because of errors.

Can anyone please tell me how to successfully build application with the library available. Am I missing anything more ?

try linking with zlib ( -lz )