Re: [Gems-users] problem compiling ruby part 2: yy_fatal_error


Date: Sat, 16 Jan 2010 12:24:32 +0100
From: Mladen Nikitovic <mladen@xxxxxx>
Subject: Re: [Gems-users] problem compiling ruby part 2: yy_fatal_error
Isn't it enough to perform make clean in the ruby directory? How do you make sure temp files are gone?
 
/M

Från: gems-users-bounces@xxxxxxxxxxx [gems-users-bounces@xxxxxxxxxxx] för Philip Garcia [pcgarcia@xxxxxxxx]
Skickat: den 13 januari 2010 23:39
Till: Gems Users
Ämne: Re: [Gems-users] problem compiling ruby part 2: yy_fatal_error

did you make sure you made clean and cleared out any temp files that may have been created from previous compilations?

Phil
On Jan 13, 2010, at 3:19 PM, Mladen Nikitovic wrote:

I ran the configure script in simics' x86-linux directory with CC=gcc34 as parameter, which is a gcc version 3.4.6. The configure-script completed and accepted gcc34 as the compiler. However, when I try to compile ruby again I get the same error as before, the yy_fatal_error thing I referenced to earlier.
 
/Mladen

Från: gems-users-bounces@xxxxxxxxxxx [gems-users-bounces@xxxxxxxxxxx] för Polina Dudnik [pdudnik@xxxxxxxxx]
Skickat: den 13 januari 2010 21:45
Till: Gems Users
Ämne: Re: [Gems-users] problem compiling ruby part 2: yy_fatal_error

Dear Mladen,

On the GEMS web-page we suggest that use a specific outdated version of gcc. If you were to compile it with that version of gcc, I am sure everything would work smoothly. Since you are using a much more recent version of gcc, the only people that can help you are other gems users that may have compiled it with this version.

Polina

On Wed, Jan 13, 2010 at 2:37 PM, Mladen Nikitovic <mladen@xxxxxx> wrote:
I managed to come a little further in the compilation phase by allowing gcc 4.1.2 to compile the code. So, now when I run make PROTOCOL=MSI_MOSI_CMP_directory DESTINATION=MSI_MOSI_CMP_directory I get the following message:
 
I have searched the archive, but I did'nt find anything about yy_fatal_error(const char *) used but never defined. Has anyone encountered this?
 
/usr/bin/g++ -o x86-linux/generated/MSI_MOSI_CMP_directory/obj/attrlex.o -c generated/MSI_MOSI_CMP_directory/attrlex.c -DIS_RUBY -DTARGET_SPARC_V9 -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -g -ggdb -g3 -O0 -w -DSIMICS_2_0  -DRUBY_DEBUG=false  -Inetwork/simple -I. -I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface -Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester -Irecorder -Ilog_tm -Inuca -Igenerated/MSI_MOSI_CMP_directory -I../common/ioutil -Inetwork -I../simics/x86-linux/obj/include/ -I../simics/x86-linux/obj/include/simics -I../simics/x86-linux/obj/include/simics-api-1 -I../simics/x86-linux/config
generated/MSI_MOSI_CMP_directory/attrlex.c:303: error: 'void yy_fatal_error(const char*)' used but never defined
 
Regards,
Mladen

 


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.


[← Prev in Thread] Current Thread [Next in Thread→]