httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Williams" <chriw...@cmguc.com>
Subject RE: Does apxs work with apache 2.0.28?
Date Tue, 04 Dec 2001 16:31:47 GMT
Here is the output when I run apxs with Solaris 8.
bash-2.03$ apxs -c mod_example.c
/home2/apache2/build/libtool --silent --mode=compile
c   -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
 -D_REENTRANT -g -O2 -pthreads -I/home2/apache2/include  -c -o
mod_example.lo mod_example.c && touch mod_example.slo
/home2/apache2/build/libtool --silent --mode=link gcc -o
mod_example.la -rpath /home2/apache2/modules -module -avoid-version
mod_example.lo

There is no .so created.  When I try and run this command, I get the
following.
bash-2.03$ apxs -c -o mod_example.so mod_example.c
/home2/apache2/build/libtool --silent --mode=compile
c   -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
 -D_REENTRANT -g -O2 -pthreads -I/home2/apache2/include  -c -o
mod_example.lo mod_example.c && touch mod_example.slo
/home2/apache2/build/libtool --silent --mode=link gcc -o
mod_example.so -rpath /home2/apache2/modules -module -avoid-version
mod_example.lo
Undefined                       first referenced
 symbol                             in file
ap_hook_translate_name              mod_example.lo
ap_hook_handler                     mod_example.lo
ap_hook_auth_checker                mod_example.lo
apr_pool_destroy                    mod_example.lo
ap_hook_open_logs                   mod_example.lo
apr_pcalloc                         mod_example.lo
apr_pool_cleanup_register           mod_example.lo
ap_get_server_version               mod_example.lo
ap_hook_child_init                  mod_example.lo
ap_hook_type_checker                mod_example.lo
ap_hook_check_user_id               mod_example.lo
ap_rputs                            mod_example.lo
apr_pstrdup                         mod_example.lo
ap_hook_post_read_request           mod_example.lo
ap_rprintf                          mod_example.lo
ap_hook_quick_handler               mod_example.lo
apr_table_set                       mod_example.lo
ap_hook_log_transaction             mod_example.lo
ap_hook_insert_filter               mod_example.lo
apr_table_make                      mod_example.lo
ap_hook_pre_config                  mod_example.lo
apr_table_get                       mod_example.lo
ap_hook_access_checker              mod_example.lo
ap_hook_post_config                 mod_example.lo
ap_hook_pre_connection              mod_example.lo
ap_get_server_built                 mod_example.lo
main
/tool/ucs-sol8/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/crt1.o
apr_pstrcat                         mod_example.lo
apr_pool_create                     mod_example.lo
ap_hook_fixups                      mod_example.lo
ld: fatal: Symbol referencing errors. No output written to mod_example.so
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

Any suggestions????

> -----Original Message-----
> From: Ryan Bloom [mailto:rbb@covalent.net]
> Sent: Tuesday, December 04, 2001 11:05 AM
> To: users@httpd.apache.org; Chris Williams
> Subject: Re: Does apxs work with apache 2.0.28?
>
>
> On Tuesday 04 December 2001 07:04 am, Chris Williams wrote:
>
> It is working, but we are using libtool.  You either need to run
> apxs -i, or you
> can find the .so in the .libs directory.
>
> Ryan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message