New asterisk system

Hi I am trying to install a new asterisk system to be used in a house. I got 2 SIP numbers from PBXes and I have a Sunrocket gizmo. I was hoping to use this setup to make free calls. I was going to try to use Ubuntu server 9.04 x64, Asterisk-1.6.1.0, and freeepbx. I thought I was ready to instasll Asterisk, but I get this error upon issuing the make command. Any help would be greatly appreciated.

CC=“cc” CXX=“g++” LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="–silent" makeopts
make[1]: Entering directory /usr/src/asterisk-1.6.1.0/menuselect' make[1]:makeopts’ is up to date.
make[1]: Leaving directory `/usr/src/asterisk-1.6.1.0/menuselect’
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules …
[CC] codec_ilbc.c -> codec_ilbc.o
codec_ilbc.c:40:30: error: ilbc/iLBC_encode.h: No such file or directory
codec_ilbc.c:41:30: error: ilbc/iLBC_decode.h: No such file or directory
codec_ilbc.c:56: error: expected specifier-qualifier-list before ‘iLBC_Enc_Inst_t’
codec_ilbc.c: In function ‘lintoilbc_new’:
codec_ilbc.c:66: warning: implicit declaration of function ‘initEncode’
codec_ilbc.c:66: error: ‘struct ilbc_coder_pvt’ has no member named ‘enc’
codec_ilbc.c: In function ‘ilbctolin_new’:
codec_ilbc.c:75: warning: implicit declaration of function ‘initDecode’
codec_ilbc.c:75: error: ‘struct ilbc_coder_pvt’ has no member named ‘dec’
codec_ilbc.c: In function ‘ilbctolin_framein’:
codec_ilbc.c:137: warning: implicit declaration of function ‘iLBC_decode’
codec_ilbc.c:137: error: ‘struct ilbc_coder_pvt’ has no member named ‘dec’
codec_ilbc.c: In function ‘lintoilbc_framein’:
codec_ilbc.c:155: error: ‘struct ilbc_coder_pvt’ has no member named ‘buf’
codec_ilbc.c: In function ‘lintoilbc_frameout’:
codec_ilbc.c:176: error: ‘struct ilbc_coder_pvt’ has no member named ‘buf’
codec_ilbc.c:177: warning: implicit declaration of function ‘iLBC_encode’
codec_ilbc.c:177: error: ‘struct ilbc_coder_pvt’ has no member named ‘enc’
codec_ilbc.c:186: error: ‘struct ilbc_coder_pvt’ has no member named ‘buf’
codec_ilbc.c:186: error: ‘struct ilbc_coder_pvt’ has no member named ‘buf’
make[1]: *** [codec_ilbc.o] Error 1
make: *** [codecs] Error 2

You must run
make menuselect
and exit using x (to save configuration) before make.

Thanks for responding. I ran make menuselect before receiving this error message.

Seems there is a problem with your ilbc library, you could try not build the ilbc codec support in Asterisk, deselecting ilbc in steps 4 and 5 of “make menuselect”.

Cheers.

Marco Bruni
www.marcobruni.net

Worked like a charm. Thank you for taking the time to help.
-Matt