Hi Alexey,
I have applied a changes what you have suggested and the issue gets resolved and build successfully done.
I have used the below parameter during configure,
===================================================================================
export LIBS="-lgss -lkrb5 -lk5crypto -lcom_err -lcrypto -lpthread"
export CC="aCC "
export LDFLAGS="-Wl,+nodefaultrpath"
export CFLAGS="+DD32"
./configure --prefix=/opt/iexpress/cyrussasl --enable-krb4 \
--enable-login --with-openssl=/opt/openssl \
--with-bdb-incdir=/usr/local/include --enable-static --enable-shared=yes \
--enable-digest --enable-gssapi=/usr/lib/
======================================================================================
export CC="aCC "
export LDFLAGS="-Wl,+nodefaultrpath"
export CFLAGS="+DD32"
./configure --prefix=/opt/iexpress/cyrussasl --enable-krb4 \
--enable-login --with-openssl=/opt/openssl \
--with-bdb-incdir=/usr/local/include --enable-static --enable-shared=yes \
--enable-digest --enable-gssapi=/usr/lib/
======================================================================================
But still I am seeing Undefined symbol in below shared libraries after completely successfully build.
==================================================================================================
itanika7# ldd -r libgssapiv2.so
symbol not found: gss_display_name (./libgssapiv2.so)
symbol not found: _memcpy (./libgssapiv2.so)
symbol not found: gss_inquire_context (./libgssapiv2.so)
symbol not found: uname (./libgssapiv2.so)
symbol not found: _memset (./libgssapiv2.so)
symbol not found: freeaddrinfo (./libgssapiv2.so)
symbol not found: gss_release_name (./libgssapiv2.so)
symbol not found: strerror (./libgssapiv2.so)
symbol not found: GSS_C_NT_HOSTBASED_SERVICE (./libgssapiv2.so)
symbol not found: snprintf (./libgssapiv2.so)
symbol not found: sprintf (./libgssapiv2.so)
symbol not found: strncpy (./libgssapiv2.so)
symbol not found: getaddrinfo (./libgssapiv2.so)
symbol not found: gss_acquire_cred (./libgssapiv2.so)
symbol not found: __SB_masks (./libgssapiv2.so)
symbol not found: gss_init_sec_context (./libgssapiv2.so)
symbol not found: gss_import_name (./libgssapiv2.so)
symbol not found: gss_delete_sec_context (./libgssapiv2.so)
symbol not found: gss_release_buffer (./libgssapiv2.so)
symbol not found: gss_wrap (./libgssapiv2.so)
symbol not found: gss_compare_name (./libgssapiv2.so)
symbol not found: _isdigit (./libgssapiv2.so)
symbol not found: GSS_C_NT_USER_NAME (./libgssapiv2.so)
symbol not found: gss_unwrap (./libgssapiv2.so)
symbol not found: gss_wrap_size_limit (./libgssapiv2.so)
symbol not found: gss_display_status (./libgssapiv2.so)
symbol not found: gss_accept_sec_context (./libgssapiv2.so)
symbol not found: gss_release_cred (./libgssapiv2.so)
symbol not found: strcat (./libgssapiv2.so)
symbol not found: strchr (./libgssapiv2.so)
symbol not found: strcpy (./libgssapiv2.so)
symbol not found: strdup (./libgssapiv2.so)
symbol not found: strlen (./libgssapiv2.so)
==============================================================================================================
itanika7# ldd -r libgssapiv2.so
symbol not found: gss_display_name (./libgssapiv2.so)
symbol not found: _memcpy (./libgssapiv2.so)
symbol not found: gss_inquire_context (./libgssapiv2.so)
symbol not found: uname (./libgssapiv2.so)
symbol not found: _memset (./libgssapiv2.so)
symbol not found: freeaddrinfo (./libgssapiv2.so)
symbol not found: gss_release_name (./libgssapiv2.so)
symbol not found: strerror (./libgssapiv2.so)
symbol not found: GSS_C_NT_HOSTBASED_SERVICE (./libgssapiv2.so)
symbol not found: snprintf (./libgssapiv2.so)
symbol not found: sprintf (./libgssapiv2.so)
symbol not found: strncpy (./libgssapiv2.so)
symbol not found: getaddrinfo (./libgssapiv2.so)
symbol not found: gss_acquire_cred (./libgssapiv2.so)
symbol not found: __SB_masks (./libgssapiv2.so)
symbol not found: gss_init_sec_context (./libgssapiv2.so)
symbol not found: gss_import_name (./libgssapiv2.so)
symbol not found: gss_delete_sec_context (./libgssapiv2.so)
symbol not found: gss_release_buffer (./libgssapiv2.so)
symbol not found: gss_wrap (./libgssapiv2.so)
symbol not found: gss_compare_name (./libgssapiv2.so)
symbol not found: _isdigit (./libgssapiv2.so)
symbol not found: GSS_C_NT_USER_NAME (./libgssapiv2.so)
symbol not found: gss_unwrap (./libgssapiv2.so)
symbol not found: gss_wrap_size_limit (./libgssapiv2.so)
symbol not found: gss_display_status (./libgssapiv2.so)
symbol not found: gss_accept_sec_context (./libgssapiv2.so)
symbol not found: gss_release_cred (./libgssapiv2.so)
symbol not found: strcat (./libgssapiv2.so)
symbol not found: strchr (./libgssapiv2.so)
symbol not found: strcpy (./libgssapiv2.so)
symbol not found: strdup (./libgssapiv2.so)
symbol not found: strlen (./libgssapiv2.so)
==============================================================================================================
Could you please tell me, what is wrong here ?
Regards
Hiro Lalwani
On Tue, Sep 8, 2009 at 10:45 PM, Alexey Melnikov <alexey.melnikov@xxxxxxxxx> wrote:
Hiro Lalwani wrote:
Hi All,
Hi,
I wonder if "last_invec.iov_base" is defined as "void *". Try changing each of the two "last_invec.iov_base" to "(char *)last_invec.iov_base".I have downloaded the Cyrus-SASL-2.1.23.
I am seeing below errors while initiating the "gmake".
-------------------------------------------------------------------------------------------------------------------------
"common.c", line 500: error #2852: _expression_ must be a pointer to a complete
object type
next_buf = last_invec.iov_base + last_invec.iov_len;
^
"common.c", line 516: error #2852: _expression_ must be a pointer to a complete
object type
next_buf = last_invec.iov_base + last_invec.iov_len;
-------------------------------------------------------------------------------------------------------------
Could any of please tell me, How can I resolve this?
--
thanks & regards
Hiro Lalwani
--
thanks & regards
Hiro Lalwani