[Asterisk-Users] fc5 and link to sources?
Rich Adamson
radamson at routers.com
Fri May 12 15:30:17 MST 2006
Carlos Alperin wrote:
> Rich,
>
> Check what is the content of /lib/modules/2.6.15-1.2054_FC5/build?
I see:
[root at localhost build]# ls
arch crypto init MAINTAINERS README usr
block Documentation ipc Makefile REPORTING-BUGS
configs drivers Kbuild Makefile.orig scripts
COPYING fs kernel mm security
CREDITS include lib net sound
[root at localhost build]#
which I thought was correct.
> If it is empty, then you need to do yum install kernel-devel again.
>
> Also you can check running uname -a to see if you have the same release that
> the one that you're checking.
Its a new install, no updates, so only a single kernel installed.
[root at localhost build]# uname -r
2.6.15-1.2054_FC5
which exactly matches the kernel source download/install.
About six of the source files in the zaptel directory compile, however
it barfs with several hundred errors when compiling zaptel.c.
Rich
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Rich Adamson
> Sent: Friday, May 12, 2006 4:30 PM
> To: Asterisk Users-List
> Subject: [Asterisk-Users] fc5 and link to sources?
>
> Just installed fc5, installed correct kernel source, and trying to
> compile zaptel-1.2. Changed the link in /lib/modules/2.6.15-1.2054_FC5
> to point to /usr/src/redhat/SOURCES. Like:
> lrwxrwxrwx 1 root root 23 May 12 15:21 build -> /usr/src/redhat/SOURCES
>
> A 'make install' still complains with:
> make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/usr/src/zaptel-1.2
> modules
> make[1]: Entering directory `/usr/src/redhat/SOURCES'
> make[1]: *** No rule to make target `modules'. Stop.
> make[1]: Leaving directory `/usr/src/redhat/SOURCES'
> make: *** [linux26] Error 2
>
> What am I missing here? (must be pretty simple or I need more caffeine)
>
> Rich
More information about the asterisk-users
mailing list