httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schwenker, Stephen" <SSchwen...@thestar.ca>
Subject Apache 2.0 -> 2.2 Module upgrade...errors
Date Thu, 25 May 2006 14:43:03 GMT
Hello,
 
I'm trying to upgrade a 3rd party module from 2.0 to 2.2 and I'm getting
the following errors.  Can anyone help me figure out what the issue is?
I'm not sure where to start.
 
Thank you,
 
 
Steve.
 
 
 
 
gcc -DHAVE_CONFIG_H -g -O2 -pthread -fPIC
-DUSING_MIBII_SYSORTABLE_MODULE -I..
-I/opt/jboss/agent-jboss-1.2.29/product_connectors/snmp-jboss-1.2.29/snm
p_common/ucd-snmp
-I/opt/jboss/agent-jboss-1.2.29/product_connectors/snmp-jboss-1.2.29/snm
p_common/ucd-snmp/snmplib
-I/opt/jboss/agent-jboss-1.2.29/product_connectors/snmp-jboss-1.2.29/snm
p_common/ucd-snmp/agent
-I/opt/jboss/agent-jboss-1.2.29/product_connectors/snmp-jboss-1.2.29/snm
p_common/sdbm -I/usr/local/apache222/include
-I/usr/local/apache222/include -c apache-status-process.c -fPIC -DPIC -o
.libs/apache-status-process.o

In file included from /usr/local/apache222/include/ap_config.h:25,

from /usr/local/apache222/include/httpd.h:43,

from apache-status-process.c:10:

/usr/local/apache222/include/apr.h:270: error: syntax error before
"apr_off_t"

/usr/local/apache222/include/apr.h:270: warning: data definition has no
type or storage class

In file included from /usr/local/apache222/include/apr_file_io.h:29,

from /usr/local/apache222/include/apr_network_io.h:26,

from /usr/local/apache222/include/httpd.h:53,

from apache-status-process.c:10:

/usr/local/apache222/include/apr_file_info.h:204: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_file_info.h:204: warning: no semicolon
at end of struct or union

/usr/local/apache222/include/apr_file_info.h:206: warning: data
definition has no type or storage class

/usr/local/apache222/include/apr_file_info.h:219: error: syntax error
before '}' token

In file included from /usr/local/apache222/include/apr_network_io.h:26,

from /usr/local/apache222/include/httpd.h:53,

from apache-status-process.c:10:

/usr/local/apache222/include/apr_file_io.h:548: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_file_io.h:740: error: syntax error
before "apr_off_t"

In file included from /usr/local/apache222/include/httpd.h:53,

from apache-status-process.c:10:

/usr/local/apache222/include/apr_network_io.h:545: error: syntax error
before "apr_off_t"

In file included from /usr/local/apache222/include/apr_buckets.h:32,

from /usr/local/apache222/include/httpd.h:54,

from apache-status-process.c:10:

/usr/local/apache222/include/apr_mmap.h:134: error: syntax error before
"apr_off_t"

/usr/local/apache222/include/apr_mmap.h:161: error: syntax error before
"apr_off_t"

In file included from /usr/local/apache222/include/httpd.h:54,

from apache-status-process.c:10:

/usr/local/apache222/include/apr_buckets.h:242: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:242: warning: no semicolon at
end of struct or union

/usr/local/apache222/include/apr_buckets.h:255: error: syntax error
before '}' token

/usr/local/apache222/include/apr_buckets.h:634: error: field `b' has
incomplete type

/usr/local/apache222/include/apr_buckets.h:706: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:718: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:754: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:890: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:1168: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:1367: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:1381: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:1431: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/apr_buckets.h:1447: error: syntax error
before "apr_off_t"

In file included from /usr/local/apache222/include/httpd.h:62,

from apache-status-process.c:10:

/usr/include/stdlib.h:597: error: 'free' redeclared as different kind of
symbol

/usr/local/apache222/include/apr_buckets.h:252: error: previous
declaration of 'free' was here

In file included from apache-status-process.c:10:

/usr/local/apache222/include/httpd.h:826: error: syntax error before
"apr_off_t"

/usr/local/apache222/include/httpd.h:826: warning: no semicolon at end
of struct or union

/usr/local/apache222/include/httpd.h:828: warning: data definition has
no type or storage class

/usr/local/apache222/include/httpd.h:839: error: syntax error before
"clength"

/usr/local/apache222/include/httpd.h:839: warning: data definition has
no type or storage class

/usr/local/apache222/include/httpd.h:842: error: syntax error before
"remaining"

/usr/local/apache222/include/httpd.h:842: warning: data definition has
no type or storage class

/usr/local/apache222/include/httpd.h:844: error: syntax error before
"read_length"

/usr/local/apache222/include/httpd.h:844: warning: data definition has
no type or storage class

/usr/local/apache222/include/httpd.h:975: error: syntax error before '}'
token

In file included from /usr/include/pthread.h:21,

from /usr/local/apache222/include/apr_portable.h:47,

from /usr/local/apache222/include/scoreboard.h:39,

from apache-status-process.c:11:

/usr/include/time.h:254: error: 'ctime' redeclared as different kind of
symbol

/usr/local/apache222/include/apr_file_info.h:212: error: previous
declaration of 'ctime' was here

In file included from apache-status-process.c:11:

/usr/local/apache222/include/scoreboard.h:116: error: syntax error
before "apr_off_t"

/usr/local/apache222/include/scoreboard.h:116: warning: no semicolon at
end of struct or union

/usr/local/apache222/include/scoreboard.h:118: error: syntax error
before "my_bytes_served"

/usr/local/apache222/include/scoreboard.h:118: warning: data definition
has no type or storage class

/usr/local/apache222/include/scoreboard.h:119: error: syntax error
before "conn_bytes"

/usr/local/apache222/include/scoreboard.h:119: warning: data definition
has no type or storage class

/usr/local/apache222/include/scoreboard.h:124: error: 'times' redeclared
as different kind of symbol

/usr/include/sys/times.h:49: error: previous declaration of 'times' was
here

/usr/local/apache222/include/scoreboard.h:124: error: 'times' redeclared
as different kind of symbol

/usr/include/sys/times.h:49: error: previous declaration of 'times' was
here

/usr/local/apache222/include/scoreboard.h:130: error: syntax error
before '}' token

/usr/local/apache222/include/httpd.h:923: error: storage size of `finfo'
isn't known


Mime
View raw message