LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-20-2014, 02:03 AM   #1
infantheartlyjes
LQ Newbie
 
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
Basic 256 Bison Compile Error in Ubuntu


I have downloaded Basic 256 Source code from sourceforge.net. I took the LEX Folder copied it into different location and compiled it as
bison -d basicParse.y

I have got the below Error. I don't know how to fix it.

basicParse.y:380 parser name defined to default :"parse"
basicParse.y:1231: warning: type clash ('' 'number') on default action
basicParse.y:1232: warning: type clash ('' 'number') on default action
basicParse.y:1233: warning: type clash ('' 'number') on default action
basicParse.y:1234: warning: type clash ('' 'number') on default action
basicParse.y:1235: warning: type clash ('' 'number') on default action
basicParse.y:1236: warning: type clash ('' 'number') on default action
basicParse.y:1237: warning: type clash ('' 'number') on default action
basicParse.y:1238: warning: type clash ('' 'number') on default action
basicParse.y:1239: warning: type clash ('' 'number') on default action
basicParse.y:1240: warning: type clash ('' 'number') on default action
basicParse.y:1241: warning: type clash ('' 'number') on default action
basicParse.y:1384: warning: type clash ('' 'number') on default action
basicParse.y:1385: warning: type clash ('' 'number') on default action
basicParse.y:1386: warning: type clash ('' 'number') on default action
basicParse.y:1387: warning: type clash ('' 'number') on default action
basicParse.y:1388: warning: type clash ('' 'number') on default action
basicParse.y:2571: warning: type clash ('' 'floatnum') on default action
basicParse.y:2572: warning: type clash ('' 'string') on default action
basicParse.y contains 3 shift/reduce conflicts.
"basicParse.y", line 3452: maximum table size (32767) exceeded
"basicParse.y", line 3452: maximum table size (32767) exceeded
*** glibc detected *** bison: double free or corruption (!prev): 0x095d24b0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x73e42)[0x401e1e42]
/lib/i386-linux-gnu/libc.so.6(fclose+0x154)[0x401d1384]
bison[0x804eb1f]
bison[0x804fe9a]
bison[0x8052bb3]
bison[0x8052cf0]
bison[0x8052e78]
bison[0x8052ef6]
bison[0x805007e]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x401874d3]
bison(__gxx_personality_v0+0x59)[0x8048db1]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:01 3813560 /usr/bin/bison
0805a000-0805b000 rw-p 00011000 08:01 3813560 /usr/bin/bison
095d2000-096f0000 rw-p 00000000 00:00 0 [heap]
40000000-40020000 r-xp 00000000 08:01 2753419 /lib/i386-linux-gnu/ld-2.15.so
40020000-40021000 r--p 0001f000 08:01 2753419 /lib/i386-linux-gnu/ld-2.15.so
40021000-40022000 rw-p 00020000 08:01 2753419 /lib/i386-linux-gnu/ld-2.15.so
40022000-40023000 r-xp 00000000 00:00 0 [vdso]
40023000-40026000 rw-p 00000000 00:00 0
40027000-4002a000 rw-p 00000000 00:00 0
4002b000-4002c000 rw-p 00000000 00:00 0
4003b000-40118000 r-xp 00000000 08:01 3814236 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.18
40118000-4011c000 r--p 000dc000 08:01 3814236 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.18
4011c000-4011d000 rw-p 000e0000 08:01 3814236 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.18
4011d000-40124000 rw-p 00000000 00:00 0
40124000-4014e000 r-xp 00000000 08:01 2753471 /lib/i386-linux-gnu/libm-2.15.so
4014e000-4014f000 r--p 00029000 08:01 2753471 /lib/i386-linux-gnu/libm-2.15.so
4014f000-40150000 rw-p 0002a000 08:01 2753471 /lib/i386-linux-gnu/libm-2.15.so
40150000-40151000 rw-p 00000000 00:00 0
40151000-4016c000 r-xp 00000000 08:01 2752535 /lib/i386-linux-gnu/libgcc_s.so.1
4016c000-4016d000 r--p 0001a000 08:01 2752535 /lib/i386-linux-gnu/libgcc_s.so.1
4016d000-4016e000 rw-p 0001b000 08:01 2752535 /lib/i386-linux-gnu/libgcc_s.so.1
4016e000-4030d000 r-xp 00000000 08:01 2753439 /lib/i386-linux-gnu/libc-2.15.so
4030d000-4030f000 r--p 0019f000 08:01 2753439 /lib/i386-linux-gnu/libc-2.15.so
4030f000-40310000 rw-p 001a1000 08:01 2753439 /lib/i386-linux-gnu/libc-2.15.so
40310000-40315000 rw-p 00000000 00:00 0
bff71000-bff92000 rw-p 00000000 00:00 0 [stack]
make: *** [all] Aborted (core dumped)
 
Old 07-03-2014, 11:28 PM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 351

Rep: Reputation: 33
You may find an answer in one of these threads:

http://continentalroast.blogspot.com...ror-bison.html
http://www.linuxquestions.org/questi...source-831907/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
php compile errors - found not - flex , bison , re2c clubbing80s Linux - Software 4 04-30-2011 12:16 AM
Is there any support for bison-bridge and bison-locations in flex on windows systems? rami alkhateeb Linux - Software 0 12-29-2010 09:10 AM
basic 256 freezes with Ubuntu 10.04 and 10.10 geoff1234 Linux - Newbie 3 11-14-2010 01:09 PM
[SOLVED] Problem compiling BASIC-256 from source Nabeel Ubuntu 17 09-26-2010 01:09 PM
bison-1.875... error during ./configure help!!! marsques Linux From Scratch 6 02-04-2004 01:31 PM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration