2011-08-16 00:14:02

by Panu Avakul

[permalink] [raw]
Subject: Problem Building carl9170

Hello, I was trying to build carl9170 firmware from the source on the
git repository.
The toolchain build with no problem.
However, when I run autogen.sh
it give me a cmake error message
CMake Error: Parse error in cache file
/home/radius0014/carl9170fw/config/CMakeCache.txt.
I tried deleting it and re run autogen.sh but still no different.
I was wondering if any one had similar problem and any advice on how I
should resolve it.
I am running this on ubuntu 11.04
Thank you very much
Best Regard,
Panu


2011-08-16 03:53:28

by Panu Avakul

[permalink] [raw]
Subject: Re: Problem Building carl9170

Hello, thank you for your reply,
I'm not sure if this is the correct method to reply to a mailing list,
but I have not used a lot of mailing list before.
There was the offending entry line, however it shown some person name
and his email address so I didn't think it was appropriate to include
in the mail.
I'll keep trying to see what went wrong. If anyone happen to have any
ideas what went wrong please let me know.
Best Regard
Panu

On Mon, Aug 15, 2011 at 5:58 PM, Christian Lamparter
<[email protected]> wrote:
> On Tuesday, August 16, 2011 02:14:01 AM Panu Avakul wrote:
>> I was trying to build carl9170 firmware from the source on the
>> git repository. The toolchain build with no problem. However,
>> when I run autogen.sh it give me a cmake error message
>> CMake Error: Parse error in cache file ...config/CMakeCache.txt.
>> I tried deleting it and re run autogen.sh but still no different.
>> I was wondering if any one had similar problem and any advice on
>> how I should resolve it. I am running this on ubuntu 11.04
> No? You are the first to report an issue. However, I wonder what
> happened to the "offending entry" line.
>
> Regards,
> ? ? ? ?Chr
>

2011-08-20 00:31:27

by Christian Lamparter

[permalink] [raw]
Subject: bison++ detection (was: Problem Building carl9170)

On Wednesday, August 17, 2011 03:03:16 AM Panu Avakul wrote:
> Hello, some one in the cmake mailing list point out to me that
> In line 296 of the CMakeCache.txt
> FIND_PACKAGE_MESSAGE_DETAILS_BISON:INTERNAL=[/usr/bin/bison][vbison++
> Version 1.21.9-1, adapted from GNU bison by [email protected]
> Maintained by Magnus Ekdahl <[email protected]>()]
>
> There is a \n character in it.
> I went to tried use command bison --version and it print out the same
> lines in two separate line and that might be where the parsing problem
> came from.
I don't think that the \n is a problem, because my bison prints lots of
them as well.

$ bison --version
> bison (GNU Bison) 2.4.1
> Written by Robert Corbett and Richard Stallman.
>
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But apparently, bison++ is not compatible with bison files we use [actually,
the build system kconfig was taken from the linux kernel]. I would suggest to
try the original non-plusplus bison: http://packages.ubuntu.com/natty/bison

Anyway, carl9170 uses cmake's own bison detection script from
/usr/share/cmake-2.8/Modules/FindBISON.cmake
So I guess there should be a note somewhere that the current
FindBISON.cmake does not work with bison++ very well and it
should be able to detect the incompatible bison++ in the
future.

Regards,
Chr

2011-08-16 00:58:48

by Christian Lamparter

[permalink] [raw]
Subject: Re: Problem Building carl9170

On Tuesday, August 16, 2011 02:14:01 AM Panu Avakul wrote:
> I was trying to build carl9170 firmware from the source on the
> git repository. The toolchain build with no problem. However,
> when I run autogen.sh it give me a cmake error message
> CMake Error: Parse error in cache file ...config/CMakeCache.txt.
> I tried deleting it and re run autogen.sh but still no different.
> I was wondering if any one had similar problem and any advice on
> how I should resolve it. I am running this on ubuntu 11.04
No? You are the first to report an issue. However, I wonder what
happened to the "offending entry" line.

Regards,
Chr

2011-08-17 01:03:17

by Panu Avakul

[permalink] [raw]
Subject: Re: Problem Building carl9170

Hello, some one in the cmake mailing list point out to me that
In line 296 of the CMakeCache.txt
FIND_PACKAGE_MESSAGE_DETAILS_BISON:INTERNAL=[/usr/bin/bison][vbison++
Version 1.21.9-1, adapted from GNU bison by [email protected]
Maintained by Magnus Ekdahl <[email protected]>()]

There is a \n character in it.
I went to tried use command bison --version and it print out the same
lines in two separate line and that might be where the parsing problem
came from.

I cannot figure out a way to feed cmake the pre made CMakeCache.txt
with out having cmake overwrite it so I change something in the
autogen.sh so that it delete CMakeCache.txt after the cmake . line.
With this, I was able to move to the first make line in the autogen.sh.
and it give me another error which I have no idea about.
I have included what the terminal give me after running autogen.sh.
Any one happen to see this kind of error before?
Have any one successfully build carl9170 in ubuntu 11.04 before?
Thank you very much
Best Regard,
Panu Avakul


On Mon, Aug 15, 2011 at 8:53 PM, Panu Avakul <[email protected]> wrote:
> Hello, thank you for your reply,
> I'm not sure if this is the correct method to reply to a mailing list,
> but I have not used a lot of mailing list before.
> There was the offending entry line, however it shown some person name
> and his email address so I didn't think it was appropriate to include
> in the mail.
> I'll keep trying to see what went wrong. ?If anyone happen to have any
> ideas what went wrong please let me know.
> Best Regard
> Panu
>
> On Mon, Aug 15, 2011 at 5:58 PM, Christian Lamparter
> <[email protected]> wrote:
>> On Tuesday, August 16, 2011 02:14:01 AM Panu Avakul wrote:
>>> I was trying to build carl9170 firmware from the source on the
>>> git repository. The toolchain build with no problem. However,
>>> when I run autogen.sh it give me a cmake error message
>>> CMake Error: Parse error in cache file ...config/CMakeCache.txt.
>>> I tried deleting it and re run autogen.sh but still no different.
>>> I was wondering if any one had similar problem and any advice on
>>> how I should resolve it. I am running this on ubuntu 11.04
>> No? You are the first to report an issue. However, I wonder what
>> happened to the "offending entry" line.
>>
>> Regards,
>> ? ? ? ?Chr
>>
>


Attachments:
log_file (4.75 kB)