Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2016 10:03:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210074] net/asterisk13
Message-ID:  <bug-210074-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210074

            Bug ID: 210074
           Summary: net/asterisk13
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: technotrance@list.ru
          Assignee: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)

Hello!
I am trying to install asterisk from the port. At the first attempt got a
message about to need to add the parameter "MAKE_JOBS_UNSAFE=3Dyes" to make=
file.
And I did it.
At the second attempt I see here is such an error:
-------------------------
codec_ilbc.c:44:1: error: unknown type name 'WebRtc_UWord16'
 typedef WebRtc_UWord16 ilbc_bytes;
 ^
codec_ilbc.c:45:1: error: unknown type name 'WebRtc_Word16'
 typedef WebRtc_Word16  ilbc_block;
 ^
codec_ilbc.c: In function 'ilbctolin_framein':
codec_ilbc.c:127:3: warning: passing argument 1 of 'WebRtcIlbcfix_DecodeImp=
l'
from incompatible pointer type [enabled by default]
   iLBC_decode(tmpf, plc_mode ? f->data.ptr + x : NULL, &tmp->dec, plc_mode=
);
   ^
In file included from codec_ilbc.c:43:0:
/usr/local/include/ilbc.h:413:8: note: expected 'int16_t *' but argument is=
 of
type 'ilbc_block *'
   void WebRtcIlbcfix_DecodeImpl(int16_t *decblock,
        ^
codec_ilbc.c: In function 'lintoilbc_frameout':
codec_ilbc.c:166:3: warning: passing argument 1 of 'WebRtcIlbcfix_EncodeImp=
l'
from incompatible pointer type [enabled by default]
   iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc);
   ^
In file included from codec_ilbc.c:43:0:
/usr/local/include/ilbc.h:417:8: note: expected 'uint16_t *' but argument i=
s of
type 'ilbc_bytes *'
   void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes,
        ^
codec_ilbc.c:166:3: warning: passing argument 2 of 'WebRtcIlbcfix_EncodeImp=
l'
from incompatible pointer type [enabled by default]
   iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf, &tmp->enc);
   ^
In file included from codec_ilbc.c:43:0:
/usr/local/include/ilbc.h:417:8: note: expected 'const int16_t *' but argum=
ent
is of type 'ilbc_block *'
   void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes,
        ^
/usr/ports/net/asterisk13/work/asterisk-13.9.1/Makefile.rules:145: =D0=BE=
=D1=88=D0=B8=D0=B1=D0=BA=D0=B0
=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=
=D1=86=D0=B5=D0=BF=D1=82=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 =
<<codec_ilbc.o>>
gmake[3]: *** [codec_ilbc.o] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1
gmake[3]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=
=B0=D0=BB=D0=BE=D0=B3=D0=B0
<</usr/ports/net/asterisk13/work/asterisk-13.9.1/codecs>>
Makefile:398: =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE=
=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=D1=86=D0=B5=D0=BF=D1=82=
=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 <<codecs>>
gmake[2]: *** [codecs] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2
gmake[2]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=
=B0=D0=BB=D0=BE=D0=B3=D0=B0 <</usr/ports/net/asterisk13/work/asterisk-13.9.=
1>>
*** Error code 1
---------------------

If I use base compiler, the error is as follows:
------------------------
codec_ilbc.c:44:9: error: unknown type name 'WebRtc_UWord16'
typedef WebRtc_UWord16 ilbc_bytes;
        ^
codec_ilbc.c:45:9: error: unknown type name 'WebRtc_Word16'
typedef WebRtc_Word16  ilbc_block;
        ^
codec_ilbc.c:127:15: warning: incompatible pointer types passing 'ilbc_block
[240]' to parameter of type 'int16_t *' (aka 'short *')
      [-Wincompatible-pointer-types]
                iLBC_decode(tmpf, plc_mode ? f->data.ptr + x : NULL, &tmp->=
dec,
plc_mode);
                            ^~~~
/usr/local/include/ilbc.h:413:42: note: passing argument to parameter
'decblock' here
  void WebRtcIlbcfix_DecodeImpl(int16_t *decblock,
                                         ^
codec_ilbc.c:166:15: warning: incompatible pointer types passing 'ilbc_byte=
s *'
(aka 'int *') to parameter of type 'uint16_t *'
      (aka 'unsigned short *') [-Wincompatible-pointer-types]
                iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf,
&tmp->enc);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ilbc.h:417:43: note: passing argument to parameter 'byte=
s'
here
  void WebRtcIlbcfix_EncodeImpl(uint16_t *bytes,
                                          ^
codec_ilbc.c:166:52: warning: incompatible pointer types passing 'ilbc_block
[240]' to parameter of type 'const int16_t *'
      (aka 'const short *') [-Wincompatible-pointer-types]
                iLBC_encode((ilbc_bytes *) pvt->outbuf.BUF_TYPE, tmpf,
&tmp->enc);
                                                                 ^~~~
/usr/local/include/ilbc.h:418:20: note: passing argument to parameter 'bloc=
k'
here
                                const int16_t *block,
                                               ^
3 warnings and 2 errors generated.
/usr/ports/net/asterisk13/work/asterisk-13.9.1/Makefile.rules:145: =D0=BE=
=D1=88=D0=B8=D0=B1=D0=BA=D0=B0
=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=
=D1=86=D0=B5=D0=BF=D1=82=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 =
<<codec_ilbc.o>>
gmake[3]: *** [codec_ilbc.o] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1
gmake[3]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=
=B0=D0=BB=D0=BE=D0=B3=D0=B0
<</usr/ports/net/asterisk13/work/asterisk-13.9.1/codecs>>
Makefile:398: =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 =D0=B2=D1=8B=D0=BF=D0=BE=
=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F =D1=80=D0=B5=D1=86=D0=B5=D0=BF=D1=82=
=D0=B0 =D0=B4=D0=BB=D1=8F =D1=86=D0=B5=D0=BB=D0=B8 <<codecs>>
gmake[2]: *** [codecs] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2
gmake[2]: =D0=B2=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0=
=B0=D0=BB=D0=BE=D0=B3=D0=B0 <</usr/ports/net/asterisk13/work/asterisk-13.9.=
1>>
*** Error code 1
---------------------

I tried to seek a solution independently. But to no avail.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210074-13>