[Mod_nss-list] unable to compile mod_nss version 1.0.11

AYANIDES, Jean-Philippe jpayanides at prosodie.com
Wed Sep 16 16:39:48 UTC 2015


Hi,
Has anybody succeeded in compiling mod_nss-1.0.11
on CentOS release 6.5 ?

The error is the following :
mod_nss.c: In function 'NSSBadCertHandler':
mod_nss.c:287: warning: passing argument 4 of 'nss_log_nss_error' makes 
integer from pointer without a cast
mod_nss.h:466: note: expected 'int' but argument is of type 'void *'
mod_nss.c:287: error: too few arguments to function 'nss_log_nss_error'
mod_nss.c: In function 'nss_hook_pre_connection':
mod_nss.c:365: error: 'conn_rec' has no member named 'client_ip'
mod_nss.c:365: error: 'conn_rec' has no member named 'client_ip'
mod_nss.c:381: warning: passing argument 4 of 'nss_log_nss_error' makes 
integer from pointer without a cast
mod_nss.h:466: note: expected 'int' but argument is of type 'struct 
server_rec *'
mod_nss.c:381: error: too few arguments to function 'nss_log_nss_error'
gmake: *** [mod_nss.lo] Error 1

When I try to compare mod_nss.c and .h, I can see the following 
difference which causes mod_nss not to compile:
mod_nss.h:466
* Logging */
void nss_log_nss_error(const char *file, int line, int module_index, int 
level, server_rec *s);

mod_nss.c:287
nss_log_nss_error(APLOG_MARK, APLOG_ERR, NULL);


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




More information about the Mod_nss-list mailing list