<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: Scott Tam <defect.me,AT,gmail,DOT,com>
Subject: Re: Syntax error near unexpected token `UTS_RELEASE,'
From: "Dick St.Peters" <stpeters,AT,NetHeaven,DOT,com>
Date: Mon, 7 Nov 2005 12:37:51 -0500
Cc: cipe-l,AT,inka,DOT,de
Dkim-signature: a=rsa-sha1; c=nowsp; d=netheaven.com; s=saint; t=1131385071; h=X-DomainKeys: DomainKey-Signature:Received:Message-ID:Date:From:To:Cc:Subject: In-Reply-To:References:X-Mailer; b=myJIQsal0KWAiAqZCQiDxLYk/UrKa+vgB1m7whONceS5QvbHTXjcscKL6T1yosRaI2CUuk6jmyCJ68CWs47AZg==
Domainkey-signature: a=rsa-sha1; s=saint; d=netheaven.com; c=nofws; q=dns;h=received:message-id:date:from:to:cc:subject:in-reply-to:references:x-mailer;b=Liz+thSlwMzNNLuVYpU0WaQUCAiNeTC6jUdDS3wObsagztPwdtsvgFdoTDRAlc0uNgpBkbqz0GDyLPoJCoDZMA==
In-reply-to: <b8509ee60511060450o730baf0cp4f7a04ec2feb5f75@mail.gmail.com>
References: <b8509ee60511060441p3a4bff0eo8c4491e0fd48c299@mail.gmail.com><b8509ee60511060446k2d3df152s842def15f8bf1814@mail.gmail.com><b8509ee60511060450o730baf0cp4f7a04ec2feb5f75@mail.gmail.com>

Scott Tam writes:
> Sorry if this a trivial question, but i'm completly new to linux and cipe
> I get an error message:
> checking for kernel version... ./configure: line 2540: syntax error
> near unexpected token `UTS_RELEASE,'
> ./configure: line 2540: `AX_MACRO_STR(UTS_RELEASE, linux/version.h)'
> could someone please help me please?


It looks like you are trying to build cipe without having a kernel
build directory.  It also looks like you're not using the latest cipe

To build cipe you need to have a kernel source directory that has been
used to build a kernel.  The process of building a kernel creates a
file include/linux/version.h, and in that file UTS_RELEASE is defined
as a string with the full kernel version (as returned by "uname -r").

If you didn't have a kernel source directory you'd get a diffferent
error, so presumably you have one.  You'd also have gotten a differnt
error with a clean, unused source directory with no version.h file.
It looks like you have a source directory with a version.h file that
has no UTS_RELEASE definition in it.  This should not happen without
someone manually creating an incomplete version.h file.

I think the reference to line 2540 implies you're using a pre-release
version of cipe 1.6.  Version 1.6.0 has been out for some time, and
for it the UTS_RELEASE check is usually done at about line 2100.

If you're "completly new to linux", trying to build cipe is a tough
place to start.

Dick St.Peters, stpeters,AT,NetHeaven,DOT,com 

<< | Thread Index | >> ]    [ << | Date Index | >> ]