Installation

binutils compile error

Compilation of binutils fails with the following error message. What could be the problem?

ldlex.l:595: error: `yy_current_buffer' undeclared (first use in this function)

You are using a newer version of flex. This problem is due to API changes in flex. To fix this problem, edit ldlex.l and change yy_current_buffer to YY_CURRENT_BUFFER.

or1ksim testbench configure error

Configure of or1ksim testbench fails with the following error message. What could be the problem?

checking for C compiler default output... configure: error: C compiler cannot create executables

The correct way to run the configure script for the testbench is as follows

CFLAGS="-nostdlib" ./configure --target=or32-uclinux --host=or32-uclinux

uClinux compilation error

Compilation of uClinux fails with the following error message. What could be the problem?

undefined reference to `___udivsi3'
undefined reference to `___modsi3'

You forgot to add LIBGCC= in <KERNEL_ROOT>/arch/or32/Rules.make.

uclibc module missing

The module or1k/uclibc is missing from CVS! Where can I get it?

The old uclibc module has been moved to or1k/obsolete/uclibc. It still seems to work fine, but the newer version for linux is available at or1k/linux/uclibc. (FIXME Give a more detailed description of what is going on.)

gcc-3.2.3 compilation failed

gcc-3.2.3 compilation says dp-bit.c and fp-bit.c are missing. What do I do?

This is a bug in the gcc build system. It is triggered when gcc-3.2.3 is built in a separate build directory. Fortunately, there is a quick fix for this problem. Create a soft-link to <src>/gcc/dp-bit.c in <build-dir>/gcc/. The same should be done for fp-bit.c as well.

 
or1000-faq.txt · Last modified: 2010/07/14 02:54 by vijaykumar
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
This work is licensed under the GNU Free Documentation License..