[CMake] cmake failing with "The executable file format is Unknown"

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jan 15 19:02:43 EST 2008


On Tuesday 15 January 2008, Miguel A. Figueroa-Villanueva wrote:
> Hello,
>
> I'm getting the following error when using CMakeSetup or QtDialog to
> create "Unix Makefiles" for cygwin:
>
> The executable file format is Unknown
> ...
> CMake Error: Unable to link function recv
>
> Below is the complete output of the configuration process. I'm using a
> cvs build (from Today). Built with visual studio 8 and I'm invoking
> that cmake gui from a cygwin shell to create a "Eclipse CDT 4 - Unix
> Makefiles" configuration. I can generate Visual Studio 8 projects
> fine.
>
> I guess it probably has to due with some windows/cygwin environment
> quirk, but I was hoping someone can point me in the right direction as
> to how to debug/fix the problem.
>
> Thanks,
> --Miguel
>
> The C compiler identification is GNU
> The executable file format is Unknown

I'll check tomorrow what's wrong with that.

...
> Check size of curl_off_t
> Check size of curl_off_t - done
> Performing Test curl_cv_recv
> Performing Test curl_cv_recv - Failed
> CMake Error: Unable to link function recv

... but this here is the actual error, and it is unrelated to the one above.

Bye
Alex



More information about the CMake mailing list