Skip to content

SQLiteDF load errors

2 messages · Albert Vernon Smith, Brian Ripley

#
I am interested in working with the package "SQLiteDF".  However,
while I supposedly am building it fine, I have errors when trying to
load, with "undefined symbol: _expand_buf".  Looking at
http://cran.r-project.org/web/checks/check_results_SQLiteDF.html, I
can see this issue is at least common to both Mac and Linux versions.
Various Goggle searches has not revealed a solution to this issue.  Is
anyone on this list aware of a solution to this issue?

Cheers,
-albert
#
Actually, the issue is the compiler.  It works for others on Linux.

You have not given us any of the 'at a minimum' information requested 
in the posting guide (including your compier info)

The issue is the misuse of R_INLINE at

R_INLINE void  _expand_buf(int i, int size) {

which is not correct for a C99-compliant compiler (gcc >= 4.3, but 
Apple modify theirs.  Try removing it.
On Wed, 21 Jan 2009, Albert Vernon Smith wrote: