rasa / vmware-tools-patches

Patch and build VMware tools automatically
https://github.com/rasa/vmware-tools-patches/wiki
MIT License
1.19k stars 198 forks source link

Having problem compiling crosstool-ng 1.21.0, getting stuck at installing eglib 2.18 #60

Open TRaveendraV opened 9 years ago

TRaveendraV commented 9 years ago

While compiling crosstool ng 1.21.0. at build stage I'm having following error. Please help me getting rid of this. Thanks in advance.

ERROR: [ALL ] make[2]: Leaving directory /home/ravindra/Stg/.build/src/eglibc-2_18' [ERROR] make[1]: *** [install-headers] Error 2 [ALL ] make[1]: Leaving directory/home/ravindra/Stg/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles' [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library headers & start files' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] [ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@380] [ERROR] >> called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143] [ERROR] >> called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60] [ERROR] >> called from: main[scripts/crosstool-NG.sh@638] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> '/usr/local/share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'

putztzu commented 9 years ago

I think you need to fully describe what you are doing, and how VMware-tools-patch is relevant to your problem (at least it's not clear to me). At minimum, it looks like your error is probably referencing building on ARM. I might learn something new today but AFAIK VMware does not support ARM except possibly as very experimental and I don't know that Guest Tools exists for ARM today.

TRaveendraV commented 9 years ago

Hello,

Thanks for replying. I'm not compiling crosstool ng on ARM archetecture. I'm using i5 and Ubuntu 14.10 LTS platform. I followed every thing mentioned on The Kitware Blog (URL: http://www.kitware.com/blog/home/post/426) to compile my cross compiler. Yes of course I'm trying to build cross compiler for ARM v6. I'm using Raspberry pi B model board. I wish to compile Kernel, Drivers etc.. for that on my laptop and put them to board. I'm new to this, so seeking help to setup my laptop and Raspberry Pi board, even I wish to learn debugging using KGDB. The above error is stopping me continuing further. I would be grateful to you for your valuable suggestion. Looking forward to here from you.

putztzu commented 9 years ago

IMO your error has nothing to do with running in a VMware environment and VMware Guest Tools. You'd do better to post your question to a Forum about cross-compilation for RPi using your tool. I don't know about Ubuntu, but if you were running on an openSUSE, this type of topic is discussed often on its embedded hardware mail list.

I'm just guessing a bit, but you haven't installed and made available the correct C library. I don't know how sensitive the Guide you're following is sensitive to library versions, but IMO it might be a good idea to set things up exactly as described... in other words, build on the earlier version of Ubuntu the Guide's author used, not current.

TRaveendraV commented 9 years ago

Thank you for your kind suggestion. I'll try both the things. Let me see how things work.