chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Error compiling chicken 2.2 on Windows


From: felix winkelmann
Subject: Re: [Chicken-users] Error compiling chicken 2.2 on Windows
Date: Sat, 15 Oct 2005 12:51:44 +0200

Patch applied - thanks, Andrey.


cheers,
felix

On 10/15/05, Andrey Fomichev <address@hidden> wrote:
> Hello!
> I've faced with the following problem building Chicken 2.2.
> My platform: Windows 2000 Professional
> Compiler: Visual C++ from .Net 2002
>
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
> Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.
>
> Log:
>
> ...
>         cl /nologo /O2 /DC_DEFAULT_TARGET_STACK_SIZE=300000
> /DC_NO_PIC_NO_DLL /DHAVE_LOADLIBRARY /DHAVE_GETPROCADDRESS /DHAVE_WINDOWS_H
> /MT /c tcp.c /DPIC
> tcp.c
> tcp.c(57) : warning C4133: 'function' : incompatible types - from 'int *' to
> 'char *'
> tcp.c(57) : error C2065: 'socklen_t' : undeclared identifier
> tcp.c(57) : error C2059: syntax error : ')'
> tcp.c(57) : error C2059: syntax error : 'while'
> tcp.c(57) : error C2059: syntax error : 'do'
> tcp.c(57) : error C2059: syntax error : 'while'
> tcp.c(58) : error C2143: syntax error : missing '{' before ':'
> tcp.c(58) : error C2059: syntax error : ':'
> tcp.c(61) : error C2059: syntax error : '}'
> tcp.c(191) : error C2059: syntax error : ')'
> tcp.c(191) : error C2059: syntax error : 'while'
> tcp.c(191) : error C2059: syntax error : 'else'
> tcp.c(191) : error C2059: syntax error : 'while'
> tcp.c(192) : error C2143: syntax error : missing '{' before ':'
> tcp.c(192) : error C2059: syntax error : ':'
> tcp.c(195) : error C2059: syntax error : '}'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
>
> I took a look at 'getsockopt' description in MSDN and defined
> a macros
>
> #define socklen_t int
>
> in the beginning of the file tcp.c. That helped.
> Best regards,
> Andrey
>
>
> =======================================
> Andrey Fomichev (fomichev at ispras.ru)
> Sedna Team (http://modis.ispras.ru)
> =======================================
>
>
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]