[asterisk-users] Zaptel-1.4.1 error cross compile
Satish Patel
satish at linuxbug.org
Thu Oct 2 10:33:01 CDT 2008
Regards,
Satish Patel
Quoting Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:
>>
>> Quoting Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
>
> As I wrote:
>
>> >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 .
>
> But in your reply:
>
>> clfs:/mnt/clfs/sources/zaptel-1.4.1$ ./configure
>> --host=${CLFS_TARGET} --prefix=/usr
>
I wanted to show you what option i used now i have download zaptel-1.4.12.1
clfs:/mnt/clfs/sources/zaptel-1.4.12.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
config.status: creating build_tools/make_firmware_object
configure: *** Zaptel build successfully configured ***
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ export
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ make ARCH=arm KVERS=2.6.22.6
CROSS_COMPILE=${CLFS_TARGET}- modules zaptel
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ export KVERS=2.6.22.6
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ make
make: Warning: File `Makefile' has modification time 6.1e+05 s in the future
make[1]: Entering directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for GNU make... make
checking for asprintf... yes
checking for getloadavg... yes
checking for setenv... yes
checking for strcasestr... yes
checking for strndup... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtoq... yes
checking for unsetenv... yes
checking for vasprintf... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 pkg-config... pkg-config
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: creating ./config.status
config.status: creating makeopts
config.status: creating autoconfig.h
configure: configuring in mxml
configure: running /bin/sh './configure' --prefix=/usr/local 'CC='
'LD=' 'AR=' 'CFLAGS=' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether arm-unknown-linux-gnu-g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... arm-unknown-linux-gnu-ranlib
checking for ar... /usr/bin/ar
checking for cp... /bin/cp
checking for ln... /bin/ln
checking for mkdir... /bin/mkdir
checking for nroff... /mnt/clfs/cross-tools/bin/nroff
checking for rm... /bin/rm
checking for strdup... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
configure: Menuselect build configuration successfully completed
make[1]: Leaving directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
make[1]: Entering directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
make[2]: Entering directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
arm-unknown-linux-gnu-gcc -g -c -D_GNU_SOURCE -Wall -c -o
menuselect.o menuselect.c
arm-unknown-linux-gnu-gcc -g -c -D_GNU_SOURCE -Wall -c -o
strcompat.o strcompat.c
arm-unknown-linux-gnu-gcc -g -c -D_GNU_SOURCE -Wall -c -o
menuselect_curses.o menuselect_curses.c
make[3]: Entering directory
`/mnt/clfs/sources/zaptel-1.4.12.1/menuselect/mxml'
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-attr.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-entity.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-file.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-index.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-node.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-search.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-set.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-private.c
arm-unknown-linux-gnu-gcc -O -Wall -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o
mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o
mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
arm-unknown-linux-gnu-ranlib libmxml.a
make[3]: Leaving directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect/mxml'
arm-unknown-linux-gnu-gcc -o menuselect menuselect.o strcompat.o
menuselect_curses.o mxml/libmxml.a mxml/libmxml.a -lncurses
make[2]: Leaving directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
make[1]: Leaving directory `/mnt/clfs/sources/zaptel-1.4.12.1/menuselect'
Generating input for menuselect ...
menuselect/menuselect: menuselect/menuselect: cannot execute binary file
make: *** [menuselect.makeopts] Error 126
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ make menuselect
make: Warning: File `Makefile' has modification time 6.1e+05 s in the future
/bin/sh: menuselect/menuselect: cannot execute binary file
menuselect changes NOT saved!
make: warning: Clock skew detected. Your build may be incomplete.
clfs:/mnt/clfs/sources/zaptel-1.4.12.1$
More information about the asterisk-users
mailing list