<div dir="ltr">thnk Russ , <span id="result_box" class="" lang="en"><span class="">I have seen</span> <span class="">the Makefile</span><span class="">,</span> <span class="">but I see</span> <span class="">many</span> <span class="">KSRC</span><span>,</span> <span class="">where</span> <span class="">exactly</span> <span class="">would put<br>
<br>KVERS:=$(shell uname -r)<br>endif<br>ifndef KSRC<br> ifneq (,$(wildcard /lib/modules/$(KVERS)/build))<br> KSRC:=/lib/modules/$(KVERS)/build<br> else<br> KSRC_SEARCH_PATH:=/usr/src/linux<br> KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; then echo $$dir; break; fi; done)<br>
endif<br>endif<br><br></span></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/4 Russ Meyerriecks <span dir="ltr"><<a href="mailto:rmeyerriecks@digium.com" target="_blank">rmeyerriecks@digium.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jun 04, 2013 at 12:50:41PM -0600, troxlinux wrote:<br>
> ls -lat /lib/modules/`uname -r`/build<br>
> lrwxrwxrwx 1 root root 50 May 23 13:06<br>
> /lib/modules/2.6.32-358.6.2.el6.x86_64/build -><br>
> ../../../usr/src/kernels/2.6.32-358.6.2.el6.x86_64<br>
</div>This looks good.<br>
<div class="im"><br>
> ls -lat /lib/modules/`uname -r`/build/<br>
> total 8<br>
> drwxr-xr-x 3 root root 4096 May 24 22:02 ..<br>
> drwxr-xr-x 2 root root 4096 May 23 19:50 .<br>
> lrwxrwxrwx 1 root root 48 May 23 19:50<br>
> linux-headers-2.6.32-358.6.2.el6.x86_64 -><br>
> /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64<br>
> lrwxrwxrwx 1 root root 34 May 23 19:34 2.6.32-358.6.2.el6.x86_64 -><br>
> kernels/2.6.32-358.6.2.el6.x86_64/<br>
</div>Oops. It looks like your build directory didn't get setup<br>
correctly. I'd take a look at your -devel and -headers rpms to<br>
see what's up.<br>
<br>
As a workaround, you may be able to specify your headers directly<br>
with:<br>
KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make<br>
<br>
Also, thanks for using -rc! It really helps us out.<br>
<div class="HOEnZb"><div class="h5">--<br>
Russ Meyerriecks<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
direct: +1 256-428-6025<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com">http://gnuforever.homelinux.com</a>
</div>