www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristin Simpson <ksimp...@go2vanguard.com>
Subject os-sunos/8322: apxs runtime error: breaks compilation
Date Tue, 11 Sep 2001 23:01:28 GMT

>Number:         8322
>Category:       os-sunos
>Synopsis:       apxs runtime error: breaks compilation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Sep 11 16:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     ksimpson@go2vanguard.com
>Release:        1.3.20
>Organization:
apache
>Environment:
SunOS SunGroup 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-5_10
SUN WRKSHP Compiler C/C++ SPARC
>Description:
While trying to compile mod_auth_pam.c as described in the apxs manual (http://httpd.apache.org/docs/programs/apxs.html),
I get this error - apxs:Break: Command failed with rc=255.

bash-2.03# /usr/local/apache/bin/apxs -c -lpam -ldl mod_auth_pam.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/a
pache/include  -c mod_auth_pam.c
"mod_auth_pam.c", line 405: warning: initialization type mismatch
  -o mod_auth_pam.so mod_auth_pam.o -lpam -ldl
apxs:Break: Command failed with rc=255 

also tried doing this compile by having apxs make the makefile using the following:
$apxs -g -n pam_auth
$make
/usr/local/apache/bin/apxs -c   -L/usr/lib -lpam -ldl mod_pam_auth.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/a
pache/include  -c mod_pam_auth.c
  -o mod_pam_auth.so mod_pam_auth.o -L/usr/lib -lpam -ldl
apxs:Break: Command failed with rc=255
*** Error code 1
make: Fatal error: Command failed for target `mod_pam_auth.so'   


Why is this happening??

>How-To-Repeat:
You can repeat problem by going to the /src/modules/example directory in apache and do the
following:
$apxs -g -n example
$make
/usr/local/apache/bin/apxs -c    mod_example.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/a
pache/include  -c mod_example.c
  -o mod_example.so mod_example.o
apxs:Break: Command failed with rc=255
*** Error code 1
make: Fatal error: Command failed for target `mod_example.so' 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message