[Mageia-dev] Build failures. GCC related?

Colin Guthrie mageia at colin.guthr.ie
Sat Jun 30 12:37:24 CEST 2012


'Twas brillig, and Colin Guthrie at 29/06/12 16:48 did gyre and gimble:
> 'Twas brillig, and Pascal Terjan at 29/06/12 16:30 did gyre and gimble:
>> On Fri, Jun 29, 2012 at 8:27 AM, Pascal Terjan <pterjan at gmail.com> wrote:
>>> On Fri, Jun 29, 2012 at 6:33 AM, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>>>> conftest.c:70:12: error: 'SMBCCTX' has no member named 'close'
>>>
>>> This seems to be a change in samba, SMBCCTX is from their header
>>
>> Reading the internet, it is normal to have this one to no :)
>>
>> checking for libsmbclient.h... yes
>> checking for SMBCCTX.flags... yes
>> checking for SMBCCTX.close... no
>> checking for smbc_option_get in -lsmbclient... yes
> 
> Yeah I guess it's just a red herring... I'm trying to work out why gvfs
> samba stuff seems to have broken... likely needs some newer version or
> something.

In actual fact the gvfs samba issue seems to be related to kerberos somehow.

/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.1/../../../../lib64/libsmbclient.so:
undefined reference to `krb5_locate_kdc at krb5_3_MIT'
collect2: error: ld returned 1 exit status

Rebuilding samba allowed this compilation to succeed.

Hey ho.

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/




More information about the Mageia-dev mailing list