[Samba] 'dns update' compile error on gentoo

Guillermo Gutierrez ggutierrez at marketscan.com
Thu Sep 13 16:35:53 GMT 2007


Here is the compile error for samba:

utils/net_dns.c: In function 'DoDNSUpdate':
utils/net_dns.c:40: error: 'OM_uint32' undeclared (first use in this function)
utils/net_dns.c:40: error: (Each undeclared identifier is reported only once
utils/net_dns.c:40: error: for each function it appears in.)
utils/net_dns.c:40: error: expected ';' before 'minor'
utils/net_dns.c:77: error: incompatible types in assignment
utils/net_dns.c:92: error: 'gss_ctx_id_t' undeclared (first use in this function)
utils/net_dns.c:92: error: expected ';' before 'gss_context'
utils/net_dns.c:101: error: 'gss_context' undeclared (first use in this function)
utils/net_dns.c:101: error: incompatible types in assignment
utils/net_dns.c:107: error: incompatible types in assignment
utils/net_dns.c:115: error: incompatible types in assignment
utils/net_dns.c:117: error: 'minor' undeclared (first use in this function)
utils/net_dns.c:117: error: 'GSS_C_NO_BUFFER' undeclared (first use in this function)
The following command failed:
i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-fs/samba-3.0.25c-r2/work/samba-3.0.25c/source  -O2 -march=i686 -pipe -D_SAMBA_BUILD_=3  -I/var/tmp/portage/net-fs/samba-3.0.25c-r2/work/samba-3.0.25c/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED    -I/var/tmp/portage/net-fs/samba-3.0.25c-r2/work/samba-3.0.25c/source/lib -D_SAMBA_BUILD_=3 -fPIC -c utils/net_dns.c -o utils/net_dns.o
Compiling libaddns/dnsrecord.c
make: *** [utils/net_dns.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-fs/samba-3.0.25c-r2 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  samba-3.0.25c-r2.ebuild, line 130:   Called die

!!! emake everything failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.25c-r2/temp/build.log'.


-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: Thu 13/09/2007 9:09
To: Guillermo Gutierrez; samba
Subject: Re: [Samba] 'dns update' compile error on gentoo
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guillermo Gutierrez wrote:
> MIT, I don't use heimdal on gentoo
....
> -----Original Message-----
> From: Gerald (Jerry) Carter [mailto:jerry at samba.org] 
> Sent: Thursday, September 13, 2007 8:52 AM
> To: Guillermo Gutierrez
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] 'dns update' compile error on gentoo
> 
> Guillermo Gutierrez wrote:
>> Hello,
> 
>> Gentoo linux has just recently released samba 3.0.25c in portage. I
>> tried upgrading to it and it worked by default but the dns update
>> feature was not enabled. When I tried to add that option to the ebuild
>> script and then install samba, the process errors out when trying to
>> compile the dns portion.
> 
> What krb5 libs are you using?  MIT or Heimdal?  I think we've
> got some GSSAPI issues with Heimdal.


ok.  You'll have to provide more information on the compile
errors you are seeing (please keep on list).




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6WDVIR7qMdg1EfYRAs7pAJsGiFlFFa5tG4sveQW4o1+Vom9CxwCfQG45
0ZPXcFFESecSf9EW49ETXfY=
=Kqba
-----END PGP SIGNATURE-----



More information about the samba mailing list