Bug#368561: Cannot make zaptel-source: SUBDIR not found

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue May 23 03:25:49 UTC 2006


On Tue, May 23, 2006 at 04:49:49AM +0200, Jørgen Elgaard Larsen wrote:
> Package: zaptel-source
> Version: 1:1.0.7-4.1
> Severity: normal
> 
> 
> When trying to run make on zaptel-source, it seems unable to find the current
> working directory. 
> 
> When running make, I get this response:
> 
> 
> chimay:/usr/src/modules/zaptel# make
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o gendigits.o gendigits.c
> cc -o gendigits gendigits.o -lm
> ./gendigits
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    makefw.c   -o makefw
> ./makefw tormenta2.rbt tor2fw > tor2fw.h
> Loaded 69900 bytes from file
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztcfg.o ztcfg.c
> cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char
> -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE
> -o zonedata.lo zonedata.c
> cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char
> -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE
> -o tonezone.lo tonezone.c
> ar rcs libtonezone.a zonedata.lo tonezone.lo
> cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o torisatool.o torisatool.c
> cc -o torisatool torisatool.o
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztmonitor.o ztmonitor.c
> cc -o ztmonitor ztmonitor.o
> cc -c ztspeed.c
> cc -o ztspeed ztspeed.o
> cc -I. -O4 -g -Wall -DBUILDING_TONEZONE  -fsigned-char  -DSTANDALONE_ZAPATA
> -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    zttest.c   -o zttest
> make -C  SUBDIRS=/usr/src/modules/zaptel modules
> make: *** SUBDIRS=/usr/src/modules/zaptel: No such file or directory.  Stop.
> make: *** [linux26] Error 2
> 
> chimay:/usr/src/modules/zaptel# uname -a
> Linux chimay 2.6.8-elgaard #3 Tue May 23 03:31:30 CEST 2006 i686 GNU/Linux
> 
> chimay:/usr/src/modules/zaptel# pwd
> /usr/src/modules/zaptel
> 
> 
> 
> 
> If I need to run make with some arguments, please provide an INSTALL file with instructions.
> 

Try using module-assistant instead of extracting the tarball and
building:

  m-a -k /full/path/to/kernel/dir -u . -i -t build zaptel

"kernel dir" is the directory that includes the configured kernel source
or a directory from a proper kerne;-headers package.


This should work unless you need to change the tarball.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com




More information about the Pkg-voip-maintainers mailing list