From: Kumar G <ku...@in...> - 2006-10-05 07:12:58
|
Hi, =0D I am new to opensysnc. I am trying to build syncml-plugin (libopensync-plugin-syncml-0.19.tar.gz <http://www.opensync.org/attachment/wiki/download/libopensync-plugin-syn cml-0.19.tar.gz?rev=3D&format=3Draw> ). While building I am getting the following error =0D syncml_plugin.c: In function 'client_connect': syncml_plugin.c:1014: error: incompatible type for argument 6 of 'smlNotificationNew' cc1: warnings being treated as errors =0D After investigation syncml library(libsyncml-0.4.0) source code, I found that the definition of smlNotificationNew() (In libsyncml-0.4.0\libsyncml\ sml_notification.c ) has only 7 arguments =0D SmlNotification *smlNotificationNew(SmlNotificationVersion version, =0D SmlNotificationUIMode mode, =0D SmlNotificationInitiator init, =0D unsigned int sessionID, const char *identifier, =0D SmlMimeType type, =0D SmlError **error)=0D =0D While synncml_plugin.c called this method (at line#1014) with 8 parameters, =0D /* Create the SAN */ san =3D smlNotificationNew(env->version, =0D SML_SAN_UIMODE_UNSPECIFIED, =0D SML_SAN_INITIATOR_USER, 1, =0D env->identifier, "/", env->useWbxml ? SML_MIMETYPE_WBXML : SML_MIMETYPE_XML, &error); =0D Will appreciate if anyone could help me understanding why the 6th parameter is ("/") used for? =0D Regards, Kumar **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** |