Hi my previous source is not creating gw-config.h now i have downloaded new
source of previous version and .configure worked fine and created it. now
when i make run command i get this error
========================================
make  all-recursive
make[1]: Entering directory '/home/uzair/mbuni/mbuni-0.9.9'
Making all in mmlib
make[2]: Entering directory '/home/uzair/mbuni/mbuni-0.9.9/mmlib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -I./../mmlib -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/libxml2 -MT
mms_mmbox.o -MD -MP -MF ".deps/mms_mmbox.Tpo" -c -o mms_mmbox.o
mms_mmbox.c; \
then mv -f ".deps/mms_mmbox.Tpo" ".deps/mms_mmbox.Po"; else rm -f
".deps/mms_mmbox.Tpo"; exit 1; fi
mms_mmbox.c: In function ‘linearise_string_list’:
mms_mmbox.c:230:16: warning: initialization makes pointer from integer
without a cast
    Octstr *p = list_get(l,i);
                ^
mms_mmbox.c: In function ‘parse_string_list’:
mms_mmbox.c:241:16: warning: initialization makes pointer from integer
without a cast
      List *l = list_create();
                ^
mms_mmbox.c: In function ‘make_mm_flags’:
mms_mmbox.c:355:32: warning: pointer/integer type mismatch in conditional
expression
      List *l = oflags ? oflags : list_create();
                                ^
mms_mmbox.c:359:16: warning: initialization makes pointer from integer
without a cast
    Octstr *x = list_get(l,i);
                ^
mms_mmbox.c:367:16: warning: initialization makes pointer from integer
without a cast
    Octstr *x = list_get(flag_cmds,i);
                ^
mms_mmbox.c:380:32: warning: passing argument 1 of ‘octstr_str_compare’
makes pointer from integer without a cast
         if (octstr_str_compare(list_get(l,j),s) == 0)  {
                                ^
In file included from /usr/local/include/kannel/gwlib/utils.h:68:0,
                 from /usr/local/include/kannel/gwlib/gwlib.h:79,
                 from mms_msg.h:16,
                 from mms_mmbox.h:15,
                 from mms_mmbox.c:24:
/usr/local/include/kannel/gwlib/octstr.h:334:5: note: expected ‘const
struct Octstr *’ but argument is of type ‘int’
 int octstr_str_compare(const Octstr *ostr1, const char *str);
     ^
mms_mmbox.c:381:19: warning: initialization makes pointer from integer
without a cast
       Octstr *y = list_get(l,j);
                   ^
mms_mmbox.c: In function ‘mms_mmbox_addmsg’:
mms_mmbox.c:458:25: error: ‘list_item_destructor_t’ undeclared (first use
in this function)
    list_destroy(flags, (list_item_destructor_t *)octstr_destroy);
                         ^
mms_mmbox.c:458:25: note: each undeclared identifier is reported only once
for each function it appears in
mms_mmbox.c:458:49: error: expected expression before ‘)’ token
    list_destroy(flags, (list_item_destructor_t *)octstr_destroy);
                                                 ^
mms_mmbox.c: In function ‘mms_mmbox_modmsg’:
mms_mmbox.c:560:25: error: ‘list_item_destructor_t’ undeclared (first use
in this function)
    list_destroy(flags, (list_item_destructor_t *)octstr_destroy);
                         ^
mms_mmbox.c:560:49: error: expected expression before ‘)’ token
    list_destroy(flags, (list_item_destructor_t *)octstr_destroy);
                                                 ^
mms_mmbox.c: In function ‘string_in_list’:
mms_mmbox.c:619:16: warning: initialization makes pointer from integer
without a cast
    Octstr *x = list_get(l,i);
                ^
mms_mmbox.c: In function ‘mms_mmbox_search’:
mms_mmbox.c:669:3: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
   (int)fp, strerror(errno));
   ^
mms_mmbox.c:676:13: warning: assignment makes pointer from integer without
a cast
      dflist = list_create();
             ^
mms_mmbox.c:688:9: error: ‘list_item_matches_t’ undeclared (first use in
this function)
        (list_item_matches_t *)_x_octstr_str_compare) != NULL)
         ^
mms_mmbox.c:688:30: error: expected expression before ‘)’ token
        (list_item_matches_t *)_x_octstr_str_compare) != NULL)
                              ^
mms_mmbox.c:695:28: error: expected expression before ‘)’ token
      (list_item_matches_t *)_x_octstr_str_compare) != NULL)
                            ^
mms_mmbox.c:701:52: error: expected expression before ‘)’ token
   list_search(xflags, flags, (list_item_matches_t *)string_in_list) !=
NULL))
                                                    ^
mms_mmbox.c:711:31: error: ‘list_item_destructor_t’ undeclared (first use
in this function)
         list_destroy(xflags, (list_item_destructor_t *)octstr_destroy);
                               ^
mms_mmbox.c:711:55: error: expected expression before ‘)’ token
         list_destroy(xflags, (list_item_destructor_t *)octstr_destroy);
                                                       ^
mms_mmbox.c:724:49: error: expected expression before ‘)’ token
    list_destroy(flags, (list_item_destructor_t *)octstr_destroy);
                                                 ^
mms_mmbox.c: In function ‘mms_mmbox_count’:
mms_mmbox.c:795:3: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
   (int)fp, strerror(errno));
   ^
Makefile:301: recipe for target 'mms_mmbox.o' failed
make[2]: *** [mms_mmbox.o] Error 1
make[2]: Leaving directory '/home/uzair/mbuni/mbuni-0.9.9/mmlib'
Makefile:246: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/uzair/mbuni/mbuni-0.9.9'
Makefile:175: recipe for target 'all' failed
make: *** [all] Error 2
========================================

 http://uzair.ahmed.netcv.com/http://uzair.ahmed.netcv.com/

Uzair Ahmed
[image: http://]about.me/uzairIltifat
<http://about.me/uzairIltifat?promo=email_sig>




<http://about.me/uzairIltifat?promo=email_sig>
http://uzair.ahmed.netcv.com/

On Tue, Aug 23, 2016 at 2:56 PM, uzair iltifat <
uzair.iltifat.ah...@gmail.com> wrote:

> Hi,
> I am new to linux kindly explain more. what do you mean by " define the
> kannel installation sources in ./configure directive".
> Regards
>
> Uzair
>
>  http://uzair.ahmed.netcv.com/http://uzair.ahmed.netcv.com/
>
> Uzair Ahmed
> [image: http://]about.me/uzairIltifat
> <http://about.me/uzairIltifat?promo=email_sig>
>
>
>
>
> <http://about.me/uzairIltifat?promo=email_sig>
> http://uzair.ahmed.netcv.com/
>
> On Mon, Aug 22, 2016 at 8:27 PM, Alvaro Cornejo <cornejo.alv...@gmail.com>
> wrote:
>
>> Hi
>>
>> Always cc kannel group so everybody can learn and participate from the
>> information exchange
>>
>> What I meant is that you should define the kannel installation sources in
>> ./configure directive. Not a "kannel" file.
>>
>> You should have kannel sources available for mbuni to compile properly.
>>
>> Regards
>>
>> Alvaro
>>
>> |-----------------------------------------------------------
>> ------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>>               Visitenos en www.perusms.com
>>
>> On Mon, Aug 22, 2016 at 9:14 AM, uzair iltifat <
>> uzair.iltifat.ah...@gmail.com> wrote:
>>
>>> I have tried to find "gw-config.h" by running "find / -name gw-config.h"
>>> but could not fing the path for it. then i tried to run "find / -name
>>> kannel" and found these paths listed below
>>> ==
>>> /usr/share/doc/kannel
>>> /var/log/kannel
>>> /etc/logrotate.d/kannel
>>> /etc/kannel
>>> /etc/init.d/kannel
>>> /etc/default/kannel
>>> /run/kannel
>>> ==
>>> which one should i use ,
>>> Note that none of them have gw-config.h in them
>>>
>>
>>
>

Reply via email to