Hello, I am trying to setup Kannel with --with-gsoap but kept getting the error below. I tried both on 1.4.4 stable and the latest checkout on svn still same result.
./configure --with-gsoap runs ok but make always generate error below. Please advise. ### ./configure ok ###### Configuring for gSOAP support ... checking whether to compile with SOAP support... /usr/local/share/gsoap checking for wsdl2h... /usr/local/bin/wsdl2h checking for soapcpp2... /usr/local/bin/soapcpp2 checking gSOAP version... 2.8.32 ###################### ########## make error ############# gw/smsc/smsc_soap_parlayx.c:1130: warning: passing argument 1 of ‘octstr_create_real’ from incompatible pointer type ./gwlib/octstr.h:123: note: expected ‘const char *’ but argument is of type ‘struct StateTable *’ gw/smsc/smsc_soap_parlayx.c:1136: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1136: error: request for member ‘deliveryStatus’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1136: error: ‘struct StateTable’ has no member named ‘deliveryStatus’ gw/smsc/smsc_soap_parlayx.c:1136: warning: assignment makes integer from pointer without a cast gw/smsc/smsc_soap_parlayx.c:1142: warning: comparison between pointer and integer gw/smsc/smsc_soap_parlayx.c: At top level: gw/smsc/smsc_soap_parlayx.c:1186: warning: ‘struct pxSmsNotification__notifySmsReceptionResponse’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1186: warning: ‘struct pxSmsNotification__notifySmsReception’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c: In function ‘__px2__notifySmsReception’: gw/smsc/smsc_soap_parlayx.c:1195: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1195: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1195: error: ‘struct StateTable’ has no member named ‘senderAddress’ gw/smsc/smsc_soap_parlayx.c:1195: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1195: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1195: error: ‘struct StateTable’ has no member named ‘senderAddress’ gw/smsc/smsc_soap_parlayx.c:1195: warning: passing argument 1 of ‘octstr_create_real’ from incompatible pointer type ./gwlib/octstr.h:123: note: expected ‘const char *’ but argument is of type ‘struct StateTable *’ gw/smsc/smsc_soap_parlayx.c:1196: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1196: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1196: error: ‘struct StateTable’ has no member named ‘smsServiceActivationNumber’ gw/smsc/smsc_soap_parlayx.c:1196: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1196: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1196: error: ‘struct StateTable’ has no member named ‘smsServiceActivationNumber’ gw/smsc/smsc_soap_parlayx.c:1196: warning: passing argument 1 of ‘octstr_create_real’ from incompatible pointer type ./gwlib/octstr.h:123: note: expected ‘const char *’ but argument is of type ‘struct StateTable *’ gw/smsc/smsc_soap_parlayx.c:1197: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1197: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1197: error: ‘struct StateTable’ has no member named ‘message’ gw/smsc/smsc_soap_parlayx.c:1197: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1197: error: request for member ‘message’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1197: error: ‘struct StateTable’ has no member named ‘message’ gw/smsc/smsc_soap_parlayx.c:1197: warning: passing argument 1 of ‘octstr_create_real’ from incompatible pointer type ./gwlib/octstr.h:123: note: expected ‘const char *’ but argument is of type ‘struct StateTable *’ gw/smsc/smsc_soap_parlayx.c:1198: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1198: error: request for member ‘correlator’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1198: error: dereferencing pointer to incomplete type gw/smsc/smsc_soap_parlayx.c:1198: error: request for member ‘correlator’ in something not a structure or union gw/smsc/smsc_soap_parlayx.c:1198: warning: passing argument 1 of ‘octstr_create_real’ from incompatible pointer type ./gwlib/octstr.h:123: note: expected ‘const char *’ but argument is of type ‘struct StateTable *’ gw/smsc/smsc_soap_parlayx.c: At top level: gw/smsc/smsc_soap_parlayx.c:1224: warning: ‘struct pxSmsSend__sendSmsLogoResponse’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1224: warning: ‘struct pxSmsSend__sendSmsLogo’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1235: warning: ‘struct pxSmsSend__sendSmsRingtoneResponse’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1235: warning: ‘struct pxSmsSend__sendSmsRingtone’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1246: warning: ‘struct pxSmsSend__getSmsDeliveryStatusResponse’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1246: warning: ‘struct pxSmsSend__getSmsDeliveryStatus’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1257: warning: ‘struct pxSmsReceive__getReceivedSmsResponse’ declared inside parameter list gw/smsc/smsc_soap_parlayx.c:1257: warning: ‘struct pxSmsReceive__getReceivedSms’ declared inside parameter list make: *** [gw/smsc/smsc_soap_parlayx.o] Error 1 #######################