You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by terry spencer <te...@yahoo.com> on 2005/03/02 00:40:49 UTC

Apache Request Error

Hi All,

Im trying to install libapreq-1.33 on AIX, and an
error occurs when I try to make. Other installed
packages are (not an exclusive list):
* mod_perl-1.27
* Apache_1.3.27
* perl-5.8.3
Im intending to install Mason, so have the other
prerequisites that come with that. 

It was suggested I mail this list with the error. Are
there any suggestions as to the cause of this error
and possible solutions.

Thanks

Terry

>make
        rm -f
../blib/arch/auto/Apache/Request/Request.so
        LD_RUN_PATH="" ld  -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.8.3/aix/CORE/perl.exp
-bE:Request.exp -bnoentry -lc -L/usr/lo
cal/lib Request.o
../blib/arch/auto/libapreq/libapreq.a
-bI:/usr/local/lib/perl5/site_perl/5.8.3/aix/auto/Apache/mod_perl.exp
-o ../
blib/arch/auto/Apache/Request/Request.so      
ld: 0711-317 ERROR: Undefined symbol: .ap_table_get
ld: 0711-317 ERROR: Undefined symbol: .ap_pfclose
ld: 0711-317 ERROR: Undefined symbol: .ap_log_rerror
ld: 0711-317 ERROR: Undefined symbol: .ap_getword
ld: 0711-317 ERROR: Undefined symbol: .ap_table_add
ld: 0711-317 ERROR: Undefined symbol: .ap_pstrndup
ld: 0711-317 ERROR: Undefined symbol: .ap_push_array
ld: 0711-317 ERROR: Undefined symbol:
.ap_setup_client_block
ld: 0711-317 ERROR: Undefined symbol:
.ap_should_client_block
ld: 0711-317 ERROR: Undefined symbol: .ap_pcalloc
ld: 0711-317 ERROR: Undefined symbol: .ap_hard_timeout
ld: 0711-317 ERROR: Undefined symbol:
.ap_get_client_block
ld: 0711-317 ERROR: Undefined symbol: .ap_kill_timeout
ld: 0711-317 ERROR: Undefined symbol: .ap_pstrdup
ld: 0711-317 ERROR: Undefined symbol: ap_day_snames
ld: 0711-317 ERROR: Undefined symbol: ap_month_snames
ld: 0711-317 ERROR: Undefined symbol: .ap_psprintf
ld: 0711-317 ERROR: Undefined symbol: .ap_popenf
ld: 0711-317 ERROR: Undefined symbol: .ap_pfdopen
ld: 0711-317 ERROR: Undefined symbol: ap_null_cleanup
ld: 0711-317 ERROR: Undefined symbol:
.ap_register_cleanup
ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
ld: 0711-317 ERROR: Undefined symbol: .ap_pstrcat
ld: 0711-317 ERROR: Undefined symbol: .ap_make_array
ld: 0711-317 ERROR: Undefined symbol: .ap_table_do
ld: 0711-317 ERROR: Undefined symbol:
.ap_make_dirstr_parent
ld: 0711-317 ERROR: Undefined symbol:
.ap_find_path_info
ld: 0711-317 ERROR: Undefined symbol: .ap_getword_conf
ld: 0711-317 ERROR: Undefined symbol: .ap_make_table
ld: 0711-317 ERROR: Undefined symbol: .ap_ind
ld: 0711-317 ERROR: Undefined symbol: .ap_table_unset
ld: 0711-317 ERROR: Undefined symbol: .ap_table_set
ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more information.
make: 1254-004 The error code from the last command is
8.


Stop.
make: 1254-004 The error code from the last command is
2.


Stop.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

Re: Apache Request Error

Posted by Joe Schaefer <jo...@sunstarsys.com>.
terry spencer <te...@yahoo.com> writes:

> Hi All,
>
> Im trying to install libapreq-1.33 on AIX, and an
> error occurs when I try to make.

Hmm, searching the archives for "AIX symbol"

     http://marc.theaimsgroup.com/?l=apreq-dev&w=2&r=1&s=AIX+symbol&q=b

But I didn't see anything particularly promising in that list.  
Some posts suggested ways to fix the compilation (-Wl prefixes
on OTHERLDFLAGS), but whether or not the resulting libapreq-1.33 
actually works remains a mystery.

-- 
Joe Schaefer


Re: Apache Request Error [AIX]

Posted by José AUGUSTE-ETIENNE <jo...@cgss-guyane.fr>.
Le mardi 01 mars 2005 à 15:40 -0800, terry spencer a écrit :
> Hi All,
> 
> Im trying to install libapreq-1.33 on AIX, and an
> error occurs when I try to make. Other installed
> packages are (not an exclusive list):
> * mod_perl-1.27
> * Apache_1.3.27
> * perl-5.8.3
> Im intending to install Mason, so have the other
> prerequisites that come with that. 

Hi,

As far as I can tell,
all my attempts to build libapreq-1 on aix 4.3 
with perl 5.8 and IBM's VAC C Compiler version 5, or GNU gcc 
have failed :-)

The only combination that worked for me was
perl 5.6.1
IBM VAC compiler
apache 1.3.29 built _WITH_ mod_so
mod_perl 1.29

I used something like

    cd $mod_perl_dir                    &&
    perl Makefile.PL                    \
    APACHE_PREFIX=$APA_PREFIX           \
    APACHE_SRC=$apache_dir/src          \
    DO_HTTPD=1                          \
    USE_APACI=1                         \
    APACI_ARGS='--enable-module=so'     \
    EVERYTHING=1                        &&
    make                                &&
    make test                           &&
    make install                        &&
    cd $apache_dir                      &&
    make install

note that without APACI_ARGS="--enable-module=so'
it won't work on AIX.

I tried the same trick with perl 5.8,
but without success

Hope this helps

José