[OPEN-ILS-DEV] Compile Errors on Debian

Martin Morris martin at martinmorris.org
Mon Jan 8 08:38:17 EST 2007


Hello,

Slowly ploughing my way through the installation instructions.   
Currently coming up with this error at the make stage, and it's not  
making a lot of sense to me.  Can anybody assist?

Many thanks,

Martin

--------

Building...

-------------- [ opensrf_all ]  
-------------------------------------------

objson/libobjson.so
utils
transport
stack
libopensrf.so
apps
libstack/opensrf
router
srfsh
jserver
gateway
In file included from /usr/include/apache2/ap_config.h:25,
                  from /usr/include/apache2/httpd.h:43,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr.h:270: error: expected '=', ',', ';', 'asm'  
or '__attribute__' before 'apr_off_t'
In file included from /usr/include/apache2/apr_file_io.h:29,
                  from /usr/include/apache2/apr_network_io.h:26,
                  from /usr/include/apache2/httpd.h:53,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr_file_info.h:210: error: expected specifier- 
qualifier-list before 'apr_off_t'
In file included from /usr/include/apache2/apr_network_io.h:26,
                  from /usr/include/apache2/httpd.h:53,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr_file_io.h:548: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_file_io.h:740: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:53,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr_network_io.h:545: error: expected  
declaration specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/apr_buckets.h:32,
                  from /usr/include/apache2/httpd.h:54,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr_mmap.h:134: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_mmap.h:161: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:54,
                  from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/apr_buckets.h:242: error: expected specifier- 
qualifier-list before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:706: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:718: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:754: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:890: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:891: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1168: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1367: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1381: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1431: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_buckets.h:1447: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from apachetools.h:1,
                  from apachetools.c:1:
/usr/include/apache2/httpd.h:826: error: expected specifier-qualifier- 
list before 'apr_off_t'
In file included from /usr/include/apache2/http_core.h:32,
                  from apachetools.h:3,
                  from apachetools.c:1:
/usr/include/apache2/util_filter.h:142: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:299: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from apachetools.h:3,
                  from apachetools.c:1:
/usr/include/apache2/http_core.h:229: error: expected '=', ',', ';',  
'asm' or '__attribute__' before 'ap_get_limit_req_body'
/usr/include/apache2/http_core.h:672: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from apachetools.h:4,
                  from apachetools.c:1:
/usr/include/apache2/http_protocol.h:111: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/http_protocol.h:203: error: expected declaration  
specifiers or '...' before 'apr_off_t'
In file included from apachetools.h:6,
                  from apachetools.c:1:
/usr/include/apache2/apr_strings.h:297: error: expected declaration  
specifiers or '...' before 'apr_off_t'
/usr/include/apache2/apr_strings.h:313: error: expected ')' before  
'*' token
/usr/include/apache2/apr_strings.h:349: error: expected ')' before  
'size'
apachetools.c: In function 'apacheParseParms':
apachetools.c:7: error: 'request_rec' has no member named 'args'
make[2]: *** [apachetools.o] Error 1
make[1]: *** [gateway] Error 2

-------------- [ openils_all ]  
-------------------------------------------

c_apps
oils_auth.so
oils_cstore.c:10:21: error: dbi/dbi.h: No such file or directory
oils_cstore.c:45: error: expected ')' before 'osrfHash'
oils_cstore.c:60: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before 'writehandle'
oils_cstore.c:61: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before 'dbhandle'
oils_cstore.c: In function 'osrfAppChildInit':
oils_cstore.c:202: warning: implicit declaration of function  
'dbi_initialize'
oils_cstore.c:213: error: 'writehandle' undeclared (first use in this  
function)
oils_cstore.c:213: error: (Each undeclared identifier is reported  
only once
oils_cstore.c:213: error: for each function it appears in.)
oils_cstore.c:213: warning: implicit declaration of function  
'dbi_conn_new'
oils_cstore.c:224: warning: implicit declaration of function  
'dbi_conn_set_option'
oils_cstore.c:225: warning: implicit declaration of function  
'dbi_conn_set_option_numeric'
oils_cstore.c:237: warning: implicit declaration of function  
'dbi_conn_connect'
oils_cstore.c:238: warning: implicit declaration of function  
'dbi_conn_error'
oils_cstore.c:269: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:269: error: expected ';' before 'result'
oils_cstore.c:272: error: 'result' undeclared (first use in this  
function)
oils_cstore.c:277: warning: implicit declaration of function  
'dbi_result_get_field_name'
oils_cstore.c:277: warning: assignment makes pointer from integer  
without a cast
oils_cstore.c:287: warning: implicit declaration of function  
'dbi_result_get_field_type'
oils_cstore.c:288: warning: implicit declaration of function  
'dbi_result_get_field_attribs'
oils_cstore.c:292: error: 'DBI_TYPE_INTEGER' undeclared (first use in  
this function)
oils_cstore.c:297: error: 'DBI_INTEGER_SIZE8' undeclared (first use  
in this function)
oils_cstore.c:303: error: 'DBI_TYPE_DECIMAL' undeclared (first use in  
this function)
oils_cstore.c:310: error: 'DBI_TYPE_STRING' undeclared (first use in  
this function)
oils_cstore.c:316: error: 'DBI_TYPE_DATETIME' undeclared (first use  
in this function)
oils_cstore.c:323: error: 'DBI_TYPE_BINARY' undeclared (first use in  
this function)
oils_cstore.c:339: warning: implicit declaration of function  
'dbi_result_free'
oils_cstore.c: In function 'sessionDataFree':
oils_cstore.c:357: error: 'writehandle' undeclared (first use in this  
function)
oils_cstore.c:358: warning: implicit declaration of function  
'dbi_conn_query'
oils_cstore.c: In function 'beginTransaction':
oils_cstore.c:368: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:368: error: expected ';' before 'result'
oils_cstore.c:369: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'setSavepoint':
oils_cstore.c:406: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:406: error: expected ';' before 'result'
oils_cstore.c:407: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'releaseSavepoint':
oils_cstore.c:441: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:441: error: expected ';' before 'result'
oils_cstore.c:442: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'rollbackSavepoint':
oils_cstore.c:476: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:476: error: expected ';' before 'result'
oils_cstore.c:477: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'commitTransaction':
oils_cstore.c:503: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:503: error: expected ';' before 'result'
oils_cstore.c:504: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'rollbackTransaction':
oils_cstore.c:525: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:525: error: expected ';' before 'result'
oils_cstore.c:526: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'doCreate':
oils_cstore.c:695: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c:695: error: 'writehandle' undeclared (first use in this  
function)
oils_cstore.c:767: warning: implicit declaration of function  
'dbi_conn_quote_string'
oils_cstore.c:814: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:814: error: expected ';' before 'result'
oils_cstore.c:818: error: 'result' undeclared (first use in this  
function)
oils_cstore.c:840: warning: implicit declaration of function  
'dbi_conn_sequence_last'
oils_cstore.c: In function 'searchINPredicate':
oils_cstore.c:981: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c: In function 'searchValueTransform':
oils_cstore.c:1027: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c: In function 'searchFieldTransformPredicate':
oils_cstore.c:1101: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c: In function 'searchWriteSimplePredicate':
oils_cstore.c:1161: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c: In function 'searchBETWEENPredicate':
oils_cstore.c:1193: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c: In function 'doSearch':
oils_cstore.c:1387: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c:1387: error: 'writehandle' undeclared (first use in  
this function)
oils_cstore.c:1405: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:1405: error: expected ';' before 'result'
oils_cstore.c:1408: error: 'result' undeclared (first use in this  
function)
oils_cstore.c:1411: warning: implicit declaration of function  
'dbi_result_first_row'
oils_cstore.c:1415: warning: implicit declaration of function  
'oilsMakeJSONFromResult'
oils_cstore.c:1415: warning: assignment makes pointer from integer  
without a cast
oils_cstore.c:1417: warning: implicit declaration of function  
'dbi_result_next_row'
oils_cstore.c: In function 'doUpdate':
oils_cstore.c:1691: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c:1691: error: 'writehandle' undeclared (first use in  
this function)
oils_cstore.c:1820: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:1820: error: expected ';' before 'result'
oils_cstore.c:1823: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: In function 'doDelete':
oils_cstore.c:1857: error: 'dbhandle' undeclared (first use in this  
function)
oils_cstore.c:1857: error: 'writehandle' undeclared (first use in  
this function)
oils_cstore.c:1894: error: 'dbi_result' undeclared (first use in this  
function)
oils_cstore.c:1894: error: expected ';' before 'result'
oils_cstore.c:1896: error: 'result' undeclared (first use in this  
function)
oils_cstore.c: At top level:
oils_cstore.c:1916: error: expected ')' before 'result'
make[2]: *** [oils_cstore.o] Error 1
make[1]: *** [c_apps] Error 2

-------------- [ evergreen_core ]  
-------------------------------------------



More information about the Open-ils-dev mailing list