ports/117196: Port net/asterisk-addons 1.4.2 fails to compile

Matthias Fechner idefix at fechner.net
Sun Oct 14 23:50:01 UTC 2007


>Number:         117196
>Category:       ports
>Synopsis:       Port net/asterisk-addons 1.4.2 fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 14 23:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD server.idefix.lan 6.2-STABLE FreeBSD 6.2-STABLE #2: Sat Oct 13 15:05:14 CEST 2007     root at server.idefix.lan:/usr/obj/usr/src/sys/SERVER2_I4B  i386

>Description:
The compilation of asterisk-addons fails with the errormessage:

cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -I/usr/local/include -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -o .libs/chan_h323.lo
src/chan_h323.c:71: warning: initialization from incompatible pointer type
src/chan_h323.c:91: warning: initialization from incompatible pointer type
src/chan_h323.c: In function `ooh323_new':
src/chan_h323.c:261: error: incompatible types in assignment
src/chan_h323.c:264: error: incompatible type for argument 1 of `ast_best_codec'
src/chan_h323.c: In function `ooh323_write':
src/chan_h323.c:974: error: invalid operands to binary &
src/chan_h323.c: In function `print_codec_to_cli':
src/chan_h323.c:2219: error: structure has no member named `framing'
src/chan_h323.c: In function `ooh323_rtp_read':
src/chan_h323.c:3246: error: invalid operands to binary !=
src/chan_h323.c:3249: error: incompatible types in assignment
gmake[3]: *** [chan_h323.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2/asterisk-ooh323c'
gmake[1]: *** [chan_ooh323.so] Error 2
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.2'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:
Use a freshly updated port and do:
cd /usr/ports/net/asterisk-addons
make

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list