Python support?

Ideas and dreaming will go this forum

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Python support?

Post by bobiturboto » Sat Oct 25, 2014 7:01 am

Can we have python support with SamyGO?
There is tons of open source projects based on python, and python is first step from Kodi (XBMC) integration.

sectroyer
Official SamyGO Developer
Posts: 5631
Joined: Wed May 04, 2011 5:10 pm

Re: Python support?

Post by sectroyer » Sat Oct 25, 2014 10:06 am

bobiturboto wrote:Can we have python support with SamyGO?
There is tons of open source projects based on python, and python is first step from Kodi (XBMC) integration.
adding python support is not a problem but doesn't help with XBMC or any other stuff :) Run full ubuntu, you will have everything ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Re: Python support?

Post by bobiturboto » Sat Oct 25, 2014 10:45 am

I've tried but doesn't work with F or someone did viewtopic.php?f=49&t=7898 ? Bad news about xbmc but I think python is one of the things which are good to have.

sectroyer
Official SamyGO Developer
Posts: 5631
Joined: Wed May 04, 2011 5:10 pm

Re: Python support?

Post by sectroyer » Sat Oct 25, 2014 12:32 pm

bobiturboto wrote:I've tried but doesn't work with F or someone did viewtopic.php?f=49&t=7898 ? Bad news about xbmc but I think python is one of the things which are good to have.
It's only a matter of compiling it or downloading right package :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Re: Python support?

Post by bobiturboto » Sat Oct 25, 2014 12:44 pm

sectroyer wrote:
bobiturboto wrote:I've tried but doesn't work with F or someone did viewtopic.php?f=49&t=7898 ? Bad news about xbmc but I think python is one of the things which are good to have.
It's only a matter of compiling it or downloading right package :)
Which is the right one?

sectroyer
Official SamyGO Developer
Posts: 5631
Joined: Wed May 04, 2011 5:10 pm

Re: Python support?

Post by sectroyer » Sat Oct 25, 2014 12:53 pm

First I would try compiling python using F toolchain :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Re: Python support?

Post by bobiturboto » Sat Oct 25, 2014 1:22 pm

sectroyer wrote:First I would try compiling python using F toolchain :)
Oh sorry I understand about something related to ubuntu on F :)
Ok I will try and post the results here.

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Re: Python support?

Post by bobiturboto » Sat Oct 25, 2014 7:38 pm

SpoilerShow
libpython2.7.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc':
/home/turbo/python-arm-xcompile/Python-2.7.3/Python/dynload_shlib.c:130: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libpython2.7.a(posixmodule.o): In function `posix_tmpnam':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/posixmodule.c:7432: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.7.a(posixmodule.o): In function `posix_tempnam':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/posixmodule.c:7379: warning: the use of `tempnam' is dangerous, better use `mkstemp'
libpython2.7.a(posixmodule.o): In function `posix_initgroups':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/posixmodule.c:3979: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libpython2.7.a(pwdmodule.o): In function `pwd_getpwall':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/pwdmodule.c:157: warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libpython2.7.a(pwdmodule.o): In function `pwd_getpwnam':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/pwdmodule.c:131: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libpython2.7.a(pwdmodule.o): In function `pwd_getpwuid':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/pwdmodule.c:110: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libpython2.7.a(pwdmodule.o): In function `pwd_getpwall':
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/pwdmodule.c:156: warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/turbo/python-arm-xcompile/Python-2.7.3/./Modules/pwdmodule.c:168: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
/home/turbo/python-arm-xcompile/Python-2.7.3/Modules/_ctypes/libffi/src/arm/ffi.c:205: warning: function declaration isn't a prototype
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/../../../../arm-v7a8-linux-gnueabi/bin/ld: /opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/toolchain/arm-v7a8-linux-gnueabi/bin/../lib/gcc/arm-v7a8-linux-gnueabi/4.4.1/crtbeginT.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
I'm getting errors like this. Any ideas?
Last edited by bobiturboto on Sun Oct 26, 2014 12:48 am, edited 2 times in total.

User avatar
juusso
SamyGO Moderator
Posts: 9668
Joined: Sun Mar 07, 2010 6:20 pm

Re: Python support?

Post by juusso » Sat Oct 25, 2014 8:12 pm

recompile with -fPIC
?
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

Re: Python support?

Post by bobiturboto » Sat Oct 25, 2014 11:05 pm

Code: Select all

root@tv:/mnt # python --version
Python 2.7.3
In general I've succeed but I'am having troubles with python modules.

I have python home but I am still getting errors like this because my site packages directory is empty.

Code: Select all

root@tv:/mnt # echo $PYTHONHOME
/mnt/
root@tv:/mnt # python
ImportError: No module named site
root@tv:/mnt # ls -al /mnt/lib/python2.7/
total 11
drwxr-xr-x    5 root     0             1024 Oct 25 22:35 .
drwxrwxrwx    4 root     0             5120 Oct 25 22:34 ..
drwxr-xr-x    2 root     0             1024 Oct 25 22:35 config
drwxr-xr-x    2 root     0             3072 Oct 25 22:35 lib-dynload
drwxr-xr-x    2 root     0             1024 Oct 25 22:34 site-packages

Post Reply

Return to “[F] Brainstorm”