You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Andrew Lord <an...@internode.on.net> on 2003/01/24 03:08:56 UTC

Problem making libapreq on Mandrake 9.0

Hi,

I am having trouble making libapreq (from version 1.0 or 0.33).  The platform 
is Linux (Mandrake 9.0) and a script of the printout is shown below.  I would 
be grateful for any pointers as to the likely cause of the problem I'm 
experiencing.

Kind regards,

Andrew Lord

########### Shell output during installation attempt #######

Script started on Fri Jan 24 12:37:28 2003
 [36l > ]0;andrew@localhost.localdomain: 
/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0 [andrew@localhost 
libapreq-1.0]$ make    perl Makefile.PL PREFIX=/home/httpd/thisISaTEST
[andrew@localhost libapreq-1.0]$ make install [K         [K    perl 
Makefile.PL PREFIX=/home/httpd/thisISaTEST
Writing Makefile for libapreq
Warning: -L../blib/arch/auto/libapreq changed to 
-L/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/Request/../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L../blib/arch/auto/libapreq changed to 
-L/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/Cookie/../blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
 ]0;andrew@localhost.localdomain: 
/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0 [andrew@localhost 
libapreq-1.0]$ make
make[1]: Entering directory 
`/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -fomit-frame-pointer -pipe 
-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   
-DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   apache_request.c
In file included from apache_request.c:59:
apache_request.h:5:19: httpd.h: No such file or directory
apache_request.h:6:25: http_config.h: No such file or directory
apache_request.h:7:23: http_core.h: No such file or directory
apache_request.h:8:22: http_log.h: No such file or directory
apache_request.h:9:23: http_main.h: No such file or directory
apache_request.h:10:27: http_protocol.h: No such file or directory
apache_request.h:11:25: util_script.h: No such file or directory
In file included from apache_request.c:59:
apache_request.h:38: parse error before "table"
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:47: parse error before '*' token
apache_request.h:47: warning: data definition has no type or storage class
apache_request.h:48: parse error before '}' token
apache_request.h:48: warning: data definition has no type or storage class
apache_request.h:55: parse error before "table"
apache_request.h:55: warning: no semicolon at end of struct or union
apache_request.h:56: warning: data definition has no type or storage class
apache_request.h:58: parse error before '*' token
apache_request.h:58: warning: data definition has no type or storage class
apache_request.h:59: parse error before '}' token
apache_request.h:89: parse error before '*' token
apache_request.h:89: parse error before '*' token
apache_request.h:89: warning: data definition has no type or storage class
apache_request.h:90: parse error before '*' token
apache_request.h:91: parse error before '*' token
apache_request.h:92: parse error before '*' token
apache_request.h:93: parse error before '*' token
apache_request.h:94: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:95: warning: data definition has no type or storage class
apache_request.h:96: parse error before '*' token
apache_request.h:97: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: warning: data definition has no type or storage class
apache_request.h:102: parse error before '*' token
apache_request.h:120: parse error before '*' token
apache_request.h:123: parse error before '*' token
In file included from apache_request.c:60:
apache_multipart_buffer.h:16: parse error before "request_rec"
apache_multipart_buffer.h:16: warning: no semicolon at end of struct or union
apache_multipart_buffer.h:29: parse error before '}' token
apache_multipart_buffer.h:29: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:31: parse error before '*' token
apache_multipart_buffer.h:32: parse error before "request_rec"
apache_multipart_buffer.h:32: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:34: parse error before '*' token
apache_multipart_buffer.h:35: parse error before '*' token
apache_multipart_buffer.h:36: parse error before '*' token
apache_request.c:61: parse error before '*' token
apache_request.c:69: parse error before '*' token
apache_request.c: In function `util_read':
apache_request.c:71: `request_rec' undeclared (first use in this function)
apache_request.c:71: (Each undeclared identifier is reported only once
apache_request.c:71: for each function it appears in.)
apache_request.c:71: request for member `r' in something not a structure or 
union
apache_request.c:72: `OK' undeclared (first use in this function)
apache_request.c:74: `REQUEST_CHUNKED_ERROR' undeclared (first use in this 
function)
apache_request.c:79: `HUGE_STRING_LEN' undeclared (first use in this function)
apache_request.c:81: request for member `remaining' in something not a 
structure or union
apache_request.c:83: request for member `post_max' in something not a 
structure or union
apache_request.c:83: request for member `post_max' in something not a 
structure or union
apache_request.c:84: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:84: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:84: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:84: request for member `r' in something not a structure or 
union
apache_request.c:85: request for member `post_max' in something not a 
structure or union
apache_request.c:86: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in 
this function)
apache_request.c:89: `rbuf' undeclared (first use in this function)
apache_request.c:89: request for member `pool' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:111: parse error before '*' token
apache_request.c: In function `ApacheRequest_script_name':
apache_request.c:113: `request_rec' undeclared (first use in this function)
apache_request.c:113: request for member `r' in something not a structure or 
union
apache_request.c:116: request for member `path_info' in something not a 
structure or union
apache_request.c:116: request for member `path_info' in something not a 
structure or union
apache_request.c:117: request for member `uri' in something not a structure or 
union
apache_request.c:117: request for member `path_info' in something not a 
structure or union
apache_request.c:118: request for member `pool' in something not a structure 
or union
apache_request.c:118: request for member `uri' in something not a structure or 
union
apache_request.c:118: warning: assignment makes pointer from integer without a 
cast
apache_request.c:121: request for member `uri' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:127: parse error before '*' token
apache_request.c: In function `ApacheRequest_script_path':
apache_request.c:129: request for member `r' in something not a structure or 
union
apache_request.c:129: warning: return makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:132: parse error before '*' token
apache_request.c: In function `ApacheRequest_param':
apache_request.c:134: request for member `status' in something not a structure 
or union
apache_request.c:134: request for member `parsed' in something not a structure 
or union
apache_request.c:134: request for member `status' in something not a structure 
or union
apache_request.c:135: request for member `parms' in something not a structure 
or union
apache_request.c:135: `key' undeclared (first use in this function)
apache_request.c:135: warning: return makes pointer from integer without a 
cast
apache_request.c: In function `make_params':
apache_request.c:140: `array_header' undeclared (first use in this function)
apache_request.c:140: `arr' undeclared (first use in this function)
apache_request.c:140: parse error before ')' token
apache_request.c: At top level:
apache_request.c:145: parse error before '*' token
apache_request.c:145: parse error before '*' token
apache_request.c: In function `ApacheRequest_params':
apache_request.c:147: `array_header' undeclared (first use in this function)
apache_request.c:147: `values' undeclared (first use in this function)
apache_request.c:147: request for member `r' in something not a structure or 
union
apache_request.c:148: request for member `status' in something not a structure 
or union
apache_request.c:148: request for member `parsed' in something not a structure 
or union
apache_request.c:148: request for member `status' in something not a structure 
or union
apache_request.c:149: request for member `parms' in something not a structure 
or union
apache_request.c:149: `key' undeclared (first use in this function)
apache_request.c:149: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:153: parse error before '*' token
apache_request.c: In function `ApacheRequest_params_as_string':
apache_request.c:155: `NULL' undeclared (first use in this function)
apache_request.c:156: `array_header' undeclared (first use in this function)
apache_request.c:156: `values' undeclared (first use in this function)
apache_request.c:156: `key' undeclared (first use in this function)
apache_request.c:160: request for member `r' in something not a structure or 
union
apache_request.c:164: warning: assignment makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:170: parse error before '*' token
apache_request.c: In function `ApacheUpload_new':
apache_request.c:173: request for member `r' in something not a structure or 
union
apache_request.c:173: sizeof applied to an incomplete type
apache_request.c:175: dereferencing pointer to incomplete type
apache_request.c:175: `NULL' undeclared (first use in this function)
apache_request.c:176: dereferencing pointer to incomplete type
apache_request.c:177: dereferencing pointer to incomplete type
apache_request.c:178: dereferencing pointer to incomplete type
apache_request.c:179: dereferencing pointer to incomplete type
apache_request.c:180: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheUpload_find':
apache_request.c:189: dereferencing pointer to incomplete type
apache_request.c:190: dereferencing pointer to incomplete type
apache_request.c:195: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:198: parse error before '*' token
apache_request.c:198: parse error before '*' token
apache_request.c: In function `ApacheRequest_new':
apache_request.c:200: invalid operands to binary *
apache_request.c:200: parse error before ')' token
apache_request.c:203: request for member `status' in something not a structure 
or union
apache_request.c:203: `OK' undeclared (first use in this function)
apache_request.c:204: request for member `parms' in something not a structure 
or union
apache_request.c:204: request for member `pool' in something not a structure 
or union
apache_request.c:205: request for member `upload' in something not a structure 
or union
apache_request.c:205: `NULL' undeclared (first use in this function)
apache_request.c:206: request for member `post_max' in something not a 
structure or union
apache_request.c:207: request for member `disable_uploads' in something not a 
structure or union
apache_request.c:208: request for member `upload_hook' in something not a 
structure or union
apache_request.c:209: request for member `hook_data' in something not a 
structure or union
apache_request.c:210: request for member `temp_dir' in something not a 
structure or union
apache_request.c:211: request for member `parsed' in something not a structure 
or union
apache_request.c:212: request for member `r' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:219: parse error before '*' token
apache_request.c: In function `my_urlword':
apache_request.c:225: `line' undeclared (first use in this function)
apache_request.c:231: `p' undeclared (first use in this function)
apache_request.c:231: warning: assignment makes pointer from integer without a 
cast
apache_request.c:238: warning: assignment makes pointer from integer without a 
cast
apache_request.c:249: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:252: parse error before '*' token
apache_request.c: In function `split_to_parms':
apache_request.c:254: `request_rec' undeclared (first use in this function)
apache_request.c:254: request for member `r' in something not a structure or 
union
apache_request.c:257: `data' undeclared (first use in this function)
apache_request.c:257: request for member `pool' in something not a structure 
or union
apache_request.c:258: request for member `pool' in something not a structure 
or union
apache_request.c:258: warning: initialization makes pointer from integer 
without a cast
apache_request.c:265: request for member `parms' in something not a structure 
or union
apache_request.c: At top level:
apache_request.c:270: parse error before '*' token
apache_request.c: In function `ApacheRequest___parse':
apache_request.c:272: `request_rec' undeclared (first use in this function)
apache_request.c:272: request for member `r' in something not a structure or 
union
apache_request.c:275: request for member `args' in something not a structure 
or union
apache_request.c:276: request for member `args' in something not a structure 
or union
apache_request.c:279: request for member `method_number' in something not a 
structure or union
apache_request.c:279: `M_POST' undeclared (first use in this function)
apache_request.c:280: request for member `headers_in' in something not a 
structure or union
apache_request.c:280: warning: initialization makes pointer from integer 
without a cast
apache_request.c:288: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:288: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:288: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:288: request for member `r' in something not a structure or 
union
apache_request.c:290: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in 
this function)
apache_request.c:297: request for member `parsed' in something not a structure 
or union
apache_request.c: At top level:
apache_request.c:302: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_urlencoded':
apache_request.c:304: `request_rec' undeclared (first use in this function)
apache_request.c:304: request for member `r' in something not a structure or 
union
apache_request.c:305: `OK' undeclared (first use in this function)
apache_request.c:307: request for member `method_number' in something not a 
structure or union
apache_request.c:307: `M_POST' undeclared (first use in this function)
apache_request.c:308: `NULL' undeclared (first use in this function)
apache_request.c:310: request for member `headers_in' in something not a 
structure or union
apache_request.c:310: warning: assignment makes pointer from integer without a 
cast
apache_request.c:313: `DECLINED' undeclared (first use in this function)
apache_request.c: In function `remove_tmpfile':
apache_request.c:328: invalid operands to binary *
apache_request.c:328: dereferencing pointer to incomplete type
apache_request.c:330: request for member `r' in something not a structure or 
union
apache_request.c:330: dereferencing pointer to incomplete type
apache_request.c:331: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:331: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:331: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:331: request for member `r' in something not a structure or 
union
apache_request.c:332: dereferencing pointer to incomplete type
apache_request.c:334: dereferencing pointer to incomplete type
apache_request.c:335: request for member `r' in something not a structure or 
union
apache_request.c:336: dereferencing pointer to incomplete type
apache_request.c:339: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:342: parse error before '*' token
apache_request.c:342: parse error before '*' token
apache_request.c: In function `ApacheRequest_tmpfile':
apache_request.c:344: `request_rec' undeclared (first use in this function)
apache_request.c:344: request for member `r' in something not a structure or 
union
apache_request.c:345: `FILE' undeclared (first use in this function)
apache_request.c:347: `NULL' undeclared (first use in this function)
apache_request.c:352: request for member `temp_dir' in something not a 
structure or union
apache_request.c:352: warning: assignment makes pointer from integer without a 
cast
apache_request.c:354: request for member `pool' in something not a structure 
or union
apache_request.c:354: `O_CREAT' undeclared (first use in this function)
apache_request.c:354: `O_EXCL' undeclared (first use in this function)
apache_request.c:354: `O_RDWR' undeclared (first use in this function)
apache_request.c:354: `O_BINARY' undeclared (first use in this function)
apache_request.c:361: request for member `pool' in something not a structure 
or union
apache_request.c:361: warning: assignment makes pointer from integer without a 
cast
apache_request.c:362: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:362: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:362: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:362: request for member `r' in something not a structure or 
union
apache_request.c:367: dereferencing pointer to incomplete type
apache_request.c:368: dereferencing pointer to incomplete type
apache_request.c:369: request for member `pool' in something not a structure 
or union
apache_request.c:370: `ap_null_cleanup' undeclared (first use in this 
function)
apache_request.c: At top level:
apache_request.c:375: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_multipart':
apache_request.c:377: `request_rec' undeclared (first use in this function)
apache_request.c:377: request for member `r' in something not a structure or 
union
apache_request.c:378: `OK' undeclared (first use in this function)
apache_request.c:379: request for member `headers_in' in something not a 
structure or union
apache_request.c:379: warning: initialization makes pointer from integer 
without a cast
apache_request.c:382: `mbuff' undeclared (first use in this function)
apache_request.c:383: `NULL' undeclared (first use in this function)
apache_request.c:386: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:386: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:386: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:386: request for member `r' in something not a structure or 
union
apache_request.c:387: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in 
this function)
apache_request.c:390: `REQUEST_CHUNKED_ERROR' undeclared (first use in this 
function)
apache_request.c:398: request for member `remaining' in something not a 
structure or union
apache_request.c:398: request for member `post_max' in something not a 
structure or union
apache_request.c:398: request for member `post_max' in something not a 
structure or union
apache_request.c:399: request for member `r' in something not a structure or 
union
apache_request.c:400: request for member `post_max' in something not a 
structure or union
apache_request.c:401: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in 
this function)
apache_request.c:404: request for member `pool' in something not a structure 
or union
apache_request.c:405: request for member `pool' in something not a structure 
or union
apache_request.c:405: warning: assignment makes pointer from integer without a 
cast
apache_request.c:408: `DECLINED' undeclared (first use in this function)
apache_request.c:412: `table' undeclared (first use in this function)
apache_request.c:412: `header' undeclared (first use in this function)
apache_request.c:429: warning: assignment makes pointer from integer without a 
cast
apache_request.c:432: request for member `pool' in something not a structure 
or union
apache_request.c:432: warning: assignment makes pointer from integer without a 
cast
apache_request.c:439: request for member `pool' in something not a structure 
or union
apache_request.c:439: warning: assignment makes pointer from integer without a 
cast
apache_request.c:441: request for member `pool' in something not a structure 
or union
apache_request.c:441: warning: assignment makes pointer from integer without a 
cast
apache_request.c:444: request for member `pool' in something not a structure 
or union
apache_request.c:444: warning: assignment makes pointer from integer without a 
cast
apache_request.c:450: request for member `parms' in something not a structure 
or union
apache_request.c:455: request for member `disable_uploads' in something not a 
structure or union
apache_request.c:456: request for member `r' in something not a structure or 
union
apache_request.c:457: `HTTP_FORBIDDEN' undeclared (first use in this function)
apache_request.c:460: request for member `parms' in something not a structure 
or union
apache_request.c:463: dereferencing pointer to incomplete type
apache_request.c:464: dereferencing pointer to incomplete type
apache_request.c:468: request for member `upload' in something not a structure 
or union
apache_request.c:471: request for member `upload_hook' in something not a 
structure or union
apache_request.c:475: dereferencing pointer to incomplete type
apache_request.c:476: dereferencing pointer to incomplete type
apache_request.c:476: request for member `r' in something not a structure or 
union
apache_request.c:477: dereferencing pointer to incomplete type
apache_request.c:477: request for member `r' in something not a structure or 
union
apache_request.c:483: request for member `remaining' in something not a 
structure or union
apache_request.c:488: request for member `upload_hook' in something not a 
structure or union
apache_request.c:489: request for member `upload_hook' in something not a 
structure or union
apache_request.c:489: request for member `hook_data' in something not a 
structure or union
apache_request.c:491: dereferencing pointer to incomplete type
apache_request.c:496: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:500: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:535: parse error before "expire_calc"
apache_request.c: In function `expire_calc':
apache_request.c:562: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:566: parse error before '*' token
apache_request.c: In function `ApacheUtil_expires':
apache_request.c:568: `time_t' undeclared (first use in this function)
apache_request.c:568: parse error before "when"
apache_request.c:570: `type' undeclared (first use in this function)
apache_request.c:572: `time_str' undeclared (first use in this function)
apache_request.c:573: `NULL' undeclared (first use in this function)
apache_request.c:576: `when' undeclared (first use in this function)
apache_request.c:579: `p' undeclared (first use in this function)
apache_request.c:579: warning: return makes pointer from integer without a 
cast
apache_request.c:582: warning: assignment makes pointer from integer without a 
cast
apache_request.c:585: `ap_day_snames' undeclared (first use in this function)
apache_request.c:585: dereferencing pointer to incomplete type
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:586: `ap_month_snames' undeclared (first use in this 
function)
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:587: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: warning: return makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:591: parse error before '*' token
apache_request.c: In function `ApacheRequest_expires':
apache_request.c:593: request for member `r' in something not a structure or 
union
apache_request.c:593: `time_str' undeclared (first use in this function)
make[1]: *** [apache_request.o] Error 1
make[1]: Leaving directory 
`/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
make: *** [subdirs] Error 2
 ]0;andrew@localhost.localdomain: 
/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0 [andrew@localhost 
libapreq-1.0]$ make install
make[1]: Entering directory 
`/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -fomit-frame-pointer -pipe 
-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   
-DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   apache_request.c
In file included from apache_request.c:59:
apache_request.h:5:19: httpd.h: No such file or directory
apache_request.h:6:25: http_config.h: No such file or directory
apache_request.h:7:23: http_core.h: No such file or directory
apache_request.h:8:22: http_log.h: No such file or directory
apache_request.h:9:23: http_main.h: No such file or directory
apache_request.h:10:27: http_protocol.h: No such file or directory
apache_request.h:11:25: util_script.h: No such file or directory
In file included from apache_request.c:59:
apache_request.h:38: parse error before "table"
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:47: parse error before '*' token
apache_request.h:47: warning: data definition has no type or storage class
apache_request.h:48: parse error before '}' token
apache_request.h:48: warning: data definition has no type or storage class
apache_request.h:55: parse error before "table"
apache_request.h:55: warning: no semicolon at end of struct or union
apache_request.h:56: warning: data definition has no type or storage class
apache_request.h:58: parse error before '*' token
apache_request.h:58: warning: data definition has no type or storage class
apache_request.h:59: parse error before '}' token
apache_request.h:89: parse error before '*' token
apache_request.h:89: parse error before '*' token
apache_request.h:89: warning: data definition has no type or storage class
apache_request.h:90: parse error before '*' token
apache_request.h:91: parse error before '*' token
apache_request.h:92: parse error before '*' token
apache_request.h:93: parse error before '*' token
apache_request.h:94: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:95: parse error before '*' token
apache_request.h:95: warning: data definition has no type or storage class
apache_request.h:96: parse error before '*' token
apache_request.h:97: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: parse error before '*' token
apache_request.h:101: warning: data definition has no type or storage class
apache_request.h:102: parse error before '*' token
apache_request.h:120: parse error before '*' token
apache_request.h:123: parse error before '*' token
In file included from apache_request.c:60:
apache_multipart_buffer.h:16: parse error before "request_rec"
apache_multipart_buffer.h:16: warning: no semicolon at end of struct or union
apache_multipart_buffer.h:29: parse error before '}' token
apache_multipart_buffer.h:29: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:31: parse error before '*' token
apache_multipart_buffer.h:32: parse error before "request_rec"
apache_multipart_buffer.h:32: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: parse error before '*' token
apache_multipart_buffer.h:33: warning: data definition has no type or storage 
class
apache_multipart_buffer.h:34: parse error before '*' token
apache_multipart_buffer.h:35: parse error before '*' token
apache_multipart_buffer.h:36: parse error before '*' token
apache_request.c:61: parse error before '*' token
apache_request.c:69: parse error before '*' token
apache_request.c: In function `util_read':
apache_request.c:71: `request_rec' undeclared (first use in this function)
apache_request.c:71: (Each undeclared identifier is reported only once
apache_request.c:71: for each function it appears in.)
apache_request.c:71: request for member `r' in something not a structure or 
union
apache_request.c:72: `OK' undeclared (first use in this function)
apache_request.c:74: `REQUEST_CHUNKED_ERROR' undeclared (first use in this 
function)
apache_request.c:79: `HUGE_STRING_LEN' undeclared (first use in this function)
apache_request.c:81: request for member `remaining' in something not a 
structure or union
apache_request.c:83: request for member `post_max' in something not a 
structure or union
apache_request.c:83: request for member `post_max' in something not a 
structure or union
apache_request.c:84: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:84: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:84: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:84: request for member `r' in something not a structure or 
union
apache_request.c:85: request for member `post_max' in something not a 
structure or union
apache_request.c:86: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in 
this function)
apache_request.c:89: `rbuf' undeclared (first use in this function)
apache_request.c:89: request for member `pool' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:111: parse error before '*' token
apache_request.c: In function `ApacheRequest_script_name':
apache_request.c:113: `request_rec' undeclared (first use in this function)
apache_request.c:113: request for member `r' in something not a structure or 
union
apache_request.c:116: request for member `path_info' in something not a 
structure or union
apache_request.c:116: request for member `path_info' in something not a 
structure or union
apache_request.c:117: request for member `uri' in something not a structure or 
union
apache_request.c:117: request for member `path_info' in something not a 
structure or union
apache_request.c:118: request for member `pool' in something not a structure 
or union
apache_request.c:118: request for member `uri' in something not a structure or 
union
apache_request.c:118: warning: assignment makes pointer from integer without a 
cast
apache_request.c:121: request for member `uri' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:127: parse error before '*' token
apache_request.c: In function `ApacheRequest_script_path':
apache_request.c:129: request for member `r' in something not a structure or 
union
apache_request.c:129: warning: return makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:132: parse error before '*' token
apache_request.c: In function `ApacheRequest_param':
apache_request.c:134: request for member `status' in something not a structure 
or union
apache_request.c:134: request for member `parsed' in something not a structure 
or union
apache_request.c:134: request for member `status' in something not a structure 
or union
apache_request.c:135: request for member `parms' in something not a structure 
or union
apache_request.c:135: `key' undeclared (first use in this function)
apache_request.c:135: warning: return makes pointer from integer without a 
cast
apache_request.c: In function `make_params':
apache_request.c:140: `array_header' undeclared (first use in this function)
apache_request.c:140: `arr' undeclared (first use in this function)
apache_request.c:140: parse error before ')' token
apache_request.c: At top level:
apache_request.c:145: parse error before '*' token
apache_request.c:145: parse error before '*' token
apache_request.c: In function `ApacheRequest_params':
apache_request.c:147: `array_header' undeclared (first use in this function)
apache_request.c:147: `values' undeclared (first use in this function)
apache_request.c:147: request for member `r' in something not a structure or 
union
apache_request.c:148: request for member `status' in something not a structure 
or union
apache_request.c:148: request for member `parsed' in something not a structure 
or union
apache_request.c:148: request for member `status' in something not a structure 
or union
apache_request.c:149: request for member `parms' in something not a structure 
or union
apache_request.c:149: `key' undeclared (first use in this function)
apache_request.c:149: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:153: parse error before '*' token
apache_request.c: In function `ApacheRequest_params_as_string':
apache_request.c:155: `NULL' undeclared (first use in this function)
apache_request.c:156: `array_header' undeclared (first use in this function)
apache_request.c:156: `values' undeclared (first use in this function)
apache_request.c:156: `key' undeclared (first use in this function)
apache_request.c:160: request for member `r' in something not a structure or 
union
apache_request.c:164: warning: assignment makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:170: parse error before '*' token
apache_request.c: In function `ApacheUpload_new':
apache_request.c:173: request for member `r' in something not a structure or 
union
apache_request.c:173: sizeof applied to an incomplete type
apache_request.c:175: dereferencing pointer to incomplete type
apache_request.c:175: `NULL' undeclared (first use in this function)
apache_request.c:176: dereferencing pointer to incomplete type
apache_request.c:177: dereferencing pointer to incomplete type
apache_request.c:178: dereferencing pointer to incomplete type
apache_request.c:179: dereferencing pointer to incomplete type
apache_request.c:180: dereferencing pointer to incomplete type
apache_request.c: In function `ApacheUpload_find':
apache_request.c:189: dereferencing pointer to incomplete type
apache_request.c:190: dereferencing pointer to incomplete type
apache_request.c:195: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:198: parse error before '*' token
apache_request.c:198: parse error before '*' token
apache_request.c: In function `ApacheRequest_new':
apache_request.c:200: invalid operands to binary *
apache_request.c:200: parse error before ')' token
apache_request.c:203: request for member `status' in something not a structure 
or union
apache_request.c:203: `OK' undeclared (first use in this function)
apache_request.c:204: request for member `parms' in something not a structure 
or union
apache_request.c:204: request for member `pool' in something not a structure 
or union
apache_request.c:205: request for member `upload' in something not a structure 
or union
apache_request.c:205: `NULL' undeclared (first use in this function)
apache_request.c:206: request for member `post_max' in something not a 
structure or union
apache_request.c:207: request for member `disable_uploads' in something not a 
structure or union
apache_request.c:208: request for member `upload_hook' in something not a 
structure or union
apache_request.c:209: request for member `hook_data' in something not a 
structure or union
apache_request.c:210: request for member `temp_dir' in something not a 
structure or union
apache_request.c:211: request for member `parsed' in something not a structure 
or union
apache_request.c:212: request for member `r' in something not a structure or 
union
apache_request.c: At top level:
apache_request.c:219: parse error before '*' token
apache_request.c: In function `my_urlword':
apache_request.c:225: `line' undeclared (first use in this function)
apache_request.c:231: `p' undeclared (first use in this function)
apache_request.c:231: warning: assignment makes pointer from integer without a 
cast
apache_request.c:238: warning: assignment makes pointer from integer without a 
cast
apache_request.c:249: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:252: parse error before '*' token
apache_request.c: In function `split_to_parms':
apache_request.c:254: `request_rec' undeclared (first use in this function)
apache_request.c:254: request for member `r' in something not a structure or 
union
apache_request.c:257: `data' undeclared (first use in this function)
apache_request.c:257: request for member `pool' in something not a structure 
or union
apache_request.c:258: request for member `pool' in something not a structure 
or union
apache_request.c:258: warning: initialization makes pointer from integer 
without a cast
apache_request.c:265: request for member `parms' in something not a structure 
or union
apache_request.c: At top level:
apache_request.c:270: parse error before '*' token
apache_request.c: In function `ApacheRequest___parse':
apache_request.c:272: `request_rec' undeclared (first use in this function)
apache_request.c:272: request for member `r' in something not a structure or 
union
apache_request.c:275: request for member `args' in something not a structure 
or union
apache_request.c:276: request for member `args' in something not a structure 
or union
apache_request.c:279: request for member `method_number' in something not a 
structure or union
apache_request.c:279: `M_POST' undeclared (first use in this function)
apache_request.c:280: request for member `headers_in' in something not a 
structure or union
apache_request.c:280: warning: initialization makes pointer from integer 
without a cast
apache_request.c:288: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:288: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:288: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:288: request for member `r' in something not a structure or 
union
apache_request.c:290: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in 
this function)
apache_request.c:297: request for member `parsed' in something not a structure 
or union
apache_request.c: At top level:
apache_request.c:302: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_urlencoded':
apache_request.c:304: `request_rec' undeclared (first use in this function)
apache_request.c:304: request for member `r' in something not a structure or 
union
apache_request.c:305: `OK' undeclared (first use in this function)
apache_request.c:307: request for member `method_number' in something not a 
structure or union
apache_request.c:307: `M_POST' undeclared (first use in this function)
apache_request.c:308: `NULL' undeclared (first use in this function)
apache_request.c:310: request for member `headers_in' in something not a 
structure or union
apache_request.c:310: warning: assignment makes pointer from integer without a 
cast
apache_request.c:313: `DECLINED' undeclared (first use in this function)
apache_request.c: In function `remove_tmpfile':
apache_request.c:328: invalid operands to binary *
apache_request.c:328: dereferencing pointer to incomplete type
apache_request.c:330: request for member `r' in something not a structure or 
union
apache_request.c:330: dereferencing pointer to incomplete type
apache_request.c:331: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:331: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:331: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:331: request for member `r' in something not a structure or 
union
apache_request.c:332: dereferencing pointer to incomplete type
apache_request.c:334: dereferencing pointer to incomplete type
apache_request.c:335: request for member `r' in something not a structure or 
union
apache_request.c:336: dereferencing pointer to incomplete type
apache_request.c:339: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:342: parse error before '*' token
apache_request.c:342: parse error before '*' token
apache_request.c: In function `ApacheRequest_tmpfile':
apache_request.c:344: `request_rec' undeclared (first use in this function)
apache_request.c:344: request for member `r' in something not a structure or 
union
apache_request.c:345: `FILE' undeclared (first use in this function)
apache_request.c:347: `NULL' undeclared (first use in this function)
apache_request.c:352: request for member `temp_dir' in something not a 
structure or union
apache_request.c:352: warning: assignment makes pointer from integer without a 
cast
apache_request.c:354: request for member `pool' in something not a structure 
or union
apache_request.c:354: `O_CREAT' undeclared (first use in this function)
apache_request.c:354: `O_EXCL' undeclared (first use in this function)
apache_request.c:354: `O_RDWR' undeclared (first use in this function)
apache_request.c:354: `O_BINARY' undeclared (first use in this function)
apache_request.c:361: request for member `pool' in something not a structure 
or union
apache_request.c:361: warning: assignment makes pointer from integer without a 
cast
apache_request.c:362: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:362: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:362: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:362: request for member `r' in something not a structure or 
union
apache_request.c:367: dereferencing pointer to incomplete type
apache_request.c:368: dereferencing pointer to incomplete type
apache_request.c:369: request for member `pool' in something not a structure 
or union
apache_request.c:370: `ap_null_cleanup' undeclared (first use in this 
function)
apache_request.c: At top level:
apache_request.c:375: parse error before '*' token
apache_request.c: In function `ApacheRequest_parse_multipart':
apache_request.c:377: `request_rec' undeclared (first use in this function)
apache_request.c:377: request for member `r' in something not a structure or 
union
apache_request.c:378: `OK' undeclared (first use in this function)
apache_request.c:379: request for member `headers_in' in something not a 
structure or union
apache_request.c:379: warning: initialization makes pointer from integer 
without a cast
apache_request.c:382: `mbuff' undeclared (first use in this function)
apache_request.c:383: `NULL' undeclared (first use in this function)
apache_request.c:386: `APLOG_MARK' undeclared (first use in this function)
apache_request.c:386: `APLOG_NOERRNO' undeclared (first use in this function)
apache_request.c:386: `APLOG_ERR' undeclared (first use in this function)
apache_request.c:386: request for member `r' in something not a structure or 
union
apache_request.c:387: `HTTP_INTERNAL_SERVER_ERROR' undeclared (first use in 
this function)
apache_request.c:390: `REQUEST_CHUNKED_ERROR' undeclared (first use in this 
function)
apache_request.c:398: request for member `remaining' in something not a 
structure or union
apache_request.c:398: request for member `post_max' in something not a 
structure or union
apache_request.c:398: request for member `post_max' in something not a 
structure or union
apache_request.c:399: request for member `r' in something not a structure or 
union
apache_request.c:400: request for member `post_max' in something not a 
structure or union
apache_request.c:401: `HTTP_REQUEST_ENTITY_TOO_LARGE' undeclared (first use in 
this function)
apache_request.c:404: request for member `pool' in something not a structure 
or union
apache_request.c:405: request for member `pool' in something not a structure 
or union
apache_request.c:405: warning: assignment makes pointer from integer without a 
cast
apache_request.c:408: `DECLINED' undeclared (first use in this function)
apache_request.c:412: `table' undeclared (first use in this function)
apache_request.c:412: `header' undeclared (first use in this function)
apache_request.c:429: warning: assignment makes pointer from integer without a 
cast
apache_request.c:432: request for member `pool' in something not a structure 
or union
apache_request.c:432: warning: assignment makes pointer from integer without a 
cast
apache_request.c:439: request for member `pool' in something not a structure 
or union
apache_request.c:439: warning: assignment makes pointer from integer without a 
cast
apache_request.c:441: request for member `pool' in something not a structure 
or union
apache_request.c:441: warning: assignment makes pointer from integer without a 
cast
apache_request.c:444: request for member `pool' in something not a structure 
or union
apache_request.c:444: warning: assignment makes pointer from integer without a 
cast
apache_request.c:450: request for member `parms' in something not a structure 
or union
apache_request.c:455: request for member `disable_uploads' in something not a 
structure or union
apache_request.c:456: request for member `r' in something not a structure or 
union
apache_request.c:457: `HTTP_FORBIDDEN' undeclared (first use in this function)
apache_request.c:460: request for member `parms' in something not a structure 
or union
apache_request.c:463: dereferencing pointer to incomplete type
apache_request.c:464: dereferencing pointer to incomplete type
apache_request.c:468: request for member `upload' in something not a structure 
or union
apache_request.c:471: request for member `upload_hook' in something not a 
structure or union
apache_request.c:475: dereferencing pointer to incomplete type
apache_request.c:476: dereferencing pointer to incomplete type
apache_request.c:476: request for member `r' in something not a structure or 
union
apache_request.c:477: dereferencing pointer to incomplete type
apache_request.c:477: request for member `r' in something not a structure or 
union
apache_request.c:483: request for member `remaining' in something not a 
structure or union
apache_request.c:488: request for member `upload_hook' in something not a 
structure or union
apache_request.c:489: request for member `upload_hook' in something not a 
structure or union
apache_request.c:489: request for member `hook_data' in something not a 
structure or union
apache_request.c:491: dereferencing pointer to incomplete type
apache_request.c:496: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:499: dereferencing pointer to incomplete type
apache_request.c:500: dereferencing pointer to incomplete type
apache_request.c: At top level:
apache_request.c:535: parse error before "expire_calc"
apache_request.c: In function `expire_calc':
apache_request.c:562: `NULL' undeclared (first use in this function)
apache_request.c: At top level:
apache_request.c:566: parse error before '*' token
apache_request.c: In function `ApacheUtil_expires':
apache_request.c:568: `time_t' undeclared (first use in this function)
apache_request.c:568: parse error before "when"
apache_request.c:570: `type' undeclared (first use in this function)
apache_request.c:572: `time_str' undeclared (first use in this function)
apache_request.c:573: `NULL' undeclared (first use in this function)
apache_request.c:576: `when' undeclared (first use in this function)
apache_request.c:579: `p' undeclared (first use in this function)
apache_request.c:579: warning: return makes pointer from integer without a 
cast
apache_request.c:582: warning: assignment makes pointer from integer without a 
cast
apache_request.c:585: `ap_day_snames' undeclared (first use in this function)
apache_request.c:585: dereferencing pointer to incomplete type
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:586: `ap_month_snames' undeclared (first use in this 
function)
apache_request.c:586: dereferencing pointer to incomplete type
apache_request.c:587: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: dereferencing pointer to incomplete type
apache_request.c:588: warning: return makes pointer from integer without a 
cast
apache_request.c: At top level:
apache_request.c:591: parse error before '*' token
apache_request.c: In function `ApacheRequest_expires':
apache_request.c:593: request for member `r' in something not a structure or 
union
apache_request.c:593: `time_str' undeclared (first use in this function)
make[1]: *** [apache_request.o] Error 1
make[1]: Leaving directory 
`/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
make: *** [subdirs] Error 2
 ]0;andrew@localhost.localdomain: 
/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0 [andrew@localhost 
libapreq-1.0]$ 
Script done on Fri Jan 24 12:38:00 2003

#################################################

Re: Problem making libapreq on Mandrake 9.0

Posted by Andrew Lord <an...@internode.on.net>.
On Fri, 24 Jan 2003 12:59 pm, Stas Bekman wrote:

Hi Stas,

Thankyou very much for the pointer and for the quickness of your response to 
my question.  I'm currently downloading fresh packages and hopefully a 
reinstall will see the problem solved.

Cheers,

Andrew Lord

> you don't have the Apache header files installed. Either re-install Apache
> from source, or install the devel rpm of apache.
>
> > `/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
> > gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3
> > -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
> > -fno-strength-reduce
> > -DVERSION=\"\" -DXS_VERSION=\"\" -fpic
> > "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   apache_request.c
> > In file included from apache_request.c:59:
> > apache_request.h:5:19: httpd.h: No such file or directory
> > apache_request.h:6:25: http_config.h: No such file or directory
> > apache_request.h:7:23: http_core.h: No such file or directory
> > apache_request.h:8:22: http_log.h: No such file or directory
> > apache_request.h:9:23: http_main.h: No such file or directory
> > apache_request.h:10:27: http_protocol.h: No such file or directory
> > apache_request.h:11:25: util_script.h: No such file or directory
>
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Problem making libapreq on Mandrake 9.0

Posted by Stas Bekman <st...@stason.org>.
Andrew Lord wrote:
> Hi,
> 
> I am having trouble making libapreq (from version 1.0 or 0.33).  The platform 
> is Linux (Mandrake 9.0) and a script of the printout is shown below.  I would 
> be grateful for any pointers as to the likely cause of the problem I'm 
> experiencing.

you don't have the Apache header files installed. Either re-install Apache 
from source, or install the devel rpm of apache.

> `/backup/_All_RPM's_&_.tar.gz/templatetoolkit/libapreq-1.0/c'
> gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -fomit-frame-pointer -pipe 
> -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce   
> -DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
> "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   apache_request.c
> In file included from apache_request.c:59:
> apache_request.h:5:19: httpd.h: No such file or directory
> apache_request.h:6:25: http_config.h: No such file or directory
> apache_request.h:7:23: http_core.h: No such file or directory
> apache_request.h:8:22: http_log.h: No such file or directory
> apache_request.h:9:23: http_main.h: No such file or directory
> apache_request.h:10:27: http_protocol.h: No such file or directory
> apache_request.h:11:25: util_script.h: No such file or directory


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com