TNG 2.6 and RedHat 7

Rick Vargo rick at vargo.org
Fri Oct 6 03:32:26 GMT 2000


I would like to point out to everybody that upgrades to RedHat 7.0 that you
cannot compile Samba-TNG with gcc 2.96 version that comes with it.  But as
Kevin pointed out using kgcc works fine.  I have verified this.

Thanks Kevin!

Rick


on 10/5/00 4:33 PM, Kevin Colby at kevinc at grainsystems.com wrote:

> 
> I don't know all the details of it, but RH 7 is shipping with a
> gcc and a kgcc.  I know that the default gcc is unable to compile
> kernel source and RH is advising the use of 'kgcc'.
> 
> I have not seen this myself yet, but perhaps this has something
> to do with it.
> 
> - Kevin Colby
> kevinc at grainsystems.com
> 
> 
> rvargo at vargo.org wrote:
>> 
>> Anybody been able to get this to compile?  The newer version of glibc is
>> giving me quite a headache.  Since I am not a programmer, if anybody has made
>> any patches, I would love to get a copy!
>> 
>> Here is how I am configuring it:
>> 
>> ./configure --prefix=/usr --with-localstatedir=/var/log/samba
>> --with-swatdir=/usr/share/swat --with-lockdir=/var/lock/samba
>> --with-privatedir=/etc/samba --with-pam --with-smbmount --with-automount
>> --with-sam-pwdb=passdb --with-sambaconfdir=/etc/samba --with-profile
>> --with-quotas --with-netatalk
>> 
>> Here is where it stops compiling:
>> 
>> Compiling tdb/tdb.c with libtool
>> Compiling tdb/tdbutil.c with libtool
>> tdb/tdbutil.c: In function `tdb_pack':
>> tdb/tdbutil.c:119: `short unsigned int' is promoted to `int' when passed
>> through `...'
>> tdb/tdbutil.c:119: (so you should pass `int' not `short unsigned int' to
>> `va_arg')
>> make: *** [tdb/tdbutil.lo] Error 1
>> 
>> Thanks,
>> Rick
> 





More information about the samba-ntdom mailing list