Hi List; I am facing a problem relaed to menuselect when I am trying to compile zaptel -1.4.2.1, the error as following: [root at localhost zaptel-1.4.2.1]# make linux26 make[1]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[2]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[3]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' autoconf autoconf: no input file make[3]: *** [config.h] Error 1 make[3]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' make[2]: *** [mxml/libmxml.a] Error 2 make[2]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make: *** [menuselect/menuselect] Error 2 I already created ln -s as following: [root at localhost 2.6.20-1.2319.fc5]# ls -l total 1328 lrwxrwxrwx 1 root root 47 Jun 15 21:50 build -> ../../../usr/src/kernels/2.6.20-1.2319.fc5-i686 And my kernel version is: [root at localhost 2.6.20-1.2319.fc5]# uname -a Linux localhost.localdomain 2.6.20-1.2319.fc5 #1 Mon May 21 19:52:13 EDT 2007 i686 i686 i386 GNU/Linux Also I ran ./configure successfully. I do not know what I have to do else? is there anything related to .config file or to the Makefile? Or what exactly? I do not know from where this error still come? Anyone can advise? Regards Bilal ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/
Hi Bilal, Have you done "./configure" in the zaptel directory before to do "make menuselect" ? Best Regards, Francois BERGERET, France.
Hi List; Maybe I have to resummarize my problem with Zaptel Compilation: I am getting the error while I am compilaing Zaptel when I ran the command "make linux26", although I did the: software symbolic link, ./configure, and I checked my kernel is 2.6.20-1.2320.fc5 which typical for the output of cat cat/proc/version. What should I do more? Please find below all the results of the above steps, and I hope if any one can help me and advise me where is my mistake or what else I have to do? 1) I have a soft symbolic link and we can see it as following: [root at localhost /]# cd lib/modules/2.6.20-1.2320.fc5 [root at localhost 2.6.20-1.2320.fc5]# ls -l total 1328 lrwxrwxrwx 1 root root 47 Jun 24 23:47 build -> ../../../usr/src/kernels/2.6 .20-1.2320.fc5-i686 drwxr-xr-x 2 root root 4096 Jun 13 02:28 extra drwxr-xr-x 9 root root 4096 Jun 24 23:47 kernel -rw-r--r-- 1 root root 280802 Jun 24 23:47 modules.alias -rw-r--r-- 1 root root 69 Jun 24 23:47 modules.ccwmap -rw-r--r-- 1 root root 277363 Jun 24 23:47 modules.dep -rw-r--r-- 1 root root 813 Jun 24 23:47 modules.ieee1394map -rw-r--r-- 1 root root 206 Jun 24 23:47 modules.inputmap -rw-r--r-- 1 root root 12236 Jun 24 23:47 modules.isapnpmap -rw-r--r-- 1 root root 216224 Jun 24 23:47 modules.pcimap -rw-r--r-- 1 root root 967 Jun 24 23:47 modules.seriomap -rw-r--r-- 1 root root 121611 Jun 24 23:47 modules.symbols -rw-r--r-- 1 root root 332324 Jun 24 23:47 modules.usbmap lrwxrwxrwx 1 root root 5 Jun 24 23:47 source -> build drwxr-xr-x 2 root root 4096 Jun 13 02:28 updates 2) I did ./configure successfully as following: [root at localhost /]# cd usr/src/asterisk-1.4.4/zaptel-1.4.2.1 [root at localhost zaptel-1.4.2.1]# ./configure 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 ISO C89... none needed checking how to run the C preprocessor... 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... yes checking newt.h usability... yes checking newt.h presence... yes checking for newt.h... yes checking for usb_init in -lusb... yes checking usb.h usability... yes checking usb.h presence... yes checking for usb.h... yes configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts configure: *** Zaptel build successfully configured *** 3) My kernel version is: Using `uname -r`: [root at localhost zaptel-1.4.2.1]# `uname -r` bash: 2.6.20-1.2320.fc5: command not found Using cat/proc/version: [root at localhost zaptel-1.4.2.1]# cat /proc/version Linux version 2.6.20-1.2320.fc5 (brewbuilder at hs20-bc2-2.build.redhat.com) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 Tue Jun 12 18:50:38 EDT 2007 4) I got an error when I do make linux26 or make, as following, why??? I do not know!! Any help? [root at localhost zaptel-1.4.2.1]# make linux26 make[1]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[2]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[3]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' autoconf autoconf: no input file make[3]: *** [config.h] Error 1 make[3]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' make[2]: *** [mxml/libmxml.a] Error 2 make[2]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make: *** [menuselect/menuselect] Error 2 [root at localhost zaptel-1.4.2.1]# make make[1]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[2]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[3]: Entering directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' autoconf autoconf: no input file make[3]: *** [config.h] Error 1 make[3]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml' make[2]: *** [mxml/libmxml.a] Error 2 make[2]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' make: *** [menuselect/menuselect] Error 2 Any thing else that I have to check it? Please advise me. Regards Bilal ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
Hi Steve; I did what I told me below, and look like going fine but I do not know how can I know that zaptel compilation was implemented successfully specially I do not have a message in the end indicate this, please find below what the make and make install commands (for zaptel compilation) was ended by (please let me know if that is normal and the compilation was successfully done): This for make: make[2]: Leaving directory `/usr/src/asterisk-1.4/zaptel-1.4/xpp/utils' gcc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c gcc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c gcc -shared -Wl,-soname,libtonezone.so.1.0 -o libtonezone.so zonedata.lo tonezone.lo -lm make[1]: Leaving directory `/usr/src/asterisk-1.4/zaptel-1.4' This for make install: *** *** WARNING: *** If you had custom settings in /etc/modprobe.d/zaptel, *** they have been moved to /etc/modprobe.d/zaptel.bak. *** *** In the future, do not edit /etc/modprobe.d/zaptel, but *** instead put your changes in another file *** in the same directory so that they will not *** be overwritten by future Zaptel updates. *** Regards Bilal>bilal ghayyad wrote: > Hi List; > > Maybe I have to resummarize my problem with Zaptel > Compilation: > > I am getting the error while I am compilaing Zaptel > when I ran the command "make linux26", although Idid> the: software symbolic link, ./configure, and I > checked my kernel is 2.6.20-1.2320.fc5 which typical > for the output of cat cat/proc/version. What shouldI> do more? > > Please find below all the results of the abovesteps,> and I hope if any one can help me and advise mewhere> is my mistake or what else I have to do? > > 1) I have a soft symbolic link and we can see it as > following: > > [root at localhost /]# cd lib/modules/2.6.20-1.2320.fc5 > [root at localhost 2.6.20-1.2320.fc5]# ls -l > total 1328 > lrwxrwxrwx 1 root root 47 Jun 24 23:47 build -> > ../../../usr/src/kernels/2.6 .20-1.2320.fc5-i686 > drwxr-xr-x 2 root root 4096 Jun 13 02:28 extra > drwxr-xr-x 9 root root 4096 Jun 24 23:47 kernel > -rw-r--r-- 1 root root 280802 Jun 24 23:47 > modules.alias > -rw-r--r-- 1 root root 69 Jun 24 23:47 > modules.ccwmap > -rw-r--r-- 1 root root 277363 Jun 24 23:47modules.dep> -rw-r--r-- 1 root root 813 Jun 24 23:47 > modules.ieee1394map > -rw-r--r-- 1 root root 206 Jun 24 23:47 > modules.inputmap > -rw-r--r-- 1 root root 12236 Jun 24 23:47 > modules.isapnpmap > -rw-r--r-- 1 root root 216224 Jun 24 23:47 > modules.pcimap > -rw-r--r-- 1 root root 967 Jun 24 23:47 > modules.seriomap > -rw-r--r-- 1 root root 121611 Jun 24 23:47 > modules.symbols > -rw-r--r-- 1 root root 332324 Jun 24 23:47 > modules.usbmap > lrwxrwxrwx 1 root root 5 Jun 24 23:47 source -> > build > drwxr-xr-x 2 root root 4096 Jun 13 02:28 updates > > 2) I did ./configure successfully as following: > > [root at localhost /]# cd > usr/src/asterisk-1.4.4/zaptel-1.4.2.1 > [root at localhost zaptel-1.4.2.1]# ./configure > 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 ISO C89... none > needed > checking how to run the C preprocessor... 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... yes > checking newt.h usability... yes > checking newt.h presence... yes > checking for newt.h... yes > checking for usb_init in -lusb... yes > checking usb.h usability... yes > checking usb.h presence... yes > checking for usb.h... yes > configure: creating ./config.status > config.status: creating build_tools/menuselect-deps > config.status: creating makeopts > configure: *** Zaptel build successfully configured > *** > > 3) My kernel version is: > > Using `uname -r`: > > [root at localhost zaptel-1.4.2.1]# `uname -r` > bash: 2.6.20-1.2320.fc5: command not found > > Using cat/proc/version: > > [root at localhost zaptel-1.4.2.1]# cat /proc/version > Linux version 2.6.20-1.2320.fc5 > (brewbuilder at hs20-bc2-2.build.redhat.com) (gccversion> 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 Tue Jun 12 > 18:50:38 EDT 2007 > > 4) I got an error when I do make linux26 or make, as > following, why??? I do not know!! Any help? > > [root at localhost zaptel-1.4.2.1]# make linux26 > make[1]: Entering directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[2]: Entering directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[3]: Entering directory >`/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml'> autoconf > autoconf: no input file > make[3]: *** [config.h] Error 1 > make[3]: Leaving directory >`/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml'> make[2]: *** [mxml/libmxml.a] Error 2 > make[2]: Leaving directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make: *** [menuselect/menuselect] Error 2 > [root at localhost zaptel-1.4.2.1]# make > make[1]: Entering directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[2]: Entering directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[3]: Entering directory >`/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml'> autoconf > autoconf: no input file > make[3]: *** [config.h] Error 1 > make[3]: Leaving directory >`/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect/mxml'> make[2]: *** [mxml/libmxml.a] Error 2 > make[2]: Leaving directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/usr/src/asterisk-1.4.4/zaptel-1.4.2.1/menuselect' > make: *** [menuselect/menuselect] Error 2 > > Any thing else that I have to check it? Pleaseadvise> me. > > Regards > Bilal >Remove the whole zaptel directory and its contents. Download via SVN or tar.gz and extract. (Start from scratch). cd into the directory and ./configure then make && make install. Only issue these commands. Do not do anything but what is above and let me know if it works. Thanks, Steve Totaro ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/
bilal ghayyad wrote:> Hi List; > > I am facing a problem relaed to menuselect when I am > trying to compile zaptel -1.4.2.1, the error as > following: > > [root at localhost zaptel-1.4.2.1]# make linux26 > mYou no longer need to do a make linux26. Just delete the zaptel directory and extract a fresh copy from the .gz file. Do the following: ./configure make make install You were carbon copied on this email, since it's taking days for it to show up on the list. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."