Re: Syntax error near unexpected token `UTS_RELEASE,'

Scott Tam <[email protected]> Tue, 8 Nov 2005 15:51:47 +1100
Newsgroups gmane.comp.encryption.cipe
Message-ID <[email protected]>
Hi,

I thought 1.6 was the latest release because i couldn't see any later relea=
ses.

I've specified the source directory but i added '-2.4'. i hope i've
changed it on the right line! I haven't specified the build directory
because i wasn't sure where it is. (plz don't laugh)

I did "cat /usr/include/linux/version.h"
and here is the result:

#define UTS_RELEASE "2.4.20"
#define LINUX_VERSION_CODE 132116
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

The whole time I should be only configuring 'configure.in' file right?

Yes i know its tough, but i have no choice.  I have to work with Linux.

On 11/8/05, Dick St.Peters <[email protected]> wrote:
> Hi,
>
> 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
> release.
>
> 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, [email protected]
>

--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>