Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-06 Thread Alan Lord
satish patel wrote:

> I have set env on shell
> 
> KVERS=2.6.22.5  
> KSRC=/path/to/kernel-2.6.22.5/source
> 

Maybe I misunderstood you then. I thought you said that your ARM system 
was using a 2.6.18 kernel? If that is the case, then surely you need to 
build your zaptel module against that and *not* the kernel on your 
cross-compiling host machine.

But probably I misunderstood what you meant.

Al



___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-06 Thread satish patel
 

Satish Patel wrote:


>I think you may be right.
>
>Can you not extract a set of kernel headers for 2.6.18 and point the zaptel
build to them when you are making >it in your cross-compile environment? I
can't remember the switch off hand but I am sure there is a way to point
>the make scripts at whatever headers you wish.
>
>HTH
>
>Al



I have set env on shell

KVERS=2.6.22.5  
KSRC=/path/to/kernel-2.6.22.5/source

This to veriable give you that option to tell zaptel use it and compile with
that specified kernel I have do it at zaptel compile time but things not
work..error which I had mentioned on last mail. Astfin using same thing and
they people using zaptel on embedded system I don't know how ??


___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-06 Thread Alan Lord
Satish Patel wrote:

>>> I am using cross compile so i can't update GCC other wise it will effect on
>>> my other packages anyway... tell me one thing i have host system kernel
>>> version is 2.6.18 and i am compiling ARM embedded rootbuild with other
>>> kernel version 2.6.22 so i need to compile my zaptel package with 2.6.22
>>> kernel caz i will use it on target ARM hardware ( IXP425 ). I am doing that
>>> but after porting rootfs on target host and when i run "insmod zaptel"
>>> command on target board i got error

> clfs:/mnt/clfs$ file lib/modules/2.6.22.6/misc/zaptel.ko
> lib/modules/2.6.22.6/misc/zaptel.ko: ELF 32-bit MSB relocatable, ARM,  
> version 1, not stripped
> 
> i dont know why this error coming i think its caz confusion between  
> host kernel and target kernel

I think you may be right.

Can you not extract a set of kernel headers for 2.6.18 and point the 
zaptel build to them when you are making it in your cross-compile 
environment? I can't remember the switch off hand but I am sure there is 
a way to point the make scripts at whatever headers you wish.

HTH

Al


___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-05 Thread Satish Patel

Regards,

Satish Patel


Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:

> On Sun, Oct 05, 2008 at 11:28:47AM -0400, satish patel wrote:
>>
>>
>>
>>
>>  >> Hello.
>>  >> Have you ever tried updating your GCC version?
>>  >> Thanks.
>>
>> I am using cross compile so i can't update GCC other wise it will effect on
>> my other packages anyway... tell me one thing i have host system kernel
>> version is 2.6.18 and i am compiling ARM embedded rootbuild with other
>> kernel version 2.6.22 so i need to compile my zaptel package with 2.6.22
>> kernel caz i will use it on target ARM hardware ( IXP425 ). I am doing that
>> but after porting rootfs on target host and when i run "insmod zaptel"
>> command on target board i got error
>>
>> root#insmod zaptel
>> insmod: cannot insert '/lib/modules/2.6.22.6/misc/zaptel.ko' : Invalid
>> module formate  (-1): Exec format error
>
> And what is the format of that file?
>
>   file /lib/modules/2.6.22.6/misc/zaptel.ko
>
> (run that either on your board or on the build system, before copying)
>

clfs:/mnt/clfs$ file lib/modules/2.6.22.6/misc/zaptel.ko
lib/modules/2.6.22.6/misc/zaptel.ko: ELF 32-bit MSB relocatable, ARM,  
version 1, not stripped

i dont know why this error coming i think its caz confusion between  
host kernel and target kernel




___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-05 Thread satish patel
 


On Thu, Oct 02, 2008 at 11:33:01AM -0400, Satish Patel wrote:

> 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.

>>What about this warning? And why would you use --prefix=/usr ?

I have used it caz on make time it will build path  from /usr 

CLFS=/mnt/clfs 

Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-05 Thread Tzafrir Cohen
On Sun, Oct 05, 2008 at 11:28:47AM -0400, satish patel wrote:
>  
> 
> 
>  
>  >> Hello.
>  >> Have you ever tried updating your GCC version?
>  >> Thanks.
>  
> I am using cross compile so i can't update GCC other wise it will effect on
> my other packages anyway... tell me one thing i have host system kernel
> version is 2.6.18 and i am compiling ARM embedded rootbuild with other
> kernel version 2.6.22 so i need to compile my zaptel package with 2.6.22
> kernel caz i will use it on target ARM hardware ( IXP425 ). I am doing that
> but after porting rootfs on target host and when i run "insmod zaptel"
> command on target board i got error 
>  
> root#insmod zaptel
> insmod: cannot insert '/lib/modules/2.6.22.6/misc/zaptel.ko' : Invalid
> module formate  (-1): Exec format error

And what is the format of that file?

  file /lib/modules/2.6.22.6/misc/zaptel.ko

(run that either on your board or on the build system, before copying)

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-05 Thread Tzafrir Cohen
On Thu, Oct 02, 2008 at 11:33:01AM -0400, Satish Patel wrote:

> 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.

What about this warning? And why would you use --prefix=/usr ?

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-05 Thread satish patel
 


 
 >> Hello.
 >> Have you ever tried updating your GCC version?
 >> Thanks.
 
I am using cross compile so i can't update GCC other wise it will effect on
my other packages anyway... tell me one thing i have host system kernel
version is 2.6.18 and i am compiling ARM embedded rootbuild with other
kernel version 2.6.22 so i need to compile my zaptel package with 2.6.22
kernel caz i will use it on target ARM hardware ( IXP425 ). I am doing that
but after porting rootfs on target host and when i run "insmod zaptel"
command on target board i got error 
 
root#insmod zaptel
insmod: cannot insert '/lib/modules/
http://2.6.22.6/misc/zaptel.ko> 2.6.22.6/misc/zaptel.ko' : Invalid
module formate  (-1): Exec format error
 
Now anybody have compile zaptel on cross platform kindly suggest me what
wrong in my case ??

 
 
 

___
-- 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

Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-04 Thread Hakan C
Hello.
Have you ever tried updating your GCC version?
Thanks.

On Thu, Oct 2, 2008 at 8:30 PM, Satish Patel <[EMAIL PROTECTED]> wrote:

>
> Regards,
>
> Satish Patel
>
>
> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
>
> > On Thu, Oct 02, 2008 at 11:33:01AM -0400, Satish Patel wrote:
> >>
> >> Regards,
> >>
> >> Satish Patel
> >>
> >>
> >> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
> >>
> >> > On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:
> >> >>
> >> >> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
> >> >
> >> > 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.
> >
> > I don't know much about cross-compiling, but this warning scares me.
> >
> > I have a feeling you're doing something wrong.
> >
> > Anyway, if you want to avoid the whole menuselect mess, take a look at
> > http://bugs.digium.com/13132
> >
> > Remove the subdirectory menuselect and put the makefile and script from
> > that bug report there instead. Run:
> >
> >   make -C menuselect dummies
> >
> > Then it should behave just like the original. At least theoretically.
> > You may need to instruct it to take data from other XML files. See the
> > calls to the function parse_menuselect_xml_file() in the end.
> >
> > Let me know if it worked ;-)
>
>
> > I'll see if someone else will pick it up on-list as both cross-compiling
> > and menuselect are not my preffered code.
>
> for experiment i have download 1.2.27 current version of zaptel
>
> ./configure --host=${CLFS_TARGET} --prefix=/usr
>
>  make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-
>
> make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- DESTDIR=${CLFS} install
>
> it has installed module
>
> clfs:/mnt/clfs/sources/zaptel-1.2.27$ ls -l ../../lib/modules/
> 2.6.22.6/misc/
> total 476
> -rw-r--r--  1 clfs clfs 67566 Sep  1 18:46 pciradio.ko
> -rw-r--r--  1 clfs clfs 92753 Sep  1 18:46 tor2.ko
> -rw-r--r--  1 clfs clfs 19267 Sep  1 18:46 torisa.ko
> -rw-r--r--  1 clfs clfs 15542 Sep  1 18:46 wcfxo.ko
> -rw-r--r--  1 clfs clfs 18524 Sep  1 18:46 wct1xxp.ko
> drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wct4xxp
> drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wctc4xxp
> -rw-r--r--  1 clfs clfs 46475 Sep  1 18:46 wctdm.ko
> drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wctdm24xxp
> -rw-r--r--  1 clfs clfs 40601 Sep  1 18:46 wcte11xp.ko
> drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wcte12xp
> -rw-r--r--  1 clfs clfs 18531 Sep  1 18:46 wcusb.ko
> -rw-r--r--  1 clfs clfs 71372 Sep  1 18:46 zaptel.ko
> -rw-r--r--  1 clfs clfs  8250 Sep  1 18:46 ztd-eth.ko
> -rw-r--r--  1 clfs clfs  4883 Sep  1 18:46 ztd-loc.ko
> -rw-r--r--  1 clfs clfs  3204 Sep  1 18:46 ztdummy.ko
> -rw-r--r--  1 clfs clfs 13059 Sep  1 18:46 ztdynamic.ko
> -rw-r--r--  1 clfs clfs 10780 Sep  1 18:46 zttranscode.ko
>
>
> but when i have build-root and run is root-image on ARM hardware and
> try to install module i got error
>
> root#insmod zaptel
> insmod: cannot insert '/lib/modules/2.6.22.6/misc/zaptel.ko' : Invalid
> module formate  (-1): Exec format error
>
>
>
>
>
>
>
> ___
> -- 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
>
___
-- 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

Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread Satish Patel

Regards,

Satish Patel


Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:

> On Thu, Oct 02, 2008 at 11:33:01AM -0400, Satish Patel wrote:
>>
>> Regards,
>>
>> Satish Patel
>>
>>
>> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
>>
>> > On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:
>> >>
>> >> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
>> >
>> > 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.
>
> I don't know much about cross-compiling, but this warning scares me.
>
> I have a feeling you're doing something wrong.
>
> Anyway, if you want to avoid the whole menuselect mess, take a look at
> http://bugs.digium.com/13132
>
> Remove the subdirectory menuselect and put the makefile and script from
> that bug report there instead. Run:
>
>   make -C menuselect dummies
>
> Then it should behave just like the original. At least theoretically.
> You may need to instruct it to take data from other XML files. See the
> calls to the function parse_menuselect_xml_file() in the end.
>
> Let me know if it worked ;-)


> I'll see if someone else will pick it up on-list as both cross-compiling
> and menuselect are not my preffered code.

for experiment i have download 1.2.27 current version of zaptel

./configure --host=${CLFS_TARGET} --prefix=/usr

  make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-

make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- DESTDIR=${CLFS} install

it has installed module

clfs:/mnt/clfs/sources/zaptel-1.2.27$ ls -l ../../lib/modules/2.6.22.6/misc/
total 476
-rw-r--r--  1 clfs clfs 67566 Sep  1 18:46 pciradio.ko
-rw-r--r--  1 clfs clfs 92753 Sep  1 18:46 tor2.ko
-rw-r--r--  1 clfs clfs 19267 Sep  1 18:46 torisa.ko
-rw-r--r--  1 clfs clfs 15542 Sep  1 18:46 wcfxo.ko
-rw-r--r--  1 clfs clfs 18524 Sep  1 18:46 wct1xxp.ko
drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wct4xxp
drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wctc4xxp
-rw-r--r--  1 clfs clfs 46475 Sep  1 18:46 wctdm.ko
drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wctdm24xxp
-rw-r--r--  1 clfs clfs 40601 Sep  1 18:46 wcte11xp.ko
drwxr-xr-x  2 clfs clfs  4096 Sep  1 18:42 wcte12xp
-rw-r--r--  1 clfs clfs 18531 Sep  1 18:46 wcusb.ko
-rw-r--r--  1 clfs clfs 71372 Sep  1 18:46 zaptel.ko
-rw-r--r--  1 clfs clfs  8250 Sep  1 18:46 ztd-eth.ko
-rw-r--r--  1 clfs clfs  4883 Sep  1 18:46 ztd-loc.ko
-rw-r--r--  1 clfs clfs  3204 Sep  1 18:46 ztdummy.ko
-rw-r--r--  1 clfs clfs 13059 Sep  1 18:46 ztdynamic.ko
-rw-r--r--  1 clfs clfs 10780 Sep  1 18:46 zttranscode.ko


but when i have build-root and run is root-image on ARM hardware and  
try to install module i got error

root#insmod zaptel
insmod: cannot insert '/lib/modules/2.6.22.6/misc/zaptel.ko' : Invalid  
module formate  (-1): Exec format error







___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread Satish Patel

Regards,

Satish Patel


Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:

> On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:
>>
>> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:
>
> 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
ch

Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread Tzafrir Cohen
On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:
> 
> Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:

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


-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread Satish Patel

Regards,

Satish Patel


Quoting Tzafrir Cohen <[EMAIL PROTECTED]>:

> 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:[EMAIL PROTECTED]
> +972-50-7952406   mailto:[EMAIL PROTECTED]
> http://www.xorcom.com  iax:[EMAIL PROTECTED]/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 ***





___
-- 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


Re: [asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread Tzafrir Cohen
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:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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


[asterisk-users] Zaptel-1.4.1 error cross compile

2008-10-02 Thread satish patel


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$

Regards,

Satish Patel 


___
-- 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