[Linux-cluster] Conmiplation Error

Fabio M. Di Nitto fdinitto at redhat.com
Wed Oct 20 06:08:49 UTC 2010


Similar to the other error, it cannot find nss libraries, once again,
check your configure invocation.

Is there any special reason why you are building everything from sources
instead of using the fedora packages?

Fabio

On 10/18/2010 9:56 PM, Ruiyuan Jiang wrote:
> Hi,
> 
> I am on a Fedora 13, cluster v3.0.17 with corosync 1.2.8, openais 1.1.4. I got error message in the 'make' process. Can anyone help me out with the error message? The Fedora installation was chose "Software Development installation". Thanks.
> 
> make[3]: Entering directory `/home/rc6/cluster-3.0.17/fence/agents/lib'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/rc6/cluster-3.0.17/fence/agents/lib'
> make[3]: Entering directory `/home/rc6/cluster-3.0.17/fence/agents/nss_wrapper'
> gcc -Wall -Wformat=2 -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Wmissing-declarations -O2 -ggdb3 -MMD -I/home/rc6/cluster-3.0.17/make -DDEFAULT_CONFIG_DIR=\"/etc/cluster\" -DDEFAULT_CONFIG_FILE=\"cluster.conf\" -DLOGDIR=\"/var/log/cluster\" -DSYSLOGFACILITY=LOG_LOCAL4 -DSYSLOGLEVEL=LOG_INFO -DRELEASE_VERSION=\"3.0.17\" -I/opt/include/nspr4 -I/opt/include/nss3 -I/opt/include   -c -o fence_nss_wrapper.o /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:63: error: expected '=',',', ';', 'asm' or '__attribute__' before 'nss_bad_cert_hook'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c: In function 'init_nss':
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:78: warning: implicit declaration of function 'NSS_NoDB_Init'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:78: error: 'SECSuccess' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:78: error: (Each undeclared identifier is reported only once
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:78: error: for each function it appears in.)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:79: warning: implicit declaration of function 'NSS_SetDomesticPolicy'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:85: warning: implicit declaration of function 'SSL_ClearSessionCache'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c: In function 'create_socket':
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:107: warning: implicit declaration of function 'SSL_ImportFD'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:107: warning: assignment makes pointer from integer without a cast
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:113: warning: implicit declaration of function 'SSL_OptionSet'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:113: error: 'SSL_SECURITY' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:113: error: 'SECSuccess' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:114: error: 'SSL_HANDSHAKE_AS_SERVER' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:115: error: 'SSL_HANDSHAKE_AS_CLIENT' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:116: error: 'SSL_ENABLE_SSL2' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:117: error: 'SSL_ENABLE_SSL3' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:118: error: 'SSL_ENABLE_TLS' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:119: error: 'SSL_V2_COMPATIBLE_HELLO' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:120: warning: implicit declaration of function 'SSL_SetPKCS11PinArg'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:121: warning: implicit declaration of function 'SSL_AuthCertificateHook'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:121: error: 'SSL_AuthCertificate' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:121: warning: implicit declaration of function 'CERT_GetDefaultCertDB'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:122: warning: implicit declaration of function 'SSL_BadCertHook'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:122: error: 'nss_bad_cert_hook' undeclared (first use in this function)
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c: In function 'create_connected_socket':
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:186: warning: implicit declaration of function 'SSL_ForceHandshake'
> /home/rc6/cluster-3.0.17/fence/agents/nss_wrapper/fence_nss_wrapper.c:186: error: 'SECSuccess' undeclared (first use in this function)
> make[3]: *** [fence_nss_wrapper.o] Error 1
> make[3]: Leaving directory `/home/rc6/cluster-3.0.17/fence/agents/nss_wrapper'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/rc6/cluster-3.0.17/fence/agents'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/rc6/cluster-3.0.17/fence'
> make: *** [fence] Error 2
> [root at fedora1 cluster-3.0.17]#
> 
> Ryan Jiang
> 
> 
> 
> This message (including any attachments) is intended
> solely for the specific individual(s) or entity(ies) named
> above, and may contain legally privileged and
> confidential information. If you are not the intended 
> recipient, please notify the sender immediately by 
> replying to this message and then delete it.
> Any disclosure, copying, or distribution of this message,
> or the taking of any action based on it, by other than the
> intended recipient, is strictly prohibited.
> 
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list