Module Compilation Changes between 2.0 and 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a module that compiles and installs for Apache httpd 2.0.47 and
Apache httpd 2.0.63.  However, when I try to compile for 2.2.15, I get
the following result:

8<----------------------------------------------------------------->8
powem@ubuntu:~/src/c/tracker$ sudo /usr/local/apache22/bin/apxs -c
mod_tltagger.c
/usr/local/apr/build-1/libtool  --mode=compile
i486-linux-gnu-gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -pthread -I/usr/local/apache22/include
-I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1   -c
-o mod_tltagger.lo mod_tltagger.c && touch mod_tltagger.slo
mkdir .libs
 i486-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -pthread -I/usr/local/apache22/include
 -I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1 -c
 mod_tltagger.c  -fPIC -DPIC -o .libs/mod_tltagger.o
In file included from mod_tltagger.c:50:
mod_tltagger.h:92: error: expected specifier-qualifier-list before
regex_tâ
mod_tltagger.h:130: error: expected specifier-qualifier-list before
regex_tâ
mod_tltagger.c: In function request_matches_includes:
mod_tltagger.c:188: error: tltagger_cfg_t has no member named
filter_mutexâ
mod_tltagger.c:189: error: tltagger_cfg_t has no member named
filter_mutexâ
mod_tltagger.c:205: error: tltagger_cfg_t has no member named
filter_mutexâ
mod_tltagger.c:206: error: tltagger_cfg_t has no member named
filter_mutexâ

[ ... ]
8<----------------------------------------------------------------->8

There is a long list of repetitious error messages that mirror the
above.  In addition, there's some messages that indicate at least some
APR functions have been changed between 2.0 and 2.2, e.g.

8<----------------------------------------------------------------->8
mod_tltagger.c: In function do_connect:
mod_tltagger.c:254: warning: passing argument 4 of apr_socket_createâ
makes integer from pointer without a cast
/usr/local/apr/include/apr-1/apr_network_io.h:282: note: expected
int but argument is of type struct apr_pool_t *â
mod_tltagger.c:254: error: too few arguments to function
apr_socket_createâ
8<----------------------------------------------------------------->8

I am thinking that the first error ('expected specifier-qualifier-list before
regex_t') may be causing a cascade effect.  I cannot find anything via
Google that tells me anything about what is causing this error, let
alone why it should appear for 2.2 and not for 2.0 compiles.

Any help would be appreciated.

Thanks.

mp

-- 
Michael Powe		michael@xxxxxxxxxxxx		Naugatuck CT USA
"It stands to reason that self-righteous, inflexible, single-minded,
authoritarian true believers are politically organized. Open-minded,
flexible, complex, ambiguous, anti-authoritarian people would just as
soon be left to mind their own fucking business." - R.U. Sirius

Attachment: pgp7IkQS6kpMW.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux