[Asterisk-Users] Fedora Core 2 and Kernel 2.6

Sam Bingner sam at bingner.com
Sat May 22 00:59:33 MST 2004


Really you should link /usr/src/linux-2.6 to /lib/modules/`uname -r`/build
then you don't have to do anything special and it'll build...  That
directory and all the files in it are installed by the kernel rpm, you
don't even need kernel-source for it... Although I haven't tried compiling
without it installed

I patched my zaptel Makefile to just reference that directory

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Joshua M.
Thompson
Sent: Thursday, May 20, 2004 5:11 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Fedora Core 2 and Kernel 2.6


On Thu, 2004-05-20 at 05:12, WipeOut wrote:

> When trying to build zaptel it required me to link /usr/scr/linux-2.6
> to
> the default source dir which is /usr/src/linux-2.6.5-1.358.. I guess
> thats still the RH infulence.. :)
>
> After than I tried again but the page rolls with errors and finally
> ends
> with..
>
> make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
> make[1]: *** [/usr/src/zaptel] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.5-1.358'
> make: *** [linux26] Error 2
>
> Anyone got ant ideas?

You'll need to configure the source tree before zaptel will compile. The
config files are in /usr/src/linux-2.6/configs...copy the one that matches
what you're running to /usr/src/linux-2.6/.config and then run "make
oldconfig". Zaptel should compile after that.

--
Joshua M. Thompson <funaho at jurai.org>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3047 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040522/17bc3dd4/smime.bin


More information about the asterisk-users mailing list