[SSSD] [PATCH] Support docdir and abs_builddir

Dmitri Pal dpal at redhat.com
Thu Apr 8 21:06:43 UTC 2010


Dmitri Pal wrote:
> Stephen Gallagher wrote:
>   
>> On 04/08/2010 12:49 PM, Jakub Hrozek wrote:
>>     
>>> On 04/08/2010 05:52 PM, Stephen Gallagher wrote:
>>>       
>>>> Old versions of autoconf (before 2.60) did not include
>>>> support for the docdir and abs_builddir variables. This
>>>> patch emulates support for them.
>>>> Fixes https://fedorahosted.org/sssd/ticket/422
>>>>         
>>     
>>> I was able to run autoreconf -if on a RHEL5 box with this patch.
>>>       
>>> ACK
>>>       
>> I should have specified. There was also another glitch with building the
>> python code that this fixed. Please be sure to do a complete build
>> before acking.
>>
>>     
> autoreconf went Ok
> configure went Ok
> the build failed with:
>
> gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
> -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o
> .libs/sssd monitor/monitor.o confdb/confdb_setup.o confdb/confdb.o
> db/sysdb.o db/sysdb_ops.o db/sysdb_search.o monitor/monitor_sbus.o
> providers/dp_auth_util.o providers/dp_sbus.o sbus/sbus_client.o
> sbus/sssd_dbus_common.o sbus/sssd_dbus_connection.o
> sbus/sssd_dbus_server.o util/util.o util/memory.o util/server.o
> util/signal.o util/usertools.o util/backup_file.o util/strtonum.o
> util/check_and_open.o util/refcount.o util/debug.o  -ltalloc -ltevent
> -lpopt -lldb -L/lib -ldbus-1 -lpcre
> -L/home/bos/dpal/IPA/Code/sssd/common/ini
> /home/bos/dpal/IPA/Code/sssd/common/ini/.libs/libini_config.so
> -L/home/bos/dpal/IPA/Code/sssd/common/collection -lpath_utils
> /home/bos/dpal/IPA/Code/sssd/common/collection/.libs/libcollection.so
> -L/home/bos/dpal/IPA/Code/sssd/common/dhash
> /home/bos/dpal/IPA/Code/sssd/common/dhash/.libs/libdhash.so
> ./.libs/libsss_crypt.a  -Wl,--rpath -Wl,/usr/local/lib
> ./.libs/libsss_crypt.a(libsss_crypt_la-crypto_sha512crypt.o): In
> function `sha512_crypt_r':
> crypto_sha512crypt.c:(.text+0x266): undefined reference to `EVP_MD_CTX_init'
> crypto_sha512crypt.c:(.text+0x274): undefined reference to `EVP_MD_CTX_init'
> crypto_sha512crypt.c:(.text+0x279): undefined reference to `EVP_sha512'
> crypto_sha512crypt.c:(.text+0x293): undefined reference to
> `EVP_DigestInit_ex'
> crypto_sha512crypt.c:(.text+0x2bf): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x2db): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x2e0): undefined reference to `EVP_sha512'
> crypto_sha512crypt.c:(.text+0x2fa): undefined reference to
> `EVP_DigestInit_ex'
> crypto_sha512crypt.c:(.text+0x326): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x342): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x35e): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x380): undefined reference to
> `EVP_DigestFinal_ex'
> crypto_sha512crypt.c:(.text+0x3a8): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x3d1): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x403): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x421): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x44c): undefined reference to
> `EVP_DigestFinal_ex'
> crypto_sha512crypt.c:(.text+0x451): undefined reference to `EVP_sha512'
> crypto_sha512crypt.c:(.text+0x46b): undefined reference to
> `EVP_DigestInit_ex'
> crypto_sha512crypt.c:(.text+0x4a0): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x4ce): undefined reference to
> `EVP_DigestFinal_ex'
> crypto_sha512crypt.c:(.text+0x5b0): undefined reference to `EVP_sha512'
> crypto_sha512crypt.c:(.text+0x5ca): undefined reference to
> `EVP_DigestInit_ex'
> crypto_sha512crypt.c:(.text+0x5ff): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x637): undefined reference to
> `EVP_DigestFinal_ex'
> crypto_sha512crypt.c:(.text+0x725): undefined reference to `EVP_sha512'
> crypto_sha512crypt.c:(.text+0x73f): undefined reference to
> `EVP_DigestInit_ex'
> crypto_sha512crypt.c:(.text+0x775): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x797): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x7f3): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x85a): undefined reference to
> `EVP_DigestUpdate'
> crypto_sha512crypt.c:(.text+0x884): undefined reference to
> `EVP_DigestUpdate'
> ./.libs/libsss_crypt.a(libsss_crypt_la-crypto_sha512crypt.o):crypto_sha512crypt.c:(.text+0x8a2):
> more undefined references to `EVP_DigestUpdate' follow
> ./.libs/libsss_crypt.a(libsss_crypt_la-crypto_sha512crypt.o): In
> function `sha512_crypt_r':
> crypto_sha512crypt.c:(.text+0x8c4): undefined reference to
> `EVP_DigestFinal_ex'
> crypto_sha512crypt.c:(.text+0xb06): undefined reference to
> `EVP_MD_CTX_cleanup'
> crypto_sha512crypt.c:(.text+0xb14): undefined reference to
> `EVP_MD_CTX_cleanup'
> ./.libs/libsss_crypt.a(libsss_crypt_la-crypto_sha512crypt.o): In
> function `s3crypt_gen_salt':
> crypto_sha512crypt.c:(.text+0xd47): undefined reference to `RAND_bytes'
> collect2: ld returned 1 exit status
> make[3]: *** [sssd] Error 1
> make[3]: Leaving directory `/home/dpal/IPA/Code/sssd/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/dpal/IPA/Code/sssd/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/dpal/IPA/Code/sssd/src'
> make: *** [all-recursive] Error 1
> [dpal at dpal sssd]$
> [dpal at dpal sssd]$
>
>   

It looks like those are from the openssl.
But I tried updating it - did not help.

>
>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/sssd-devel
>
>   


-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the sssd-devel mailing list