Hello,
I am trying to generate buildroot + kernel image supporting python 2.7, flask and LVDS output.
After "make clean" for erasing, "make menuconfig" for new configuration on python + flask + other libraies, and "make" commands for building, the process gives me the following mistake:
Code
- /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
- /usr/local/lib/libpython2.7.a: error adding symbols: Bad value
- collect2: error: ld returned 1 exit status
- Python build finished, but the necessary bits to build these modules were not found:
- _sqlite3 _tkinter bsddb185
- bz2 dl imageop
- readline sunaudiodev
- To find the necessary bits, look in setup.py in detect_modules() for the module's name.
- Failed to build these modules:
- _bisect _codecs_iso2022 _collections
- _csv _ctypes _ctypes_test
- _elementtree _functools _hashlib
- _heapq _hotshot _io
- _json _locale _lsprof
- _multibytecodec _multiprocessing _random
- _socket _ssl _struct
- _testcapi array audioop
- binascii cmath cPickle
- crypt cStringIO datetime
- fcntl future_builtins grp
- itertools linuxaudiodev math
- mmap operator parser
- pyexpat resource select
- spwd strop syslog
- termios time unicodedata
- zlib
- Makefile:518: recipe for target 'sharedmods' failed
- make[2]: *** [sharedmods] Error 1
- package/pkg-generic.mk:195: recipe for target '/home/developer/Desktop/R00_fsimx6-V3.1/LVDS/buildroot-2016.05-fsimx6-V3.1/output/build/host-python-2.7.11/.stamp_built' failed
- make[1]: *** [/home/developer/Desktop/R00_fsimx6-V3.1/LVDS/buildroot-2016.05-fsimx6-V3.1/output/build/host-python-2.7.11/.stamp_built] Error 2
- Makefile:36: recipe for target '_all' failed
- make: *** [_all] Error 2
any tips?
Thanks !