I am trying to add the mod_extract_forwarded module to IHS (IBM's Apache) v2.0 and then I try to compile it with apxs, I get:
The section of the module it's complaining about is:
I'll cross post this on the C forum as well.
Can anyone help me? Is there a syntax error in the C code?
Thanks!!
Code:
../bin/apxs -c -i -a ../var/custom_modules/extract_forwarded/mod_extract_forwarded.c
/usr/HTTPServer2047/build/libtool --silent --mode=compile xlc_r -prefer-pic -O2 -qmaxmem=8192 -U__STR__ -D_THREAD_SAFE -D_USE_IRS -qHALT=E -I/usr/HTTPServer2047/include -I/usr/HTTPServer2047/include -I/usr/HTTPServer2047/include -c -o ../var/custom_modules/extract_forwarded/mod_extract_forwarded.lo ../var/custom_modules/extract_forwarded/mod_extract_forwarded.c && touch ../var/custom_modules/extract_forwarded/mod_extract_forwarded.slo
"../var/custom_modules/extract_forwarded/mod_extract_forwarded.c", line 1004.5: 1506-275 (S) Unexpected text 'char' encountered. apxs:Error: Command failed with rc=65536
The section of the module it's complaining about is:
Code:
static const char *const mef_proxy_b4[] = { "proxy_http.c", NULL };
I'll cross post this on the C forum as well.
Can anyone help me? Is there a syntax error in the C code?
Thanks!!