Hi
I am trying to build bochs 2.0.2 in SuSE Linux 8.2 which has gcc 3.3 prerelease with it (I have tried it with SuSE 8.1 and get the same prob) and I can't get it to make, I get this error about 10 times in a row:
fetchdecode.cc:xxx: error: brace-enclosed initalizer used to initalize 'void (bx_cpu.c::*)(bxInstruction_c*)'
the xxx is because it happends on mltiple lines
then make fails
What is going on?
BTW Are there any precompiled linux versions of this that have debugger support enabled?
srg
bochs compile probs
Re:bochs compile probs
download the latest cvs-build, and compile it. the older ones don't compile with the gcc 3.x line, but with the gcc 2.9x one. It is because some things are deprecated, others don't fit any more in new gcc's view of how things have to be arranged and so on...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:bochs compile probs
may those GNU guyz be blamed for having broken the "downward compatibility" rule ...
Re:bochs compile probs
You'd think that they would have known better ;DPype.Clicker wrote: may those GNU guyz be blamed for having broken the "downward compatibility" rule ...
Re:bochs compile probs
I tried downloading the latest build on bochs sourceforge download page and no change, I have browsed the cvs repository page but how do I download the files.
Anyway, surely the latest bochs dated 2003-01-21 should compile ok, but it doesn't! >:(
Anyway, surely the latest bochs dated 2003-01-21 should compile ok, but it doesn't! >:(
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:bochs compile probs
afaik, SuSE 8.2 include BOCHS ... i'm not sure of what version it is, but maybe you should try to download the RPM ... maybe you can also get back the old gcc 2.5.9x from older SuSE distribution, and install it somewhere else. I guess there must be a way to force compiling using a given instance of GCC through the CC environment variable while running ./configure
Re:bochs compile probs
srg, it should be CURRENT cvs. The latest one I have downloaded for use on my laptop is dated about 18.5.2003. This version compiles with gcc 3.x line.
click on Download Current, then go at the very bottom of the page and there is located Download CVS Snapshot. This one you should take.
click on Download Current, then go at the very bottom of the page and there is located Download CVS Snapshot. This one you should take.
Re:bochs compile probs
link to suse bochs rpm at gd.tuwien.ac.at - my ressource:
http://gd.tuwien.ac.at/opsys/linux/suse/suse.com/i386/8.2/suse/i586/?fisel=bB
hope this helps
http://gd.tuwien.ac.at/opsys/linux/suse/suse.com/i386/8.2/suse/i586/?fisel=bB
hope this helps
Re:bochs compile probs
ohh, I didn't see that at the bottom, I'll just try it......it worked....although due to a bug in the code externbd.cc didn't compile but I left it out, I can live without that.beyond infinity lazy wrote: srg, it should be CURRENT cvs. The latest one I have downloaded for use on my laptop is dated about 18.5.2003. This version compiles with gcc 3.x line.
click on Download Current, then go at the very bottom of the page and there is located Download CVS Snapshot. This one you should take.
BTW SuSE 8.2 does come with bochs (and a 30 demo of vmware) but it's version of bochs doesn't support bochsdbg and so is useless to me