Page 1 of 1

Linker Error with database.pb sample program

Posted: Tue May 14, 2019 8:51 am
by singo
On new Debian install, downloaded PB 5.70 LTS for Linux and dependencies. All ok with checkinstall.sh

Working fine with all examples except database.pb gives error on complile

Purebasic - Linker Error

Code: Select all

/home/pi/Downloads/purebasic/purelibraries/linux/libraries/libpbsqlite3.a(sqlite3.o): In function `backupOnePage.isra.517':
sqlite3.c:(.text+0x42a0a): undefined reference to `__divmoddi4'
collect2: error: ld returned 1 exit status
Any ideas on how to fix this?