Ticket #1201 (new defect)
Unable to compile on AIX 5.1 using gcc 4.0.0
| Reported by: | dhuffman@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | core | Version: | 1.4.15 |
| Severity: | blocker | Keywords: | AIX Compile |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
Below is the last compile message I received. My configure is:
# ./configure --with-openssl-libs=/usr/lpp/storix/lib --enable-static --prefix=/usr/lpp/storix
Then I run:
# make all
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/lpp/storix/lib\"" -I. -I.. -D_REENTRANT -DEXTENSIONS -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps/mod_webdav_la-mod_webdav.Tpo -c -o mod_webdav_la-mod_webdav.lo test -f 'mod_webdav.c' || echo './'mod_webdav.c
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/lpp/storix/lib\" -I. -I.. -D_REENTRANT -DEXTENSIONS -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_webdav_la-mod_webdav.lo -MD -MP -MF .deps/mod_webdav_la-mod_webdav.Tpo -c mod_webdav.c -DPIC -o .libs/mod_webdav_la-mod_webdav.o
mod_webdav.c: In function 'webdav_delete_file': mod_webdav.c:536: warning: unused parameter 'p' mod_webdav.c: In function 'webdav_copy_file': mod_webdav.c:664: warning: unused parameter 'p' mod_webdav.c: In function 'webdav_has_lock': mod_webdav.c:1153: warning: unused parameter 'srv' mod_webdav.c:1153: warning: unused parameter 'con' mod_webdav.c:1153: warning: unused parameter 'p' mod_webdav.c:1153: warning: unused parameter 'uri' mod_webdav.c: In function 'mod_webdav_subrequest_handler': mod_webdav.c:1705: error: 'struct <anonymous>' has no member named 'mmap64' mod_webdav.c:1713: error: 'struct <anonymous>' has no member named 'mmap64' mod_webdav.c:1720: error: 'struct <anonymous>' has no member named 'mmap64' mod_webdav.c:1728: error: 'struct <anonymous>' has no member named 'mmap64' make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 2.
Stop.

