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
No need to modify the Makefile. (Unless you really want to). Just use the following command at your prompt. Bash will pass in the KSRC variable into the make system. KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make Also, you might try forcing a reload of the -devel package, then seeing if that fixes the build directory. -- Russ Meyerriecks Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA direct: +1 256-428-6025 Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- 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
