Re: ccRTP compilation error with Visual C++ 6.0
David Sugar <[email protected]>
| Newsgroups | gmane.comp.gnu.ccrtp.devel |
|---|---|
| Message-ID | <[email protected]> |
You must have and use the newer Microsoft Platform SDK with Visual Studio 6.0, because they reversed the order in which windows headers must be included, and including them in the wrong order breaks things, whether in the older or newer one. On the other hand, you also get ipv6 support with the newer Platformsdk. You cannot use a version later than Febuary 2003, however, as newer ones after that are not backward compatible with VS6. You could also tweak the w32/config.h in Common C++ to build for older platform sdk's... Alex Ivanov wrote: > Hi all! > > Please excuse my possible ignorance as I'm a new bee here. > > My problem in trying to compile ccRTP 1.3.7 with Visual C++ 6.0 for Windows > 2000 Server consists of multiple complaints about "undeclared > identifier 'SOCKET'" in the standard winsock includes like mswsock.h and > winsock2.h. In total there are 2143 errors and 567 warnings. > > Please help! > > For the sake of the clarity I provide a partial detailed list of compiler > complaints below > > --------------------Configuration: ccgnu2 - Win32 Debug-------------------- > Compiling... > dir.cpp > c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : error > C2065: 'SOCKET' : undeclared identifier > c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : warning > C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\mswsock.h(73) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\mswsock.h(89) : error > C2146: syntax error : missing ')' before identifier 'hSocket' > c:\program files\microsoft visual studio\vc98\include\mswsock.h(89) : warning > C4229: anachronism used : modifiers on data are ignored > ... > ... > ... > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2492) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2497) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2497) : > warning C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2497) : error > C2491: 'WSADuplicateSocketW' : definition of dllimport data not allowed > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2500) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2535) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2535) : > warning C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2535) : error > C2491: 'WSAEnumNetworkEvents' : definition of dllimport data not allowed > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2538) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2602) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2602) : > warning C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2602) : error > C2491: 'WSAEventSelect' : definition of dllimport data not allowed > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2605) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2623) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2623) : > warning C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2623) : error > C2491: 'WSAGetOverlappedResult' : definition of dllimport data not allowed > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2628) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2648) : error > C2146: syntax error : missing ')' before identifier 's' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2648) : > warning C4229: anachronism used : modifiers on data are ignored > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2648) : error > C2491: 'WSAGetQOSByName' : definition of dllimport data not allowed > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2651) : error > C2059: syntax error : ')' > c:\program files\microsoft visual studio\vc98\include\winsock2.h(2651) : fatal > error C1003: error count exceeds 100; stopping compilation > Error executing cl.exe. > > ccext2d.dll - 2143 error(s), 567 warning(s) > > > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
dyfet.vcf
(text/x-vcard, 198 B)
begin:vcard fn:David Sugar n:Sugar;David org:GNU Telephony email;internet:[email protected] tel;work:+1 201 215 2609 x-mozilla-html:FALSE url:http://www.gnutelephony.org version:2.1 end:vcard