[patch] problem with kdebase and HAVE_STRUCT_UCRED variable

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Mar 22 19:01:19 CET 2007


David Faure schrieb:
> On Thursday 22 March 2007, fabien cordier wrote:
>> Hello, i ad a problem while compiling kdesu.
>> It says that "struct ucred"  was redefined. Its because there is a
>> redefiniton in  secure.h like that :
>>
>> #ifndef HAVE_STRUCT_UCRED
>>
>> // `struct ucred' is not defined in glibc 2.0.
>>
>> struct ucred {
>>     pid_t     pid;
>>     uid_t     uid;
>>     gid_t     gid;
>> };
>>
>> #endif // HAVE_STRUCT_UCRED
>>
>> unfortenuately, there was an error in the  ConfigureChecks.cmake because
>> HAVE_STRUCT_UCRED was used to check if the struct already exists. 
> Yes,
>> Because of the renaming of cmake, HAVE_STRUCT_UCRED were never devined.
> Which renaming?
> 
No, he's right
check_type_size(type res) sets HAVE_res on success.

Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070322/6b99a9de/attachment.pgp 


More information about the Kde-buildsystem mailing list