TNG 2.6 and RedHat 7

Kevin Colby kevinc at grainsystems.com
Fri Oct 6 14:23:53 GMT 2000


Just for the record, the details are that RH 7.0 is shipping with
'gcc' as gcc 2.96 and 'kgcc' as egcs 1.1.2.  Many products do not
yet conform to gcc 2.96's stricter syntax including current Linux
kernel source, and apparently Samba as well.

I'm crossposting to -technical to ask if anyone is aware of or
working on reviewing or testing for gcc 2.96?

	- Kevin Colby
	  kevinc at grainsystems.com


Rick Vargo wrote:
> 
> 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-technical mailing list