LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2009, 02:33 PM   #1
niteshg
LQ Newbie
 
Registered: Nov 2004
Location: NJ
Posts: 29

Rep: Reputation: 15
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared


I have vmware running on windows with fedora core 9 as virtual os.
I am trying to install simplescalar simulator tool on it.

but while running "make" command for simpleutils installation I get the following error

ldlex.l: In function ‘yy_input’:
ldlex.l:589: error: ‘yy_current_buffer’ undeclared (first use in this function)
ldlex.l:589: error: (Each undeclared identifier is reported only once
ldlex.l:589: error: for each function it appears in.)
make[3]: *** [ldlex.o] Error 1
make[3]: Leaving directory `/home/vmplanet/SIMPLE_SCALAR/simpleutils-990811/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vmplanet/SIMPLE_SCALAR/simpleutils-990811/ld'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/vmplanet/SIMPLE_SCALAR/simpleutils-990811/ld'
make: *** [all-ld] Error 2



I follwed all the steps mentioned in the
http://harryscode.blogspot.com/2008/...plescalar.html
or
http://www.seas.gwu.edu/~cheng/211/P...ux-install.txt

i would really appreciate any pointers on this issue.
 
Old 07-03-2009, 04:09 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Seems to be an expected issue ...
Google .. simplescalar ..

SimpleScalar 3.0 - BBSWiki 1 Jun 2008
http://wiki.bigbuddysociety.net/inde...mpleScalar_3.0
http://wiki.bigbuddysociety.net/inde...0#Installation

Please do all the commands by the text ....
And for the error you have ... this command : Quote :
Code:
find . -type f -print0 | xargs -0 sed -i -e 's,yy_current_buffer,YY_CURRENT_BUFFER,g'
If further problems in Fedora, you may have to use :
make CC=gcc34 (( make CC=gcc34 CXX=g++34 ))
... 'configure' has no options for C flags.
# yum install compat-gcc-34
provides /usr/bin/gcc34 .
# yum install compat-gcc-34-c++
provides /usr/bin/g++34 .
.....

Last edited by knudfl; 07-03-2009 at 04:12 PM.
 
  


Reply



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
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Problem Installing Limewire - Received Errors While Installing taurusx5 Linux - Software 2 08-05-2008 02:39 AM
simplescalar: ../sslittle-na-sstrix/bin/ld:crt0.o: No such file or directory. rabehe Programming 0 04-08-2007 10:46 AM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration