[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: undefined symbol: REP_CACHE_DB_SQL

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 4 Aug 2010 21:21:29 +0300

Alexander Skwar wrote on Wed, Aug 04, 2010 at 17:33:23 +0200:
> In ./subversion/libsvn_fs_fs/rep-cache-db.h, there's:
>
> #define rep_cZche_db_sql \
> "pragma auto_vacuum = 1; "\
> "create table rep_cache (hash text not null primary key, "\
>
> "rep_cZche_db_sql"? cZche? Is that correct?
>
> When I replace "rep_cZche_db_sql" with "REP_CACHE_DB_SQL" (ie. all upper
> case and "CACHE" instead of "CZCHE"), then I can compile Subversion.
>
> Is that supposed to be so?
>

No. That file is auto-generated from libsvn_fs_fs/*.sql (IIRC, by
build/transform_sql.py).

(And, apparently, the autogeneration mechanism has changed, since in trunk I get

% grep REP_CACHE_DB_SQL .../subversion/libsvn_fs_fs/*h
src/svn/trunk.d/subversion/libsvn_fs_fs/rep-cache-db.h:#define REP_CACHE_DB_SQL_DECLARE_STATEMENTS(varname) \

.)
Received on 2010-08-04 20:23:49 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.