Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353967 - dev-db/sqlite-3.7.5 doesn't build on FreeMiNT
Summary: dev-db/sqlite-3.7.5 doesn't build on FreeMiNT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All FreeMiNT
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 14:13 UTC by Alan Hourihane
Modified: 2011-02-27 18:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2011-02-07 14:13:55 UTC
Argh. One problem gets fixed and another sprouts up.

sqlite 3.7.5 doesn't build with SQLITE_OMIT_WAL with these errors....

./.libs/libsqlite3.a(sqlite3.o):sqlite3.o:(.text+0x39fd6): undefined reference to `_pager_write_changecounter'
./.libs/libsqlite3.a(sqlite3.o):sqlite3.o:(.text+0x40aec): undefined reference to `_pager_write_changecounter'

I'll need to find out why now.
Comment 1 Alan Hourihane 2011-02-08 08:19:34 UTC
I posted to the sqlite list, and got this back.....

"Alan, not sure if you are compiling from the amalgam or not.  

If so ... look for the routine pager_write_changecounter and move it after the next #endif

If you are using the sources, downloaded the updated pager.c or, make the changes detailed in this difference listing

http://www.sqlite.org/src/fdiff?v1=b0fcbe3038fd08b1&v2=c22b8531596c984d"

Comment 2 Fabian Groffen gentoo-dev 2011-02-27 10:16:06 UTC
does this change actually fix the problem?
Comment 3 Alan Hourihane 2011-02-27 10:31:54 UTC
Yes.
Comment 4 Fabian Groffen gentoo-dev 2011-02-27 10:38:59 UTC
@arfrever: can we get this patch applied please?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-27 18:20:54 UTC
Fixed.