[asterisk-users] Zaptel-1.4.1 error cross compile

Satish Patel satish at linuxbug.org
Thu Oct 2 09:51:37 CDT 2008


Regards,

Satish Patel


Quoting Tzafrir Cohen <tzafrir.cohen at xorcom.com>:

> On Thu, Oct 02, 2008 at 10:19:00AM -0400, satish patel wrote:
>>
>>
>> I have CLFS ARM cross toolchain with uClibc and I have installed asterisk on
>> it now I want to compile zaptel-1.4
>>
>> I got this error
>>
>> clfs:/mnt/clfs/sources/zaptel-1.4.1$ make
>> make[1]: Entering directory `/mnt/clfs/sources/zaptel-1.4.1/menuselect'
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... i686-pc-linux-gnu
>> checking for gcc... arm-unknown-linux-gnu-gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... configure: error: cannot run C
>> compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details.
>> make[1]: *** [autoconfig.h] Error 1
>> make[1]: Leaving directory `/mnt/clfs/sources/zaptel-1.4.1/menuselect'
>> make: *** [menuselect/menuselect] Error 2
>> clfs:/mnt/clfs/sources/zaptel-1.4.1$
>
> Could you please try a newer version of zaptel 1.4? There have been many
> changes in the build system of zaptel 1.4 since 1.4.1 .
>
> It would also help if you give your configure command and/or
> environment.
>
> --
>                Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

clfs:/mnt/clfs/sources/zaptel-1.4.1$ ./configure --host=${CLFS_TARGET}  
--prefix=/usr
configure: WARNING: If you wanted to set the --build type, don't use --host.
     If a cross compiler is detected then cross compile mode will be used.
checking for arm-unknown-linux-gnu-gcc... arm-unknown-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-unknown-linux-gnu-gcc accepts -g... yes
checking for arm-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... arm-unknown-linux-gnu-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for GNU make... make
checking for grep... /bin/grep
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for wget... /usr/bin/wget
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for newtBell in -lnewt... no
checking for usb_init in -lusb... no
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
configure: *** Zaptel build successfully configured ***







More information about the asterisk-users mailing list