Hi here again, I've tried both ways [root@shark dahdi-linux-2.6.3-rc1]# KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-358.6.2.el6.x86_64 kernel installed. make: *** [modules] Error 1
[root@shark dahdi-linux-2.6.3-rc1]# make KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware' make[1]: Leaving directory `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-358.6.2.el6.x86_64 kernel installed. make: *** [modules] Error 1 2013/6/4 Tzafrir Cohen <tzafrir.co...@xorcom.com> > On Tue, Jun 04, 2013 at 01:33:56PM -0600, troxlinux wrote: > > thnk Russ , I have seen the Makefile, but I see many KSRC, where exactly > would > > put > > > > KVERS:=$(shell uname -r) > > endif > > ifndef KSRC > > ifneq (,$(wildcard /lib/modules/$(KVERS)/build)) > > KSRC:=/lib/modules/$(KVERS)/build > > else > > KSRC_SEARCH_PATH:=/usr/src/linux > > KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; > then > > echo $$dir; break; fi; done) > > endif > > endif > > make KSRC=/full/path/to/kernel/headers/directory > > Makefiles allow you to override variables in the command line: if you > run 'make KSRC=whatever', the variable KSRC is defined, and hence make > will not get into the part between 'ifndef KSRC' and the corresponding > 'endif'. > > BTW: this is mentioned in the README of dahdi-linux: > http://docs.tzafrir.org.il/dahdi-linux/#_kernel_source_headers > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.co...@xorcom.com > +972-50-7952406 mailto:tzafrir.co...@xorcom.com > http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- rickygm http://gnuforever.homelinux.com
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users