All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem Building carl9170
@ 2011-08-16  0:14 Panu Avakul
  2011-08-16  0:58 ` Christian Lamparter
  0 siblings, 1 reply; 5+ messages in thread
From: Panu Avakul @ 2011-08-16  0:14 UTC (permalink / raw)
  To: linux-wireless

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem Building carl9170
  2011-08-16  0:14 Problem Building carl9170 Panu Avakul
@ 2011-08-16  0:58 ` Christian Lamparter
  2011-08-16  3:53   ` Panu Avakul
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Lamparter @ 2011-08-16  0:58 UTC (permalink / raw)
  To: Panu Avakul; +Cc: linux-wireless

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem Building carl9170
  2011-08-16  0:58 ` Christian Lamparter
@ 2011-08-16  3:53   ` Panu Avakul
  2011-08-17  1:03     ` Panu Avakul
  0 siblings, 1 reply; 5+ messages in thread
From: Panu Avakul @ 2011-08-16  3:53 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

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
<chunkeey@googlemail.com> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem Building carl9170
  2011-08-16  3:53   ` Panu Avakul
@ 2011-08-17  1:03     ` Panu Avakul
  2011-08-17  9:44       ` bison++ detection (was: Problem Building carl9170) Christian Lamparter
  0 siblings, 1 reply; 5+ messages in thread
From: Panu Avakul @ 2011-08-17  1:03 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 2367 bytes --]

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 coetmeur@icdc.fr
Maintained by Magnus Ekdahl <magnus@debian.org>()]

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 <avakulpa@gmail.com> 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
> <chunkeey@googlemail.com> 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
>>
>

[-- Attachment #2: log_file --]
[-- Type: application/octet-stream, Size: 4863 bytes --]

radius0014@radius0014-Inspiron-580:~/carl9170fw$ sudo ./autogen.sh 
Configuring...
~/carl9170fw/config ~/carl9170fw
check point 0//////////////////////////////////////////////////
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found BISON: /usr/bin/bison (found version "bison++ Version 1.21.9-1, adapted from GNU bison by coetmeur@icdc.fr
Maintained by Magnus Ekdahl <magnus@debian.org>")
-- Found FLEX: /usr/bin/flex (found version "/usr/bin/flex version 2.5.4")
-- Found GPERF: /usr/bin/gperf (found version "3.0.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/radius0014/carl9170fw/config
check point 1//////////////////////////////////////////////////
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found BISON: /usr/bin/bison (found version "bison++ Version 1.21.9-1, adapted from GNU bison by coetmeur@icdc.fr
Maintained by Magnus Ekdahl <magnus@debian.org>")
-- Found FLEX: /usr/bin/flex (found version "/usr/bin/flex version 2.5.4")
-- Found GPERF: /usr/bin/gperf (found version "3.0.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/radius0014/carl9170fw/config
[ 20%] [BISON][zconf] Building parser with bison bison++ Version 1.21.9-1, adapted from GNU bison by coetmeur@icdc.fr
Maintained by Magnus Ekdahl <magnus@debian.org>
zconf.y:49 parser name defined to default :"parse"
"zconf.y", line 94: junk after `%%' in definition section
"zconf.y", line 94: no input grammar
*** glibc detected *** /usr/bin/bison: double free or corruption (!prev): 0x085ca498 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0x401d3961]
/lib/i386-linux-gnu/libc.so.6(+0x6d28b)[0x401d528b]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x401d841d]
/lib/i386-linux-gnu/libc.so.6(fclose+0x14a)[0x401c39ca]
/usr/bin/bison[0x804eb1f]
/usr/bin/bison[0x805586b]
/usr/bin/bison[0x805596b]
/usr/bin/bison[0x8050047]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x4017ee37]
/usr/bin/bison(__gxx_personality_v0+0x59)[0x8048db1]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:05 8407142    /usr/bin/bison
0805a000-0805b000 rw-p 00011000 08:05 8407142    /usr/bin/bison
085ca000-085eb000 rw-p 00000000 00:00 0          [heap]
40000000-4001c000 r-xp 00000000 08:05 8913716    /lib/i386-linux-gnu/ld-2.13.so
4001c000-4001d000 r--p 0001b000 08:05 8913716    /lib/i386-linux-gnu/ld-2.13.so
4001d000-4001e000 rw-p 0001c000 08:05 8913716    /lib/i386-linux-gnu/ld-2.13.so
4001e000-4001f000 r-xp 00000000 00:00 0          [vdso]
4001f000-40026000 rw-p 00000000 00:00 0 
40027000-40028000 rw-p 00000000 00:00 0 
4003a000-40119000 r-xp 00000000 08:05 8395112    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
40119000-4011d000 r--p 000de000 08:05 8395112    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
4011d000-4011e000 rw-p 000e2000 08:05 8395112    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
4011e000-40125000 rw-p 00000000 00:00 0 
40125000-40149000 r-xp 00000000 08:05 8913766    /lib/i386-linux-gnu/libm-2.13.so
40149000-4014a000 r--p 00023000 08:05 8913766    /lib/i386-linux-gnu/libm-2.13.so
4014a000-4014b000 rw-p 00024000 08:05 8913766    /lib/i386-linux-gnu/libm-2.13.so
4014b000-4014c000 rw-p 00000000 00:00 0 
4014c000-40166000 r-xp 00000000 08:05 8913757    /lib/i386-linux-gnu/libgcc_s.so.1
40166000-40167000 r--p 00019000 08:05 8913757    /lib/i386-linux-gnu/libgcc_s.so.1
40167000-40168000 rw-p 0001a000 08:05 8913757    /lib/i386-linux-gnu/libgcc_s.so.1
40168000-402c2000 r-xp 00000000 08:05 8913729    /lib/i386-linux-gnu/libc-2.13.so
402c2000-402c3000 ---p 0015a000 08:05 8913729    /lib/i386-linux-gnu/libc-2.13.so
402c3000-402c5000 r--p 0015a000 08:05 8913729    /lib/i386-linux-gnu/libc-2.13.so
402c5000-402c6000 rw-p 0015c000 08:05 8913729    /lib/i386-linux-gnu/libc-2.13.so
402c6000-402cb000 rw-p 00000000 00:00 0 
40300000-40321000 rw-p 00000000 00:00 0 
40321000-40400000 ---p 00000000 00:00 0 
bfe08000-bfe29000 rw-p 00000000 00:00 0          [stack]
make[2]: *** [zconf.tab.c] Aborted
make[1]: *** [CMakeFiles/conf.dir/all] Error 2
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* bison++ detection (was: Problem Building carl9170)
  2011-08-17  1:03     ` Panu Avakul
@ 2011-08-17  9:44       ` Christian Lamparter
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Lamparter @ 2011-08-17  9:44 UTC (permalink / raw)
  To: Panu Avakul; +Cc: linux-wireless, cmake

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 coetmeur@icdc.fr
> Maintained by Magnus Ekdahl <magnus@debian.org>()]
>
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-20  0:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16  0:14 Problem Building carl9170 Panu Avakul
2011-08-16  0:58 ` Christian Lamparter
2011-08-16  3:53   ` Panu Avakul
2011-08-17  1:03     ` Panu Avakul
2011-08-17  9:44       ` bison++ detection (was: Problem Building carl9170) Christian Lamparter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.