[Asterisk-bsd] Compiling ASterisk on FreeBSD 5.4

Chris St Denis chris at aebc.com
Thu Jun 2 11:41:53 CDT 2005


Could be a version conflict. Have you tried a make clean on the asterisk
port? If not....

1. do a make clean of your whole ports tree: cd /usr/ports && make clean
NOCLEANDEPENDS=yes
2. make sure everything is up to date in installed software: pkg_version -v

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com]On Behalf Of Matthias
Fechner
Sent: Thursday, June 02, 2005 5:34 AM
To: asterisk-bsd at lists.digium.com
Subject: Re: [Asterisk-bsd] Compiling ASterisk on FreeBSD 5.4


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
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list