Hi Mike,
I sent your response to my Linux consultant. It is still failing. Here's his email to me.
______________________
I added the lines in manually because the file he sent diffs quite a bit different. It compiled but apache won’t start and throws an error
The error:
httpd[24376]: httpd: Syntax error on line 360 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_inomads.so into server: /usr/lib64/httpd/modules/mod_inomads.so: undefined symbol: stricmp
Compiler Output:
]# apxs -i -a -c mod_inomads.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fe xceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_ GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_inomads.lo mod_inomads.c && to uch mod_inomads.slo
mod_inomads.c: In function 'Load_Config':
mod_inomads.c:292:4: warning: implicit declaration of function 'stricmp' [-Wimplicit-function-declaration]
if (stricmp(szLine, "DIRECTORY") == 0)
^
mod_inomads.c: In function 'Session_Find':
mod_inomads.c:1669:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'struct SESSIONS *' [-Wformat=]
ap_log_error(APLOG_MARK, APLOG_NOTICE, APR_SUCCESS, Request->server, "AlLocating SESSIONS table at %8.8x", pSessions);
^
mod_inomads.c:1681:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'struct SESSION *' [ -Wformat=]
ap_log_error(APLOG_MARK, APLOG_NOTICE, APR_SUCCESS, Request->server, "Allocating SESSION %s entry at %8.8x", pNomads->szSessi on, pSession);
^
mod_inomads.c:1689:2: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'struct SESSION *' [ -Wformat=]
ap_log_error(APLOG_MARK, APLOG_NOTICE, APR_SUCCESS, Request->server, "Returning SESSION %s entry at %8.8x (socket=%8.8x)", pNo mads->szSession, pSession, pSession->pSocket);
^
mod_inomads.c:1689:2: warning: format '%x' expects argument of type 'unsigned int', but argument 10 has type 'struct apr_socket_ t *' [-Wformat=]
mod_inomads.c: In function 'Session_Free':
mod_inomads.c:1710:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'struct SESSION *' [ -Wformat=]
ap_log_error(APLOG_MARK, APLOG_NOTICE, APR_SUCCESS, Request->server, "Releasing SESSION %s entry at %8.8x", pNomads->szSessio n, pSession);
^
mod_inomads.c: In function 'FileIO_GetDir':
mod_inomads.c:1933:2: warning: implicit declaration of function 'max' [-Wimplicit-function-declaration]
apr_table_setn(Request->headers_out, "Content-Range", apr_psprintf(TmpPool, "bytes 0-%d/%d", max(0,nBytes-1), nBytes));
^
mod_inomads.c: In function 'FileIO_GetFile':
mod_inomads.c:1984:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'apr_off_t' [-Wformat=]
apr_table_setn(Request->headers_out, "Content-Range", apr_psprintf(TmpPool, "bytes %d-%d/%d", nOffset, nOffset+max(0,nLength-1 ), nFileSize));
^
mod_inomads.c:1984:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'apr_off_t' [-Wformat=]
mod_inomads.c:1984:2: warning: format '%d' expects argument of type 'int', but argument 5 has type 'apr_size_t' [-Wformat=]
mod_inomads.c: In function 'FileIO_Put':
mod_inomads.c:2026:2: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration]
{ nRead = (long)min(sizeof(bfrTemp), nBytes-nOfsIn);
^
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_inomads.la -rpath /usr/lib64/ht tpd/modules -module -avoid-version mod_inomads.lo
/usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool' mod_inomads.la /usr/lib64/httpd/modules
/usr/lib64/apr-1/build/libtool --mode=install install mod_inomads.la /usr/lib64/httpd/modules/
libtool: install: install .libs/mod_inomads.so /usr/lib64/httpd/modules/mod_inomads.so
libtool: install: install .libs/mod_inomads.lai /usr/lib64/httpd/modules/mod_inomads.la
libtool: install: install .libs/mod_inomads.a /usr/lib64/httpd/modules/mod_inomads.a
libtool: install: chmod 644 /usr/lib64/httpd/modules/mod_inomads.a
libtool: install: ranlib /usr/lib64/httpd/modules/mod_inomads.a
libtool: finish: PATH="/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/lib64/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib64/httpd/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(

manual pages.
----------------------------------------------------------------------
chmod 755 /usr/lib64/httpd/modules/mod_inomads.so
[activating module `inomads' in /etc/httpd/conf/httpd.conf]