Error building Linux arm toolchain on OS X
Hanxue Lee
hanxue.developer@gmail.com
Tue Dec 3 15:51:00 GMT 2013
Yep, I followed Mac OS X tutorial, although it is a bit outdated.
Thanks! Glad that this time the error is caused by disk space - I
thought a 2.6GB volume is sufficient for building the cross-compile
binaries.
After sorting out the disk space, I now see error building the
standard libraries:
[INFO ] Installing C library headers & start files
[ERROR] rpc_scan.c:40:10: fatal error: 'libintl.h' file not found
[ERROR] rpc_main.c:41:10: fatal error: 'libintl.h' file not found
[ERROR] ./rpc/types.h:73:9: error: unknown type name '__u_char';
did you mean 'u_char'?
[ERROR] ./rpc/types.h:74:9: error: unknown type name '__u_short';
did you mean 'u_short'?
Full error message here: https://gist.github.com/7771296
Strangely, there are no errors in build.log - https://gist.github.com/7771458
On Tue, Dec 3, 2013 at 5:10 AM, Ray Donnelly <mingw.android@gmail.com> wrote:
> I'll take this one, as it's quite easy!
>
> [ALL ] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
> can't write to output file (No space left on device)
>
> I think you need to clean up some space and try again.
>
> On Mon, Dec 2, 2013 at 9:02 PM, Hanxue Lee <hanxue.developer@gmail.com> wrote:
>> Hello,
>>
>>
>> I am trying to create a cross-compiling toolchain for Linux ARM
>> (target, 32bit) on OS X Mavericks (host 64bit). This is the .config
>> file generated by ct-ng menuconfig: https://gist.github.com/7757973
>>
>> The building process went on well, until pass-1 of GCC compiler, when
>> this error is produced:
>>
>> 4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
>> -I/Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/../libbacktrace
>> -DCLOOG_INT_GMP
>> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
>> -I/Volumes/CrosstoolCompile//arm-unknown-linux-gnueabi/buildtools/include
>> /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/gengtype-lex.c -o
>> gengtype-lex.o
>> [ALL ] clang: warning: treating 'c' input as 'c++' when in C++
>> mode, this behavior is deprecated
>> [ALL ] clang: warning: treating 'c' input as 'c++' when in C++
>> mode, this behavior is deprecated
>> [ALL ] In file included from
>> /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/genhooks.c:35:
>> [ALL ] /Volumes/CrosstoolCompile//src/gcc-4.8.1/gcc/target.def:521:1:
>> warning: empty macro arguments are a C99 feature [-Wc99-extensions]
>> [ALL ] HOOK_VECTOR_END (asm_out)
>> [ALL ] ^
>>
>>
>> The rest of the error message is available at https://gist.github.com/7757961
>>
>> How can I resolve the errors?
>>
>>
>> Best regards,
>> Hanxue
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list