pb to build kdelibs

Thiago Macieira thiago at kde.org
Mon Jan 30 15:32:13 CET 2006


Laurent Montel wrote:
>Hi,
>I have this problem when I try to use cmake:
>lmontel/kde-4.0/kde4/kdelibs-cmake/kdelibs/dcop/dcopclient.cpp
>/usr/include/stdlib.h:675: error: declaration of C function 'int
>unsetenv(const char*)' conflicts with
>/home/lmontel/kde-4.0/kde4/kdelibs-cmake/kdelibs/config.h:460: error:
> previous declaration 'void unsetenv(const char*)' here
>/home/lmontel/kde-4.0/kde4/kdelibs-cmake/kdelibs/config.h:460: error:
>declaration of C function 'void unsetenv(const char*)' conflicts with
>/usr/include/stdlib.h:675: error: previous declaration 'int
> unsetenv(const char*)' here
>
>Do you have an idea ?

config.h is declaring it returning void, which is wrong. It should be int.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060130/28926d0f/attachment-0001.pgp 


More information about the Kde-buildsystem mailing list