TOPIC: Compilation blues

Compilation blues 11 months 1 week ago #1

  • markyd
  • markyd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Hello there, be gentle this is my first time in this forum and I am very new to the world of compilers and cross compilers! Trying to get the OpenELEC XBMC image compiled for my Rasberry Pi, my base system is Lubuntu 12.04 (Virtual Box VM) with the prerequisites completed as per the WiKi but after a few hours of cimpilation it all halted with the following error:

/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: /home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/libc.so: hidden symbol `__start___libc_subfreeres' isn't defined
/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/lib/gcc/armv6zk-openelec-linux-gnueabi/4.7.0/../../../../armv6zk-openelec-linux-gnueabi/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/libc.so] Error 1
make[3]: Leaving directory `/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/elf'
make[2]: *** [elf/subdir_lib] Error 2
make[2]: Leaving directory `/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc'
make: *** [system] Error 2
markyd@Luby:~/OpenELEC.tv$


..... anyone got any ideas?
The administrator has disabled public write access.

Re: Compilation blues 11 months 1 week ago #2

  • NisseDILLIGAF
  • NisseDILLIGAF's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Thank you received: 1
  • Karma: 0
I managed to fix this by changing in the file /OpenELEC.tv/config/path

change (line 109)
export CCACHE_DIR=$HOME/.ccache-openelec

to

export CCACHE_DIR=$ROOT/$BUILD/.ccache-openelec

this get me past the error with eglibc-2.15-18222

but I haven't tried the new images...
The administrator has disabled public write access.
The following user(s) said Thank You: markyd

Re: Compilation blues 11 months 1 week ago #3

  • markyd
  • markyd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
.... cheers, I won't pretend to understand how you figured that out :-) file edited and going in for another run ... will post results as soon as I have them, cheers!
The administrator has disabled public write access.

Re: Compilation blues 11 months 1 week ago #4

  • NisseDILLIGAF
  • NisseDILLIGAF's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Thank you received: 1
  • Karma: 0
I cant take credit for it...
I found it on the Raspberry pi forum :)

www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=5163&p=79282
The administrator has disabled public write access.

Re: Compilation blues 11 months 1 week ago #5

  • markyd
  • markyd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
:-( boo hisss I did have hi hope but alas to no avail ...



s /home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/elf/interp.os /home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/elf/ld.so -lgcc
/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/linkobj/libc_pic.a: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc/linkobj/libc.so] Error 1
make[2]: Leaving directory `/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/markyd/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/eglibc-2.15-18222/objdir-eglibc'
make: *** [system] Error 2
markyd@Luby:~/OpenELEC.tv$
Last Edit: 11 months 1 week ago by markyd. Reason: spelling mistake
The administrator has disabled public write access.

Re: Compilation blues 11 months 1 week ago #6

  • NisseDILLIGAF
  • NisseDILLIGAF's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Thank you received: 1
  • Karma: 0
hmm... strange... I had the same problem and after I changed CCACHE_DIR it worked..
have u tried starting from scratch with new git clone, change CCACHE_DIR then make?
The administrator has disabled public write access.
Moderators: ericab, lrusak

Our Sponsors & Partners

arctic_logo