Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2011
Compiling old gcc and binutils, need help/advice
I'm trying to compile gcc 126.96.36.199 and binutils 2.9 on a rather modern system, which currently has gcc 4 installed. I'm trying to follow this guide:
[Link removed b/c of post count. Its a guide to setting up a dev-environment for bflt files. Search blft beyond logic on google if you want to find it]
in order to be able to compile a bflt executable on my computer. However, I cannot seem to complete the compile. I get these errors:
strerror.c:460:12: error: static declaration of ‘sys_nerr’ follows non-static declaration /usr/include/bits/sys_errlist.h:27:12: note: previous declaration of ‘sys_nerr’ was here strerror.c:461:21: error: conflicting types for ‘sys_errlist’ /usr/include/bits/sys_errlist.h:28:30: note: previous declaration of ‘sys_errlist’ was here make: *** [strerror.o] Error 1 make: Leaving directory `/home/patrick/bflt/uclinuxgcc-kit-160899/binutils-2.9.1.kernel/libiberty' make: *** [all-libiberty] Error 2 make: Leaving directory `/home/patrick/bflt/uclinuxgcc-kit-160899/binutils-2.9.1.kernel' make: *** [/opt/uClinux/bin/m68k-coff-as] Error 2
Is there anything I can do? Or should I install an older version of Linux (in a Virtual machine), and try again in there?
Either way, I'd appreciate any advice you guys have. Thanks!!