On 29/08/12 19:37, Chris Syntichakis wrote:
Hello,
I am trying to build the crosscompiler, I followed the instructions
from
http://www.riscos.info/index.php/Using_GCCSDK#Using_GCCSDK_and_Autobuilder_to_cross-compile_for_RISC_OS
but I am getting some errors, (pls see the attached file
(build-cross-output.txt))
I am sure I have installed all of the required packages:
gcc 4.6.3 svn 1.6.17 autogen 5.12.0 bison 2.5 flex 2.5.35
plus the other that listed like sed/libtool etc etc..
The platform I am trying to build the CGGSDK is Linux Mint 13 x86_64
(based on Ubuntu 12.04) I think the error "reference to `yylex'" has
something to do with bison, but bison is already installed so maybe
is a bug or something like this.
Thank you in advance for any help/ideas
This has come up before (in fact on 27th June) and John Tytgat gave this
advice:
Could it be that you don't have bison installed ?
Otherwise, if you have installed flex after having done a failed
build, I'm not sure whether it will rebuild sufficently as you're
having a linker error. So do:
$ rm buildstepsdir/cross-gcc-configure
which will rebuild the gcc cross-compiler part from scratch (but
still reuse your binutils, host native libraries, etc which you've
built).
John.
I see that you do have flex and bison installed, but if this was done as
a result of a failed build, then you may need to reconfigure GCC as John
says above.
Lee.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK