[BALU] asterisk 1.4 and zaptel compile on ubuntu

Allan Wilson allanwilson at gmail.com
Thu Jun 7 16:50:47 CDT 2007

I tried both
make cloneconfig
make modules_prepare
with no luck. I don't think Ubuntu likes either one. I have done some
searching and not having much look on compiling the kernel. Everyone tries
to make it a deb and install the kernel that way.

The headers in /usr/include should match whatever kernel glibc was
> compiled against, so what you just did is not correct.  The kernel
> headers package provided by your distribution is the one that you
> almost certainly should be using.
> Since the zaptel module is compiling against your running kernel,
> it's going to look for those kernel sources in this directory:
> /lib/modules/$(uname -r)/build  -- that should be a symlink to
> wherever that kernel's source is.  Assuming you pulled the
> kernel-source package from your distribution repository, I would
> expect that to already be set up properly.

You where dead on, this is setup like you said.

You should be able to get the config of your running kernel at
> /proc/config.gz -- to put it into the right place, this should
> work:  zcat /proc/config.gz > /lib/modules/$(uname -r)/build/.config

I understand what you are saying and it makes sense. I just need the files
there to compile against. The problem, I don't have config.gz on my system.
Does it store it as something else on Ubuntu?

As a final note, I feel it's only fair to say that I've never even
> attempted to do anything with asterix, nor do I use Ubuntu.  The
> information I posted above is generic, and as such, should apply
> pretty universally in theory, but we all know how that can work...

Thanks for the input, I'll take what I can get.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://bham-lug.org/pipermail/members/attachments/20070607/0f552e98/attachment.html>

More information about the Members mailing list