[Asterisk-bsd] Compiling ASterisk on FreeBSD 5.4
Matthias Fechner
idefix at fechner.net
Thu Jun 2 07:33:40 CDT 2005
Hello Graham,
* Graham Menhennitt <gmenhennitt at optusnet.com.au> [01-06-05 22:05]:
> Are you using the port (/usr/ports/net/asterisk)? It works for me.
yes im using the port.
I get a lot of waringings like:
--- cut ---
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
...
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.)
...
emacs.c:474: error: ED_SEARCH_NEXT_HISTORY' undeclared (first use in
this function)
...
emacs.c:487: error: ED_SEARCH_PREV_HISTORY' undeclared (first use in
this function)
...
map.c: At top level:
map.c:66: error: EM_SET_MARK' undeclared here (not in a function)
map.c:66: error: initializer element is not constant
map.c:66: error: (near initialization for el_map_emacs[0]')
map.c:67: error: ED_MOVE_TO_BEG' undeclared here (not in a function)
map.c:67: error: initializer element is not constant
map.c:67: error: (near initialization for el_map_emacs[1]')
map.c:68: error: ED_PREV_CHAR' undeclared here (not in a 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
--- cut ---
I hope this errormessage will help a little bit.
I have no idea, how to fix this or what can maybe be the problem.
It is FreeBSD 5.4 with up-to-date ports.
--
Bye
Matthias
More information about the Asterisk-BSD
mailing list