Subject: compiling ERROR apache 1.3.22 with modssl 2.8.5 or 2.8.4_1.3.20 (On OSX)

From: "OSX Developer" <[email-masked]>
Date: Mon, 4 Feb 2002 00:05:44 -0800

[This is related to Apple's OSX Server 10.1.2 operating system (look out for webperfcache), and compiling Apache_1.3.22 with OpenSSL-0.9.6c via mod_ssl-2.8.5-1.3.22 or similarly with mod_ssl-2.8.4-1.3.20 the same problems exist!]

First off, the compiling fails with a message saying to use 'undefined error' instead of 'undefined suppress' (in the modules/ssl/Makefile) when using a "two level name space".

More import is this critical error ...

cc -L/usr/local/ssl/lib  -bundle -undefined error -o libssl.so mod_ssl.lo 
ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo ssl_engine_dh.lo 
ssl_engine_init.lo ssl_engine_kernel.lo ssl_engine_rand.lo ssl_engine_io.lo 
ssl_engine_log.lo ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_vars.lo 
ssl_engine_ext.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmht.lo 
ssl_scache_shmcb.lo ssl_expr.lo ssl_expr_scan.lo ssl_expr_parse.lo 
ssl_expr_eval.lo ssl_util.lo ssl_util_ssl.lo ssl_util_sdbm.lo ssl_util_table.lo  
-lssl -lcrypto  
/usr/bin/ld: Undefined symbols:
_ap_add_config_define
_ap_append_arrays
_ap_check_cmd_context
_ap_ctx_get
_ap_ctx_set
_ap_getword_conf
_ap_global_ctx
_ap_make_array
_ap_make_sub_pool
_ap_mm_core_maxsegsize
_ap_mm_useable
_ap_palloc
_ap_psprintf
_ap_pstrcat
_ap_pstrdup
_ap_push_array
_ap_server_root_relative
_ap_fnmatch
_ap_log_error
_ap_table_set
_ap_cpystrn
_ap_destroy_pool
_ap_add_version_component
_ap_is_fnmatch
_ap_pclosedir
_ap_popendir
_ap_register_cleanup
_ap_bflush
_ap_bsetflag
_ap_ctx_new
_ap_get_server_name
_ap_get_server_port
_ap_getword
_ap_getword_nulls
_ap_is_initial_req
_ap_log_reason
_ap_md5
_ap_pbase64decode
_ap_set_callback_and_alarm
_ap_snprintf
_ap_table_get
_ap_table_setn
_ap_pfclose
_ap_pfopen
_ap_scoreboard_image
_ap_bfilbuf
_ap_get_client_block
_ap_hard_timeout
_ap_hook_register_I
_ap_hook_unregister_I
_ap_kill_timeout
_ap_setup_client_block
_ap_should_client_block
_ap_get_gmtoff
_ap_open_piped_log
_ap_pfdopen
_ap_strcmp_match
_ap_vsnprintf
_ap_pclosef
_ap_popenf
_ap_user_id
_ap_document_root
_ap_get_remote_host
_ap_get_remote_logname
_ap_get_server_version
_ap_hook_configure
_ap_pcalloc
_ap_bvputs
_ap_hook_call
_ap_rputs
_ap_mm_available
_ap_mm_calloc
_ap_mm_create
_ap_mm_destroy
_ap_mm_error
_ap_mm_free
_ap_mm_malloc
_ap_mm_permission
_ap_mm_realloc
_ap_pregcomp
_ap_cleanup_for_exec
_ap_signal
_ap_spawn_child
make[4]: *** [libssl.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

What is the problem? Where do I report this?

------------------------------------------------------------
WWW.COM - Where the Web Begins! http://www.www.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email-masked]
Automated List Manager                            [email-masked]