> Hey, what's the problem here
> i'm trying to complie the latest CVS snapshot downloaded from kannel
> http://www.kannel.3glab.org/download/kannel-snapshot.tar.gz
>
> I'm compiling ot on cygwin hosted on win2k server. I have libxml2-2.4.9
> installed
> I get this:
>
$ make install
gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2/libxml
-I/usr/local/i
nclude/libxml2 -I/include -o gw/smsbox_req.o -c gw/smsbox_req.c
In file included from gw/smsbox_req.c:18:
gw/smsbox_req.h:34: parse error before `Config'
gw/smsbox_req.h:38: parse error before `)'
gw/smsbox_req.c:55: parse error before `*'
gw/smsbox_req.c:55: warning: data definition has no type or storage class
gw/smsbox_req.c:68: warning: static declaration for `roundup_div' follows
non-st
atic
gw/smsbox_req.c: In function `obey_request':
gw/smsbox_req.c:92: `smart_sms' undeclared (first use in this function)
gw/smsbox_req.c:92: (Each undeclared identifier is reported only once
gw/smsbox_req.c:92: for each function it appears in.)
gw/smsbox_req.c:94: warning: assignment from incompatible pointer type
gw/smsbox_req.c:102: structure has no member named `smart_sms'
gw/smsbox_req.c:103: structure has no member named `smart_sms'
gw/smsbox_req.c:113: structure has no member named `smart_sms'
gw/smsbox_req.c:114: structure has no member named `smart_sms'
gw/smsbox_req.c:118: `TRANSTYPE_URL' undeclared (first use in this function)
gw/smsbox_req.c:124: structure has no member named `smart_sms'
gw/smsbox_req.c:125: structure has no member named `smart_sms'
gw/smsbox_req.c:147: warning: assignment makes pointer from integer without
a ca
st
gw/smsbox_req.c:179: structure has no member named `smart_sms'
gw/smsbox_req.c:180: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `do_split_send':
gw/smsbox_req.c:245: structure has no member named `smart_sms'
gw/smsbox_req.c:250: structure has no member named `smart_sms'
gw/smsbox_req.c:252: structure has no member named `smart_sms'
gw/smsbox_req.c:257: warning: assignment from incompatible pointer type
gw/smsbox_req.c:261: warning: assignment from incompatible pointer type
gw/smsbox_req.c:267: structure has no member named `smart_sms'
gw/smsbox_req.c:275: structure has no member named `smart_sms'
gw/smsbox_req.c:312: structure has no member named `smart_sms'
gw/smsbox_req.c:313: structure has no member named `smart_sms'
gw/smsbox_req.c:315: structure has no member named `smart_sms'
gw/smsbox_req.c:318: structure has no member named `smart_sms'
gw/smsbox_req.c:321: structure has no member named `smart_sms'
gw/smsbox_req.c:327: structure has no member named `smart_sms'
gw/smsbox_req.c:328: structure has no member named `smart_sms'
gw/smsbox_req.c:329: structure has no member named `smart_sms'
gw/smsbox_req.c:330: structure has no member named `smart_sms'
gw/smsbox_req.c:331: structure has no member named `smart_sms'
gw/smsbox_req.c:332: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `send_sms':
gw/smsbox_req.c:367: warning: assignment from incompatible pointer type
gw/smsbox_req.c:368: warning: assignment from incompatible pointer type
gw/smsbox_req.c:381: structure has no member named `smart_sms'
gw/smsbox_req.c:387: structure has no member named `smart_sms'
gw/smsbox_req.c:391: structure has no member named `smart_sms'
gw/smsbox_req.c:392: structure has no member named `smart_sms'
gw/smsbox_req.c:398: structure has no member named `smart_sms'
gw/smsbox_req.c:400: structure has no member named `smart_sms'
gw/smsbox_req.c:404: structure has no member named `smart_sms'
gw/smsbox_req.c:408: structure has no member named `smart_sms'
gw/smsbox_req.c:413: structure has no member named `smart_sms'
gw/smsbox_req.c:414: structure has no member named `smart_sms'
gw/smsbox_req.c:417: structure has no member named `smart_sms'
gw/smsbox_req.c:418: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `send_message':
gw/smsbox_req.c:448: `smart_sms' undeclared (first use in this function)
gw/smsbox_req.c:460: structure has no member named `smart_sms'
gw/smsbox_req.c:461: structure has no member named `smart_sms'
gw/smsbox_req.c:465: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `authorise_user':
gw/smsbox_req.c:484: warning: passing arg 2 of `urltrans_find_username' from
inc
ompatible pointer type
gw/smsbox_req.c:486: warning: passing arg 2 of `urltrans_find_username' from
inc
ompatible pointer type
gw/smsbox_req.c:491: warning: passing arg 2 of `strcmp' from incompatible
pointe
r type
gw/smsbox_req.c: At top level:
gw/smsbox_req.c:517: parse error before `Config'
gw/smsbox_req.c:521: parse error before `)'
gw/smsbox_req.c:524: conflicting types for `cfg'
gw/smsbox_req.c:55: previous declaration of `cfg'
gw/smsbox_req.c:524: `config' undeclared here (not in a function)
gw/smsbox_req.c:524: warning: data definition has no type or storage class
gw/smsbox_req.c:525: redefinition of `sms_max_length'
gw/smsbox_req.c:50: `sms_max_length' previously defined here
gw/smsbox_req.c:525: `sms_max' undeclared here (not in a function)
gw/smsbox_req.c:525: warning: data definition has no type or storage class
gw/smsbox_req.c:526: conflicting types for `sender'
gw/smsbox_req.c:54: previous declaration of `sender'
gw/smsbox_req.c:526: `send' undeclared here (not in a function)
gw/smsbox_req.c:526: warning: data definition has no type or storage class
gw/smsbox_req.c:527: parse error before `if'
gw/smsbox_req.c: In function `smsbox_req_thread':
gw/smsbox_req.c:552: structure has no member named `smart_sms'
gw/smsbox_req.c:553: structure has no member named `smart_sms'
gw/smsbox_req.c:565: structure has no member named `smart_sms'
gw/smsbox_req.c:565: structure has no member named `smart_sms'
gw/smsbox_req.c:567: structure has no member named `smart_sms'
gw/smsbox_req.c:572: structure has no member named `smart_sms'
gw/smsbox_req.c:573: structure has no member named `smart_sms'
gw/smsbox_req.c:573: too few arguments to function `urltrans_find'
gw/smsbox_req.c:577: structure has no member named `smart_sms'
gw/smsbox_req.c:578: structure has no member named `smart_sms'
gw/smsbox_req.c:579: structure has no member named `smart_sms'
gw/smsbox_req.c:586: structure has no member named `smart_sms'
gw/smsbox_req.c:588: warning: assignment from incompatible pointer type
gw/smsbox_req.c:590: structure has no member named `smart_sms'
gw/smsbox_req.c:592: structure has no member named `smart_sms'
gw/smsbox_req.c:594: structure has no member named `smart_sms'
gw/smsbox_req.c:595: structure has no member named `smart_sms'
gw/smsbox_req.c:595: structure has no member named `smart_sms'
gw/smsbox_req.c:596: structure has no member named `smart_sms'
gw/smsbox_req.c:598: structure has no member named `smart_sms'
gw/smsbox_req.c:599: structure has no member named `smart_sms'
gw/smsbox_req.c:612: structure has no member named `smart_sms'
gw/smsbox_req.c:614: structure has no member named `smart_sms'
gw/smsbox_req.c:615: structure has no member named `smart_sms'
gw/smsbox_req.c:616: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `smsbox_req_sendsms':
gw/smsbox_req.c:666: warning: passing arg 1 of `octstr_create_real' from
incompa
tible pointer type
gw/smsbox_req.c:685: `smart_sms' undeclared (first use in this function)
gw/smsbox_req.c:687: structure has no member named `smart_sms'
gw/smsbox_req.c:688: structure has no member named `smart_sms'
gw/smsbox_req.c:689: structure has no member named `smart_sms'
gw/smsbox_req.c:690: structure has no member named `smart_sms'
gw/smsbox_req.c:696: structure has no member named `smart_sms'
gw/smsbox_req.c:696: warning: passing arg 1 of `octstr_create_real' from
incompa
tible pointer type
gw/smsbox_req.c:701: structure has no member named `smart_sms'
gw/smsbox_req.c:703: structure has no member named `smart_sms'
gw/smsbox_req.c:703: warning: passing arg 1 of `octstr_create_real' from
incompa
tible pointer type
gw/smsbox_req.c:705: structure has no member named `smart_sms'
gw/smsbox_req.c:709: structure has no member named `smart_sms'
gw/smsbox_req.c:710: structure has no member named `smart_sms'
gw/smsbox_req.c:712: structure has no member named `smart_sms'
gw/smsbox_req.c:713: structure has no member named `smart_sms'
gw/smsbox_req.c:714: structure has no member named `smart_sms'
gw/smsbox_req.c:717: structure has no member named `smart_sms'
gw/smsbox_req.c: In function `smsbox_req_sendota':
gw/smsbox_req.c:754: `ConfigGroup' undeclared (first use in this function)
gw/smsbox_req.c:754: `grp' undeclared (first use in this function)
gw/smsbox_req.c:755: parse error before `char'
gw/smsbox_req.c:763: `t' undeclared (first use in this function)
gw/smsbox_req.c:768: `phonenumber' undeclared (first use in this function)
gw/smsbox_req.c:776: `p' undeclared (first use in this function)
gw/smsbox_req.c:809: `msg' undeclared (first use in this function)
gw/smsbox_req.c:809: `smart_sms' undeclared (first use in this function)
gw/smsbox_req.c:901: `ret' undeclared (first use in this function)
make: *** [gw/smsbox_req.o] Error 1
Administrator@TNLD1S1 /usr/local/src/cygwin-b20
$
>
>
> Regards,
> satish
> Texas Networks Ltd.
>