Compiler Error
Greg Dickie
greg at discreet.com
Mon Jan 8 18:26:30 GMT 2001
On redhat 7.0 you should probably set CC to kgcc before doing the
configure/build.
Greg
On 08-Jan-01 Maulik Desai wrote:
> Gustavo,
>
> I ran across this problem as well when compiling Samba TNG on a RH7.0 box.
> (did not see it with RH6.0 gcc)
>
> FYI, this problem has been fixed in the HEAD branch:
>
> $ cvs diff -r1.10 -r1.11 tdbutil.c
> Index: tdbutil.c
> ===================================================================
> RCS file: /cvsroot/samba/source/tdb/tdbutil.c,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -r1.10 -r1.11
> 143c143
> < w = va_arg(ap, uint16);
> ---
>> w = (uint16)va_arg(ap, int);
>
>
> -Maulik
>
>> -----Original Message-----
>> From: root [mailto:gustavok at cetuc.puc-rio.br]
>> Sent: Monday, January 08, 2001 9:56 AM
>> To: samba-technical at samba.org
>> Subject: Compiler Error
>>
>>
>> Hi,
>>
>> I am Network Administrator of Center of Telecommunicatios
>> from PUC/RJ -
>> Brazil. I have a Server Machine with RedHat 7.0 (Kernel
>> 2.4.10) and try
>> to install the SAMBA TNG 2.6 version. I execute ./configure command
>> with no problems, but when i execute "make" command the following
>> message appear:
>>
>> "tdb/tdbutil.c: In Function `tdb_pack' :
>> tdb/tdbutil.c / :119:`short unsigned int' is promoted to `int' when
>> password trhough `...'
>> tdb/tdbutil.c/ :119: (so you should pass `int' not `short unsigned
>> int' to ' va_arg)
>> make: *** [tdb/tdbutil.lo] Error 1 "
>> and i can't continue the installation. Please, someone help to me.
>>
>> Thanks for Attention,
>> Gustavo Klaus Ruziscka.
>>
>> P.S: Sorry, for poor english.
>>
>>
>>
>>
---------------------------------------------------------------------
Greg Dickie
just a guy
greg at discreet.com
More information about the samba-technical
mailing list