Ticket #1201 (new defect)

Opened 16 months ago

Last modified 15 months ago

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.

Attachments

Change History

Changed 15 months ago by j.m.jackson@…

I have reproduced this issue on AIX 5.3.0, using gcc 4.1.1, with the lighty 1.4.15 code.

gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/opt/lighttpd-1.4.15/lib\" -I. -I.. -D_REENTRANT -DEXTENSIONS -I/opt/pware/include -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 -o 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[1]: *** [mod_webdav_la-mod_webdav.lo] Error 1 make[1]: Leaving directory `/tmp/lighttpd-1.4.15/src' make: *** [all-recursive] Error 1 make: 1254-004 The error code from the last command is 2.

Changed 15 months ago by j.m.jackson@…

I have been able to compile using the --disable-lfs configure option, but don't end up with any usable modules (they are .la and .a, no .so). Do you get the same when using --disable-lfs?

Add/Change #1201 (Unable to compile on AIX 5.1 using gcc 4.0.0)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.