You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/12/14 16:14:15 UTC

[Bug 54297] New: ab does not link on AIX (in ./support)

https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

            Bug ID: 54297
           Summary: ab does not link on AIX (in ./support)
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: support
          Assignee: bugs@httpd.apache.org
          Reporter: mamfelt@gmail.com
    Classification: Unclassified

Created attachment 29756
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29756&action=edit
output with -bnoquiet added to parameter list

./support/ab does not link

/var/apr/build-1/libtool --silent --mode=link cc -qlanglvl=extc89  -qHALT=E 
-O2 -qlanglvl=extc99 -Wl,-brtl -L/usr/include/openssl/lib   -o ab  ab.lo
-Wl,-uXML_Parse
  /opt/lib/libaprutil.la -lexpat -liconv /opt/lib/libapr.la -lpthread -lm
ld: 0711-317 ERROR: Undefined symbol: .SSLv23_client_method
ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_set_mem_functions
ld: 0711-317 ERROR: Undefined symbol: .SSL_load_error_strings
ld: 0711-317 ERROR: Undefined symbol: .SSL_library_init
ld: 0711-317 ERROR: Undefined symbol: .BIO_new_fp
ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_new
ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_ctrl
ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_info_callback
ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_cipher_list
ld: 0711-317 ERROR: Undefined symbol: .ERR_print_errors_fp
ld: 0711-317 ERROR: Undefined symbol: .BIO_printf
ld: 0711-317 ERROR: Undefined symbol: .ERR_print_errors
ld: 0711-317 ERROR: Undefined symbol: .SSLv2_client_method
ld: 0711-317 ERROR: Undefined symbol: .SSLv3_client_method
ld: 0711-317 ERROR: Undefined symbol: .TLSv1_client_method
ld: 0711-317 ERROR: Undefined symbol: .SSL_state
ld: 0711-317 ERROR: Undefined symbol: .SSL_read
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_error
ld: 0711-317 ERROR: Undefined symbol: .SSL_new
ld: 0711-317 ERROR: Undefined symbol: .BIO_new_socket
ld: 0711-317 ERROR: Undefined symbol: .SSL_set_bio
ld: 0711-317 ERROR: Undefined symbol: .SSL_set_connect_state
ld: 0711-317 ERROR: Undefined symbol: .BIO_set_callback
ld: 0711-317 ERROR: Undefined symbol: .BIO_set_callback_arg
ld: 0711-317 ERROR: Undefined symbol: .SSL_do_handshake
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_current_cipher
ld: 0711-317 ERROR: Undefined symbol: .SSL_CIPHER_get_bits
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_peer_certificate
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_version
ld: 0711-317 ERROR: Undefined symbol: .SSL_CIPHER_get_name
ld: 0711-317 ERROR: Undefined symbol: .X509_get_pubkey
ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_bits
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_peer_cert_chain
ld: 0711-317 ERROR: Undefined symbol: .sk_num
ld: 0711-317 ERROR: Undefined symbol: .sk_value
ld: 0711-317 ERROR: Undefined symbol: .X509_free
ld: 0711-317 ERROR: Undefined symbol: .SSL_get_session
ld: 0711-317 ERROR: Undefined symbol: .SSL_SESSION_print
ld: 0711-317 ERROR: Undefined symbol: .ASN1_INTEGER_get
ld: 0711-317 ERROR: Undefined symbol: .ASN1_UTCTIME_print
ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_free
ld: 0711-317 ERROR: Undefined symbol: .X509_get_issuer_name
ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_oneline
ld: 0711-317 ERROR: Undefined symbol: .X509_get_subject_name
ld: 0711-317 ERROR: Undefined symbol: .X509_get_ext_count
ld: 0711-317 ERROR: Undefined symbol: .SSL_CIPHER_get_version
ld: 0711-317 ERROR: Undefined symbol: .RAND_seed
ld: 0711-317 ERROR: Undefined symbol: .SSL_alert_type_string_long
ld: 0711-317 ERROR: Undefined symbol: .SSL_alert_desc_string_long
ld: 0711-317 ERROR: Undefined symbol: .SSL_state_string_long
ld: 0711-317 ERROR: Undefined symbol: .BIO_get_callback_arg
ld: 0711-317 ERROR: Undefined symbol: .BIO_dump
ld: 0711-317 ERROR: Undefined symbol: .SSL_shutdown
ld: 0711-317 ERROR: Undefined symbol: .SSL_free
ld: 0711-317 ERROR: Undefined symbol: .SSL_write
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

attachment contains output with option -bnoquiet

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

Kaspar Brand <as...@velox.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Hardware|PC                          |All
         Resolution|---                         |INVALID
                 OS|All                         |AIX
           Severity|critical                    |normal

--- Comment #6 from Kaspar Brand <as...@velox.ch> ---
(In reply to comment #5)
> Unrelated to your linking problem, but is it possible to disable this (and
> only this) type of warning with a command line option?

"-qsuppress=1506-196" should do the trick
(http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/topic/com.ibm.vacpp7a.doc/compiler/ref/ruoptsup.htm).
Would build/aix/buildaix.ksh be the proper place to add this to?

Setting the status to RESOLVED, as the originally reported problem no longer
exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
As a temporary workaround cou can try setting

ab_LDFLAGS = -L/usr/include/openssl/lib -lssl -lcrypto

in build/config_vars.mk (you need to merge with whatever ab_LDFLAGS is already
set to in that file). In case you then get deflate linking errors,also add -lz
at the end of that line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
Did you regenerate configure using buildconf after checking out? Or are you
using an old configure from a previous version (don't do that).

What are the values of ab_LDFLAGS and ab_LTFLAGS in build/config_vars.mk?

What is the value of ab_LDADD in support/Makefile?

What is the result of

  grep MOD_LDFLAGS config.log

and

  grep ab_LD config.log

The same for your full configure output.

The flags needed should be part of ab_LDFLAGS and be put there during configure
as a copy of MOD_LDFLAGS. The latter is filled during ssl detection in
configure.

Apart form the above, can you provide your full configure output, config.log
and your full configure commandline?

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

--- Comment #5 from Stefan Fritsch <sf...@sfritsch.de> ---
Unrelated to your linking problem, but is it possible to disable this (and only
this) type of warning with a command line option?

(In reply to comment #4)
> "util_expr_eval.c", line 1555.7: 1506-196 (W) Initialization between types
> "const void* const" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.

If yes, we may want to add that option to the default compiler options for 2.4
on AIX. The relevant code is not really ISO C compliant but fixing it would
require an API change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

--- Comment #3 from Michael Felt <ma...@gmail.com> ---
I was naughty, and just before Christmas! So, I'll run the buildconf again, and
remember to do that in the future!

Update soon!

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54297] ab does not link on AIX (in ./support)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54297

--- Comment #4 from Michael Felt <ma...@gmail.com> ---
Checked out revision 1425473.

After: ./buildconf --with-apr=/data/prj/apr/apr-1.4.6
--with-apr-util=/data/prj/apr/apr-util-1.5.1

 ./configure 
                --enable-layout=AIX \
                --with-apr=/opt/bin/apr-1-config \
                --with-apr-util=/opt/bin/apu-1-config \
                --enable-mpms-shared=all \
                --enable-mods-shared=all \
                --enable-load-all-modules \
                --disable-lua

got these warning messages:
configure: WARNING: apr/apr-util is compiled without ldap support
configure: WARNING: apr/apr-util is compiled without ldap support
configure: WARNING: Your APR does not include SSL/EVP support. To enable it:
configure --with-crypto

+ make > build/aix/make.out
"util_expr_eval.c", line 1555.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*)" is not
allowed.
"util_expr_eval.c", line 1556.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*)" is not
allowed.
"util_expr_eval.c", line 1557.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*)" is not
allowed.
"util_expr_eval.c", line 1558.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*)" is not
allowed.
"util_expr_eval.c", line 1563.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1564.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1565.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1566.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1568.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1569.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1570.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1571.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1572.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1573.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1574.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1575.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,const char*)"
is not allowed.
"util_expr_eval.c", line 1576.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,char*)" is
not allowed.
"util_expr_eval.c", line 1577.7: 1506-196 (W) Initialization between types
"const void* const" and "const char*(*)(struct {...}*,const void*,char*)" is
not allowed.
"util_expr_eval.c", line 1583.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1584.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1585.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1586.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1587.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1588.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1589.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1590.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1591.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1592.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1593.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1594.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1595.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1596.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*)" is not
allowed.
"util_expr_eval.c", line 1601.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*,const
char*)" is not allowed.
"util_expr_eval.c", line 1602.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*,const
char*)" is not allowed.
"util_expr_eval.c", line 1603.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*,const
char*)" is not allowed.
"util_expr_eval.c", line 1604.7: 1506-196 (W) Initialization between types
"const void* const" and "int(*)(struct {...}*,const void*,const char*,const
char*)" is not allowed.
    1500-030: (I) INFORMATION: cache_save_filter: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
"mod_include.c", line 721.26: 1506-068 (W) Operation between types "const
void*" and "const char*(*)(struct {...}*,const void*,const char*)" is not
allowed.
    1500-030: (I) INFORMATION: deflate_out_filter: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
"mod_headers.c", line 920.43: 1506-280 (W) Function argument assignment between
types "const void*" and "const char*(*)(struct request_rec*,char*)" is not
allowed.
    1500-030: (I) INFORMATION: proxy_ftp_handler: Additional optimization may
be attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: ap_proxy_http_request: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: ap_proxy_ajp_request: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: balancer_handler: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater than
8192.
    1500-030: (I) INFORMATION: ssl_hook_Access: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater than
8192.
"ssl_engine_vars.c", line 88.26: 1506-068 (W) Operation between types "const
void*" and "const char*(*)(struct {...}*,const void*)" is not allowed.
"ssl_engine_vars.c", line 95.26: 1506-068 (W) Operation between types "const
void*" and "struct apr_array_header_t*(*)(struct {...}*,const void*,const
char*)" is not allowed.
    1500-030: (I) INFORMATION: status_handler: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater than
8192.
    1500-030: (I) INFORMATION: lookup_variable: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater than
8192.
+ make install DESTDIR=/var/tmp/root/httpd.2.4.4 > build/aix/install.out
mkdir /var/tmp/root/httpd.2.4.4
mkdir /var/tmp/root/httpd.2.4.4/opt
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/libexec
libtool: install: warning: remember to run `libtool --finish
/opt/httpd/libexec'
....
libtool: install: warning: remember to run `libtool --finish
/opt/httpd/libexec'
libtool: install: warning: remember to run `libtool --finish
/opt/httpd/libexec'
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/bin
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/sbin
mkdir /var/tmp/root/httpd.2.4.4/etc
mkdir /var/tmp/root/httpd.2.4.4/etc/httpd
mkdir /var/tmp/root/httpd.2.4.4/etc/httpd/extra
mkdir /var/tmp/root/httpd.2.4.4/etc/httpd/original
mkdir /var/tmp/root/httpd.2.4.4/etc/httpd/original/extra
mkdir /var/tmp/root/httpd.2.4.4/var
mkdir /var/tmp/root/httpd.2.4.4/var/httpd
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/htdocs
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/error
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/icons
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/logs
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/run
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/cgi-bin
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/include
mkdir /var/tmp/root/httpd.2.4.4/var/httpd/build
mkdir /var/tmp/root/httpd.2.4.4/usr
mkdir /var/tmp/root/httpd.2.4.4/usr/share
mkdir /var/tmp/root/httpd.2.4.4/usr/share/man
mkdir /var/tmp/root/httpd.2.4.4/usr/share/man/man1
mkdir /var/tmp/root/httpd.2.4.4/usr/share/man/man8
mkdir /var/tmp/root/httpd.2.4.4/opt/httpd/manual
+ build/aix/mkinstallp.ksh /var/tmp/root/httpd.2.4.4 > build/aix/mkinstallp.out
========================
ASF.httpd:ASF.httpd.man.en_US:2.4.4.0::I:T:::::N:httpd 2.4.4 man pages Apache
Software Foundation::::0::
ASF.httpd:ASF.httpd.rte:2.4.4.0::I:T:::::N:httpd version 2.4.4 for powerpc
Apache Software Foundation::::0::
========================

So, all seems well - however, I am uncertain about whether I need to use
--with-crypto as a flag or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org