You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ireneusz Lach <ir...@agsmedia.pl> on 2001/02/14 13:48:25 UTC
build/7245: I cant't compile any module for apache 1.3.17
>Number: 7245
>Category: build
>Synopsis: I cant't compile any module for apache 1.3.17
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Feb 14 04:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: irek@agsmedia.pl
>Release: 1.3.17
>Organization:
apache
>Environment:
aix 4.3.3 - patchlevel 6
gcc version 2.95.2.1 19991024 (release)
GNU ld version 2.10.1 (with BFD 2.10.1)
and no-gnu ld
C and C++ Compilers, Version 3.6.4 (+ update level 2)
>Description:
I compiled apache witch DSO and it is okey, but when I want add new module I have problem - see below:
# /usr/local/apache-1.3.17/bin/apxs -c mod_speling.c
gcc -O2 -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__
-DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O2
-L/usr/ccs/lib/libp -fpic -DSHARED_MODULE
-I/usr/local/apache-1.3.17/include -c mod_speling.c
cc1: warning: -fpic ignored for AIX (all code is position independent)
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry
-bI:/usr/local/apache-1.3.17/libexec/httpd.exp -lc -o mod_speling.so
mod_speling.o
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
apxs:Break: Command failed with rc=8
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
and next
# /usr/local/apache-1.3.17/bin/apxs -i -a -n speling mod_speling.so
cp mod_speling.so /usr/local/apache-1.3.17/libexec/mod_speling.so
chmod 755 /usr/local/apache-1.3.17/libexec/mod_speling.so
[activating module `speling' in
/usr/local/apache-1.3.17/conf/httpd.conf]
# /usr/local/apache-1.3.17/bin/apachectl configtest
Syntax error on line 207 of /usr/local/apache-1.3.17/conf/httpd.conf:
Can't locate API module structure `speling_module' in file
/usr/local/apache-1.3.17/libexec/mod_speling.so: Function not
implemented (speling_module)
My configure script:
CC=gcc CFLAGS="-O2 -L/usr/ccs/lib/libp" ./configure
--prefix=/usr/local/apache-1.3.17 --enable-rule=SHARED_CORE \
--enable-module=so
Any idea ?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]