Error compiling cmake

Peter Kümmel syntheticpp at gmx.net
Fri Feb 10 15:24:42 CET 2006


William A. Hoffman wrote:
> At 06:40 AM 2/10/2006, you wrote:
>> lo' there, I'm having a bit of a problem getting cmake to compile. It 
>> bootstrapped fine but when I run gmake (or make, doesn't matter). The compile 
>> dies with this error message:
>>
>> Scanning dependencies of target cmcurl
>> Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/base64.o
>> In file included 
>>from /home/kde4/cmake-2.3.2-20060209/Utilities/cmcurl/curl/stdcheaders.h:26,
>>                 
>>from /home/kde4/cmake-2.3.2-20060209/Utilities/cmcurl/setup.h:129,
>>                 
>>from /home/kde4/cmake-2.3.2-20060209/Utilities/cmcurl/base64.c:35:
>> /usr/include/sys/types.h:110: error: two or more data types in declaration 
>> specifiers

> What OS is this, looks like a try compile failed for some reason?
> Can you send me CMakeFiles/CMakeError.log and CMakeFiles/CMakeOutput.log?
> 
> -Bill
> 

I also get this error on opensuse 10.0 with gcc 4.0.

The error tracks down to cmcurl/setup.h;

#ifndef STDC_HEADERS /* no standard C headers! */
#include <curl/stdcheaders.h>
#endif

Are there really no standard C headers with gcc?

Peter



More information about the Kde-buildsystem mailing list