RE: Cyrus SASL + Compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it cant hurt to try that.


From: Hiro Lalwani [mailto:meetmehiro@xxxxxxxxx]
Sent: Wednesday, September 09, 2009 2:45 PM
To: Kyle Chapman
Cc: Alexey Melnikov; cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
Subject: Re: Cyrus SASL + Compile

Hi Kyle,
 
This is the hpux ia64 system. and system is up with 11.23.
 
Can I go ahead and re-build again with below flags which you have mentioned in mail ?
 
========================
CC=cc -Ae
CFLAGS=-I/usr/local/include
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib -Wl,+b -Wl,/usr/local/lib
=====================================
 
 
 
Regards
Hiro Lawani

 
On Wed, Sep 9, 2009 at 11:58 PM, Kyle Chapman <Kyle.Chapman@xxxxxx> wrote:
i would not use: LDFLAGS="-Wl,+nodefaultrpath"
 
is this hpux ai64 and parisc?  i have just built this on 11iv2/parisc and not had this missing symbol issue.  note that i set:
CC=cc -Ae
CFLAGS=-I/usr/local/include
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib -Wl,+b -Wl,/usr/local/lib
 


From: cyrus-sasl-bounces+kyle_chapman=g1.com@lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces+kyle_chapman=g1.com@lists.andrew.cmu.edu] On Behalf Of Hiro Lalwani
Sent: Wednesday, September 09, 2009 2:21 PM
To: Alexey Melnikov
Cc: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
Subject: Re: Cyrus SASL + Compile

missed to add below also in previous mail for DIGEST-MD5.
 
 
ldd -r libdigestmd5.so.2.23
        symbol not found: malloc        (./libdigestmd5.so.2.23)
        symbol not found: _memcpy       (./libdigestmd5.so.2.23)
        symbol not found: uname (./libdigestmd5.so.2.23)
        symbol not found: _memset       (./libdigestmd5.so.2.23)
        symbol not found: freeaddrinfo  (./libdigestmd5.so.2.23)
        symbol not found: _isupper      (./libdigestmd5.so.2.23)
        symbol not found: strerror      (./libdigestmd5.so.2.23)
        symbol not found: snprintf      (./libdigestmd5.so.2.23)
        symbol not found: DES_key_sched (./libdigestmd5.so.2.23)
        symbol not found: sprintf       (./libdigestmd5.so.2.23)
        symbol not found: strncpy       (./libdigestmd5.so.2.23)
        symbol not found: getaddrinfo   (./libdigestmd5.so.2.23)
        symbol not found: strpbrk       (./libdigestmd5.so.2.23)
        symbol not found: __SB_masks    (./libdigestmd5.so.2.23)
        symbol not found: strcasecmp    (./libdigestmd5.so.2.23)
        symbol not found: DES_ede3_cbc_encrypt  (./libdigestmd5.so.2.23)
        symbol not found: free  (./libdigestmd5.so.2.23)
        symbol not found: _isdigit      (./libdigestmd5.so.2.23)
        symbol not found: strncasecmp   (./libdigestmd5.so.2.23)
        symbol not found: DES_cbc_encrypt       (./libdigestmd5.so.2.23)
        symbol not found: strcat        (./libdigestmd5.so.2.23)
        symbol not found: strchr        (./libdigestmd5.so.2.23)
        symbol not found: strcmp        (./libdigestmd5.so.2.23)
        symbol not found: strcpy        (./libdigestmd5.so.2.23)
        symbol not found: strdup        (./libdigestmd5.so.2.23)
        symbol not found: strlen        (./libdigestmd5.so.2.23)
        symbol not found: strtol        (./libdigestmd5.so.2.23)
        symbol not found: time  (./libdigestmd5.so.2.23)
 
 
 Please help me to resolve this issue... I am continuously seeing this issue.
 
 
Regards
Hiro Lalwani
 
 


On Wed, Sep 9, 2009 at 11:40 PM, Hiro Lalwani <meetmehiro@xxxxxxxxx> wrote:
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/
======================================================================================
 
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)
==============================================================================================================
 
 
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 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;

-------------------------------------------------------------------------------------------------------------

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".  

Could any of please tell me, How can I resolve this?

--
thanks & regards
Hiro Lalwani





--
thanks & regards
Hiro Lalwani



--
thanks & regards
Hiro Lalwani



--
thanks & regards
Hiro Lalwani

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux