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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua M.
Thompson
Sent: Thursday, May 20, 2004 5:11 AM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to