[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem med Asterisk



Hej,
Ja, det här är ingen Asterisk relaterad lista, men mina meddelanden till den engelska listan kommer inte fram! Kanske någon här kan hjälpa till då det verkar finnas några som kör det!
Har altså använt apt-get build-dep asterisk
Har linux-headers-2.6.17-2 installerat. Hämtade ner senaste versionen av Asterisk, libpri och zaptel från Digiums FTP. Något med version 1.4.
Först installerade jag libpri, vilket verkade gå bra.
Sen skulle jag installera Zaptel. Först skrev jag make linux26. Här är vad som hände då:
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 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
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
configure: *** Zaptel build successfully configured ***
****
**** The configure script was just executed, so 'make' needs to be
**** restarted.
****
make: *** [config.status] Error 1
Skrev då make linux26 igen och då fortsatte den.
Sen skrev jag make install. Då hände följande:
make[1]: Entering directory `/root/zaptel-1.4.0-beta2'
make -C /lib/modules/2.6.17-2-686/build SUBDIRS=/root/zaptel-1.4.0-beta2 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-2-686'
  Building modules, stage 2.
  MODPOST
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_direct_write' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_direct_read' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_indirect_write' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'slic_cmd_indirect_read' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
WARNING: /root/zaptel-1.4.0-beta2/xpp/xpd_fxs: 'dump_slic_cmd' exported twice. Previous export was in /root/zaptel-1.4.0-beta2/xpp/xpd_fxo.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-2-686'
make[1]: Leaving directory `/root/zaptel-1.4.0-beta2'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
if [ -d /usr/lib/hotplug/firmware ]; then \
		/usr/bin/install -c -m 644 wct4xxp/*.ima /usr/lib/hotplug/firmware; \
	fi
if [ -d /lib/firmware ]; then \
		/usr/bin/install -c -m 644 wct4xxp/*.ima /lib/firmware; \
	fi
Installed firmware
/usr/bin/install -c -D -m 755 libtonezone.a /usr/lib/libtonezone.a
/usr/bin/install -c -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
if [ -z "" -a `id -u` = 0 ]; then \
		/sbin/ldconfig || : ;\
	fi
rm -f /usr/liblibtonezone.so
/bin/ln -sf libtonezone.so.1.0 \
		/usr/lib/libtonezone.so.1
/bin/ln -sf libtonezone.so.1.0 \
		/usr/lib/libtonezone.so
if [ -z "" && -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so; fi
/bin/sh: line 0: [: missing `]'
/usr/bin/install -c -D -m 644 zaptel.h /usr/include/zaptel/zaptel.h
/usr/bin/install -c -D -m 644 tonezone.h /usr/include/zaptel/tonezone.h
/usr/bin/install: cannot create regular file `/usr/include/zaptel/tonezone.h': No such file or directory
make: *** [install-include] Error 1
Vad gör jag för fel?
Är ny till Debian
Tack för all hjälp!
Mvh,
Christian



Reply to: