*********** REPLY SEPARATOR *********** On 5/2/2003 at 9:22 PM Gordon Messmer wrote: >Shane C Branch wrote: >> >> Hmm using apxs -c -lpam -o mod_auth_pam.so mod_auth_pam.c failed with >this >> error: >> apxs:Error: command failed with rc=65536 > >And anything else? I can't make it fail such that that's the only thing >it prints out. You should get compiler warnings or *something*. > > > >-- >Shrike-list mailing list >Shrike-list@xxxxxxxxxx >https://listman.redhat.com/mailman/listinfo/shrike-list I figured out how to get the redirect to work. The attached txt file contains the error messages. regards, shane.
/usr/local/apache-2.0.45/build/libtool --silent --mode=compile gcc -prefer-pic -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache-2.0.45/include -c -o mod_auth_pam.lo mod_auth_pam.c && touch mod_auth_pam.slo /usr/local/apache-2.0.45/build/libtool --silent --mode=link gcc -o mod_auth_pam.so -lpam -rpath /usr/local/apache-2.0.45/modules -module -avoid-version mod_auth_pam.lo /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main' mod_auth_pam.o(.text+0x2e): In function `auth_pam_init': /home/downloads/mod_auth_pam/mod_auth_pam.c:203: undefined reference to `ap_log_error' mod_auth_pam.o(.text+0x55): In function `create_auth_pam_dir_config': /home/downloads/mod_auth_pam/mod_auth_pam.c:211: undefined reference to `apr_palloc' mod_auth_pam.o(.text+0x1bf): In function `pam_auth_basic_user': /home/downloads/mod_auth_pam/mod_auth_pam.c:337: undefined reference to `ap_get_basic_auth_pw' mod_auth_pam.o(.text+0x21c):/home/downloads/mod_auth_pam/mod_auth_pam.c:349: undefined reference to `ap_log_rerror' mod_auth_pam.o(.text+0x27b):/home/downloads/mod_auth_pam/mod_auth_pam.c:370: undefined reference to `ap_log_rerror' mod_auth_pam.o(.text+0x2a0):/home/downloads/mod_auth_pam/mod_auth_pam.c:380: undefined reference to `ap_note_basic_auth_failure' mod_auth_pam.o(.text+0x308):/home/downloads/mod_auth_pam/mod_auth_pam.c:387: undefined reference to `ap_log_rerror' mod_auth_pam.o(.text+0x34f): In function `pam_register_hooks': /home/downloads/mod_auth_pam/mod_auth_pam.c:399: undefined reference to `ap_hook_post_config' mod_auth_pam.o(.text+0x361):/home/downloads/mod_auth_pam/mod_auth_pam.c:400: undefined reference to `ap_hook_check_user_id' mod_auth_pam.o(.data.rel+0x4): In function `auth_pam_init': /home/downloads/mod_auth_pam/mod_auth_pam.c:202: undefined reference to `ap_set_int_slot' mod_auth_pam.o(.data.rel+0x1c):/home/downloads/mod_auth_pam/mod_auth_pam.c:203: undefined reference to `ap_set_flag_slot' mod_auth_pam.o(.data.rel+0x34):/home/downloads/mod_auth_pam/mod_auth_pam.c:206: undefined reference to `ap_set_flag_slot' collect2: ld returned 1 exit status apxs:Error: Command failed with rc=65536 .