[Freeassociation-devel] libical 0.44 build failure on VC++

MaheshK maheshbg at sun.com
Mon Dec 21 16:13:09 PST 2009


Hello,

I am trying to get latest libical 0.44 build done on Windows and it is 
failing with the following log.
I can fix them by modifying the code appropriately, before that wanted 
to check is this because
of some configuration issue. Any help/ suggestions is highly appreciated.

Here is the build logs ( Iam using VC++6 on WinXP)
Note: Issues to be resolved apart from the errors are related to  
warning C4013:

===============
--------------------Configuration: libical - Win32 Debug--------------------
Performing Custom Build Step on icalderivedproperty.h.in
Performing Custom Build Step on icalderivedparameter.h.in
Performing Custom Build Step on icalderivedvalue.h.in
Performing Custom Build Step on icalversion.h.in
Performing Custom Build Step on .\ical.h
Performing Custom Build Step on icalrestriction.c.in
Performing Custom Build Step on icalderivedvalue.c.in
Performing Custom Build Step on icalderivedproperty.c.in
Performing Custom Build Step on icalderivedparameter.c.in
Compiling...
caldate.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(75) : 
warning C4244: '=' : conversion from 'double ' to 'long ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(79) : 
warning C4244: '=' : conversion from 'double ' to 'long ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(80) : 
warning C4244: '=' : conversion from 'double ' to 'long ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(81) : 
warning C4244: '=' : conversion from 'double ' to 'long ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(95) : 
warning C4244: '=' : conversion from 'double ' to 'int ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(97) : 
warning C4244: '=' : conversion from 'double ' to 'int ', possible loss 
of data
e:\docs\libical\libical-0.44\libical-0.44\src\libical\caldate.c(99) : 
warning C4244: '=' : conversion from 'double ' to 'int ', possible loss 
of data
icalarray.c
icalattach.c
icalcomponent.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalcomponent.c(1340) 
: warning C4013: 'strncasecmp' undefined; assuming extern returning int
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalcomponent.c(2285) 
: warning C4013: 'snprintf' undefined; assuming extern returning int
icalderivedparameter.c
icalderivedproperty.c
icalderivedvalue.c
icalduration.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalduration.c(193) 
: warning C4013: 'snprintf' undefined; assuming extern returning int
icalenums.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalenums.c(125) : 
warning C4013: 'snprintf' undefined; assuming extern returning int
icalerror.c
icallangbind.c
icalmemory.c
icalmime.c
icalparameter.c
icalparser.c
icalperiod.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(133) 
: warning C4090: 'function' : different 'const' qualifiers
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(133) 
: warning C4022: 'icalmemory_free_buffer' : pointer mismatch for actual 
parameter 1
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(144) 
: warning C4090: 'function' : different 'const' qualifiers
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalperiod.c(144) 
: warning C4022: 'icalmemory_free_buffer' : pointer mismatch for actual 
parameter 1
icalproperty.c
icalrecur.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(559) : 
warning C4013: 'snprintf' undefined; assuming extern returning int
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1598) 
: error C2143: syntax error : missing ';' before 'type'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1599) 
: error C2143: syntax error : missing ';' before 'type'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1608) 
: error C2065: 'set_pos_total' : undeclared identifier
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1610) 
: error C2065: 'set_pos_counter' : undeclared identifier
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1616) 
: error C2143: syntax error : missing ';' before 'type'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1627) 
: error C2065: 'found' : undeclared identifier
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1931) 
: error C2143: syntax error : missing ';' before 'type'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrecur.c(1950) 
: error C2065: 'valid' : undeclared identifier
icalrestriction.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalrestriction.c(380) 
: warning C4013: 'snprintf' undefined; assuming extern returning int
icaltime.c
icaltimezone.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(347) 
: warning C4013: 'strcasecmp' undefined; assuming extern returning int
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1400) 
: warning C4018: '<' : signed/unsigned mismatch
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1683) 
: warning C4013: 'snprintf' undefined; assuming extern returning int
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1762) 
: warning C4018: '<' : signed/unsigned mismatch
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) 
: error C2065: 'PACKAGE_DATA_DIR' : undeclared identifier
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) 
: error C2143: syntax error : missing ';' before 'string'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1964) 
: warning C4047: 'return' : 'const char *' differs in levels of 
indirection from 'int '
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1976) 
: error C2143: syntax error : missing ';' before 'string'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(1976) 
: warning C4047: 'return' : 'const char *' differs in levels of 
indirection from 'int '
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) 
: warning C4047: 'function' : 'const char *' differs in levels of 
indirection from 'int '
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) 
: warning C4024: 'strcpy' : different types for formal and actual 
parameter 2
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) 
: error C2143: syntax error : missing ')' before 'string'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2021) 
: error C2059: syntax error : ')'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2028) 
: warning C4013: 'S_ISDIR' undefined; assuming extern returning int
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2034) 
: error C2143: syntax error : missing ';' before 'string'
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icaltimezone.c(2034) 
: warning C4047: 'return' : 'const char *' differs in levels of 
indirection from 'int '
icaltypes.c
icalvalue.c
e:\docs\libical\libical-0.44\libical-0.44\src\libical\icalvalue.c(361) : 
warning C4244: '=' : conversion from 'double ' to 'float ', possible 
loss of data
pvl.c
sspm.c
Error executing cl.exe.

libical.lib - 14 error(s), 28 warning(s)
The following environment variables were not found
$(Id|Locker)
============================



Thanks & Regards,
Mahesh




More information about the libical-devel mailing list