Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 10:15:12 GMT
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/81888: cannot compile net/asterisk 1.0.7 on FreeBSD 5.4
Message-ID:  <200506041015.j54AFCil060114@www.freebsd.org>
Resent-Message-ID: <200506041020.j54AK1iY025304@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81888
>Category:       ports
>Synopsis:       cannot compile net/asterisk 1.0.7 on FreeBSD 5.4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 04 10:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        5.4 Stable
>Organization:
>Environment:
FreeBSD server.idefix.loc 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu May 26 00:19:28 CEST 2005 root@server.idefix.loc:/usr/obj/usr/src/sys/SERVER2 i386
>Description:
It is not possible to compile /usr/ports/net/asterisk.
I get the following error message:
gmake[1]: Entering directory `/usr/ports/net/asterisk/work/asterisk-1.0.7/editline'
cc -c  -O -pipe -march=pentiumpro '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from chared.h:136,
           from el.h:101,
           from common.c:51,
           from editline.c:4:
fcns.h:4:15: warning: ISO C requires whitespace after the macro name
fcns.h:18:23: warning: ISO C requires whitespace after the macro name
fcns.h:21:23: warning: ISO C requires whitespace after the macro name 
fcns.h:24:13: warning: ISO C requires whitespace after the macro name
fcns.h:25:20: warning: ISO C requires whitespace after the macro name
fcns.h:26:30: warning: ISO C requires whitespace after the macro name
fcns.h:27:30: warning: ISO C requires whitespace after the macro name
fcns.h:28:15: warning: ISO C requires whitespace after the macro name
fcns.h:31:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:1: warning: "ED_UU" redefined
..
In file included from editline.c:4:
common.c: In function `ed_digit':
common.c:405: error: `EM_UNIVERSAL_ARGUMENT' undeclared (first use in this function)
common.c:405: error: (Each undeclared identifier is reported only once
common.c:405: error: for each function it appears in.)
In file included from editline.c:5:
emacs.c: In function `em_inc_search_next':
emacs.c:474: error: `ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
emacs.c: In function `em_inc_search_prev':
emacs.c:487: error: `ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
In file included from editline.c:6:
vi.c: In function `vi_search_prev':
vi.c:779: error: `ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
vi.c: In function `vi_search_next':
vi.c:792: error: `ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
..
help.c:185: error: (near initialization for `el_func_help[90]')
gmake[1]: *** [editline.o_a] Fehler 1
gmake[1]: Leaving directory  /usr/ports/net/asterisk/work/asterisk-1.0.7/editline'
gmake: *** [editline/libedit.a] Fehler 2
*** Error code 2

>How-To-Repeat:
Update FreeBSD to 5.4, cvsup the ports and update all packages installed to the newest version.
Then go into /usr/ports/net/asterisk and doing after a make clean a make and wait. You can see the errormessage.

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



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