[BALU] asterisk 1.4 and zaptel compile on ubuntu

Daniel Hallmark daniel.hallmark at gmail.com
Thu Jun 7 15:34:06 CDT 2007


I don't know how ubuntu works, but SuSE distributes the kernel source
in unconfigured state.  So if I have kernel 2.6.13-15.15-default and
sources 2.6.13-15.15-default, they are the same version but the config
files in the source tree don't exactly match what the compiled running
version of the kernel.

Prior to compiling any drivers, etc. I have to

cd /usr/src/linux
make cloneconfig
make modules_prepare

That sets up the kernel source tree to be ready for driver compiles.
There is *nothing* in my /lib/modules/<ver>/misc except for the single
zaptel.ko file, so I'm assuming that the directory was created during
the installation of the zaptel driver.  If the zaptel build and
install had not completed correctly I would expect the misc directory
would not exist.

Daniel


On 6/7/07, Allan Wilson <allanwilson at gmail.com> wrote:
> Okay, I got the box upgraded to Feisty and I installed the kernel source and
> headers. I did the following steps and got an error when I tried to make the
> kernel.
>
> cd /usr/src
> sudo tar xjvf linux-source-2.6.tar.bz2
> sudo ln -s /usr/src/linux-source-2.6.20 /usr/src/linux
> sudo mv /usr/src/linux/include /usr/src/linux/include2
> sudo ln -s /usr/src/linux-headers-2.6.20-15/include /usr/src/linux/include
> cd linux
> /usr/src/linux$ sudo make
> scripts/kconfig/conf -s arch/i386/Kconfig
> ***
> *** You have not yet configured your kernel!
> ***
> *** Please run some configurator (e.g. "make oldconfig" or
> *** "make menuconfig" or "make xconfig").
> ***
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
> make: *** No rule to make target `include/config/auto.conf', needed by
> `include/config/kernel.release
> '.  Stop.
> zm at australia:/usr/src/linux$
>
> Then I went ahead and tried to complile and install zaptel. It installed
> with no errors but after running updatedb and searching for zaptel it didn't
> find anything but what was in the /usr/src/zaptel directory. Any ideas on
> where I went wrong. Also I dont even have a misc directory in
> /lib/modules/2.6.20?????/.



More information about the Members mailing list