<html><body>
<p> </p>
<blockquote>
<div class="message_header"><span>Mi Dez 23 2009 16:52:43 EST</span> <span>von "Mahesh" <Maheshkumar.Bg@Sun.COM> </span> <span class="message_subject">Betreff: [Freeassociation-devel] Build Issue in VC++ with latest</span></div>
<div class="message_content"><tt>Hi,</tt><br /> <tt></tt><br /> <tt>Here is the latest build log from VC++ with latest revision 988.</tt><br /> <tt></tt><br /> <tt>- error C2143, looks like because except in vsnprintfh all the other </tt><br /> <tt>places standard C definitions of variable arguments</tt><br /> <tt>macros (from stdargs.h) is being used. In non-standard C as in </tt><br /> <tt>current VC++ project settings which uses C++ compiler</tt><br /> <tt>causes inconsistency with vsnprintf.h using varargs.h style macros, </tt><br /> <tt>while other used stdargs.h style macros.</tt><br /> <tt></tt><br /> <tt>- error C2061 : #include <stdlib.h> missing</tt><br /> <tt></tt><br /> <tt>- "error C2065: 'PACKAGE_DATA_DIR' : undeclared identifier" still remains.</tt><br /> <tt></tt><br /> <tt>==========================================</tt><br /> <tt>Deleting intermediate files and output files for project 'libical - </tt><br /> <tt>Win32 Debug'.</tt><br /> <tt>--------------------Configuration: libical - Win32 Debug--------------------</tt><br /> <tt>Performing Custom Build Step on icalderivedproperty.h.in</tt><br /> <tt>Performing Custom Build Step on icalderivedparameter.h.in</tt><br /> <tt>Performing Custom Build Step on icalderivedvalue.h.in</tt><br /> <tt>Performing Custom Build Step on icalversion.h.in</tt><br /> <tt>Performing Custom Build Step on .\ical.h</tt><br /> <tt>Performing Custom Build Step on icalrestriction.c.in</tt><br /> <tt>Performing Custom Build Step on icalderivedvalue.c.in</tt><br /> <tt>Performing Custom Build Step on icalderivedpropertyc.in</tt><br /> <tt>Performing Custom Build Step on icalderivedparameterc.in</tt><br /> <tt>Compiling...</tt><br /> <tt>caldate.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(75) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(79) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(80) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(81) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'long ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(95) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(97) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\caldate.c(99) : </tt><br /> <tt>warning C4244: '=' : conversion from 'double ' to 'int ', possible loss </tt><br /> <tt>of data</tt><br /> <tt>icalarray.c</tt><br /> <tt>icalattach.c</tt><br /> <tt>icalcomponent.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalcomponent.c(57) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icalderivedparameter.c</tt><br /> <tt>icalderivedproperty.c</tt><br /> <tt>icalderivedvalue.c</tt><br /> <tt>icalduration.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalduration.c(52) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icalenums.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalenums.c(49) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icalerror.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalerror.c(120) </tt><br /> <tt>: warning C4273: 'icalerror_errors_are_fatal' : inconsistent dll </tt><br /> <tt>linkage. dllexport assumed.</tt><br /> <tt>icallangbind.c</tt><br /> <tt>icalmemory.c</tt><br /> <tt>icalmime.c</tt><br /> <tt>icalparameter.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalparameter.c(54) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icalparser.c</tt><br /> <tt>icalperiod.c</tt><br /> <tt>icalproperty.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalproperty.c(808) </tt><br /> <tt>: warning C4101: 'name' : unreferenced local variable</tt><br /> <tt>icalrecur.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\vsnprintf.h(13) </tt><br /> <tt>: error C2061: syntax error : identifier 'n'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\vsnprintf.h(13) </tt><br /> <tt>: error C2059: syntax error : ';'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\vsnprintf.h(25) </tt><br /> <tt>: error C2061: syntax error : identifier 'n'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\vsnprintf.h(25) </tt><br /> <tt>: error C2059: syntax error : ';'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalrecur.c(153) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icalrestriction.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icalrestriction.c(43) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>icaltime.c</tt><br /> <tt>icaltimezone.c</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(75) </tt><br /> <tt>: error C2143: syntax error : missing '{' before 'PCH creation point'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1410) </tt><br /> <tt>: warning C4018: '<' : signed/unsigned mismatch</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1772) </tt><br /> <tt>: warning C4018: '<' : signed/unsigned mismatch</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1974) </tt><br /> <tt>: error C2065: 'PACKAGE_DATA_DIR' : undeclared identifier</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1974) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1974) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1986) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(1986) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2031) </tt><br /> <tt>: warning C4047: 'function' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2031) </tt><br /> <tt>: warning C4024: 'strcpy' : different types for formal and actual </tt><br /> <tt>parameter 2</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2031) </tt><br /> <tt>: error C2143: syntax error : missing ')' before 'string'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2031) </tt><br /> <tt>: error C2059: syntax error : ')'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2044) </tt><br /> <tt>: error C2143: syntax error : missing ';' before 'string'</tt><br /> <tt>e:\svnlibical\freeassociation\trunk\libical\src\libical\icaltimezone.c(2044) </tt><br /> <tt>: warning C4047: 'return' : 'const char *' differs in levels of </tt><br /> <tt>indirection from 'int '</tt><br /> <tt>icaltypes.c</tt><br /> <tt>icalvalue.c</tt><br /> <tt>pvl.c</tt><br /> <tt>sspm.c</tt><br /> <tt>Error executing cl.exe.</tt><br /> <tt></tt><br /> <tt>libical.lib - 17 error(s), 16 warning(s)</tt><br /> <tt>The following environment variables were not found</tt><br /> <tt>$(Id|Locker)</tt><br /> <tt>========================================</tt><br /> <tt></tt><br /> <tt></tt><br /> <tt>Thanks,</tt><br /> <tt>Mahesh</tt><br /> <tt></tt><br /> <tt>------------------------------------------------------------------------------</tt><br /> <tt>This SFNet email is sponsored by the Verizon Developer Community</tt><br /> <tt>Take advantage of Verizon's best-in-class app development support</tt><br /> <tt>A streamlined, 14 day to market process makes app distribution fast and easy</tt><br /> <tt>Join now and get one step closer to millions of Verizon customers</tt><br /> <tt><a href="http://p.sf.net/sfu/verizon-dev2dev" target="webcit01">http://p.sf.net/sfu/verizon-dev2dev</a> </tt><br /> <tt>_______________________________________________</tt><br /> <tt>Freeassociation-devel mailing list</tt><br /> <tt>Freeassociation-devel@lists.sourceforge.net</tt><br /> <tt>https://lists.sourceforge.net/lists/listinfo/freeassociation-devel</tt><br /> <br /></div>
</blockquote>
<p>ok, since getting the v* stuff running most probably is a case of try and error, please send a patch how to correct this.</p>
<p> </p>
<p>if you re-bootstrapped libcitadel (re-created the auto-foo with the bootstrap script) it should add it to the config.h.in file, which in term should create config.h file.</p>
<p>If you can't do this, do it by hand, its the directory where the timezone files are to be installed.</p>
<p> </p>
<p>- dothebart</p>
</body></html>