Project

General

Profile

Bug #1201

Unable to compile on AIX 5.1 using gcc 4.0.0

Added by Anonymous over 12 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

Description

Below is the last compile message I received. My configure is:

  1. ./configure --with-openssl-libs=/usr/lpp/storix/lib --enable-static --prefix=/usr/lpp/storix

Then I run:

  1. make all

    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/lpp/storix/lib\"" -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -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 -D+EXTENSIONS_+ -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.

-- dhuffman


Related issues

Related to Bug #1229: Unable to compile on AIX 5.3 using gcc 4.1.1Fixed

Actions

History

#1

Updated by Anonymous over 12 years ago

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 -D+EXTENSIONS_+ -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 &lt;anonymous&gt;' has no member named 'mmap64'
mod_webdav.c:1713: error: 'struct &lt;anonymous&gt;' has no member named 'mmap64'
mod_webdav.c:1720: error: 'struct &lt;anonymous&gt;' has no member named 'mmap64'
mod_webdav.c:1728: error: 'struct &lt;anonymous&gt;' has no member named 'mmap64'
maker1: * [[mod_webdav_la-mod_webdav.lo]] Error 1
maker1: 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.

-- j.m.jackson

#2

Updated by Anonymous over 12 years ago

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?

-- j.m.jackson

#3

Updated by gstrauss about 3 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
#4

Updated by gstrauss about 3 years ago

  • Related to Bug #1229: Unable to compile on AIX 5.3 using gcc 4.1.1 added
#5

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom