[Asterisk-Users] Re: Fresh checkout Zaptel will not compile?

Tony Mountifield tony at softins.clara.co.uk
Tue Nov 1 08:10:15 MST 2005


In article <dk7v3e$bh3$1 at softins.clara.co.uk>,
Tony Mountifield <tony at softins.clara.co.uk> wrote:
> 
> No, the problem is that you don't have the kernel development files
> installed. I don't know what you need to apt in Debian: in Fedora
> you would need to install kernel-devel or kernel-sources depending
> on which release of Fedora.
> 
> The clue is the TWO spaces between -C and SUBDIRS. The original
> makefile command is:
> 
> $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
> 
> But $(KSRC) is evaluating as empty.
> 
> The "argument expected" line is an error in an earlier makefile
> line:
> 
> @if [ -z "$(KSRC)" -o ! -d $(KSRC) ]; then echo "You do not appear.....
> 
> The second $(KSRC) should also be enclosed in quotes, so as not to
> cause a syntax error when $(KSRC) is empty or undefined.

I've just reported this on Mantis. http://bugs.digium.com/view.php?id=5559

Cheers
Tony

-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list