On 07/27/2014 09:30 PM, Alan Hourihane wrote:
Hi all,

I logged this bug via Gentoo, but it should be done here...

https://bugs.gentoo.org/show_bug.cgi?id=517110

Is this still present on the trunk? It may have been fixed here:

  http://www.sqlite.org/src/info/612b6d1b1f

Dan.





"
This function is wrapped up inside SQLITE_OMIT_WAL, whereas it's needed 
elsewhere. This function needs to be moved out of this ifdef.

/*
** Return the system page size.
**
** This function should not be called directly by other code in this file.
** Instead, it should be called via macro osGetpagesize().
*/
static int unixGetpagesize(void){
#if defined(_BSD_SOURCE)
   return getpagesize();
#else
   return (int)sysconf(_SC_PAGESIZE);
#endif
}


libtool: link: m68k-atari-mint-gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 
-pipe -o sqlite3 shell.o  ./.libs/libsqlite3.a -lreadline -lcurses -lpthread
./.libs/libsqlite3.a(sqlite3.o):sqlite3.o:(.data+0x578): undefined reference to 
`unixGetpagesize'
collect2: error: ld returned 1 exit status
Makefile:487: recipe for target 'sqlite3' failed
make: *** [sqlite3] Error 1
"

Thanks,

Alan.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to