My bison version seem to be 2.3, is that to recent or is that fine?
$bison --version
'bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
/Mladen
Från: gems-users-bounces@xxxxxxxxxxx [gems-users-bounces@xxxxxxxxxxx] för Dan Gibson [degibson@xxxxxxxx]
Skickat: den 13 januari 2010 21:47
Till: Gems Users
Ämne: Re: [Gems-users] problem compiling ruby part 2: yy_fatal_error
Check your bison version. As I recall, GEMS requires 2.0 or 1.85. Or maybe it was YACC. I forget which.
Regards,
Dan
On Wed, Jan 13, 2010 at 2:45 PM, Polina Dudnik
<pdudnik@xxxxxxxxx> wrote:
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.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|