파이썬을 크로스 컴파일(라고 하지만 엄밀하게는 타겟보드에서 컴파일)하는데 에러가 두가지가 났다.
아무튼 bzip 다운로드는 아래 링크에서 하면된다.
[링크 : http://www.bzip.org/]
그나저나. 저넘의 termios는 어쩔? ㄱ-
Python-2.6.4# make make: Current time: Timestamp out of range; substituting 1970-01-01 00:00:00 make: Warning: File `Makefile' has modification time 1.3e+09 s in the future running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers building 'termios' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I/root/Python-2.6.4/./Include -I. -II nclude -I./Include -I/usr/local/include -I/root/Python-2.6.4/Include -I/root/Python-2.6.4 -c /root/Python-2.6.4/Modules/termios.c -o build/temp.linux-sh4-2.6/root/Python-2.6.4/Modules/termios.o /root/Python-2.6.4/Modules/termios.c:753: error: invalid application of 'sizeof' to incomplete type 'struct serial_struct' /root/Python-2.6.4/Modules/termios.c:753: error: array type has incomplete element type /root/Python-2.6.4/Modules/termios.c:753: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark ) in c_expr_sizeof_type, at c-typeck.c:2105 Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://bugzilla.stlinux.com> for instructions. building 'bz2' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I/root/Python-2.6.4/./Include -I. -II nclude -I./Include -I/usr/local/include -I/root/Python-2.6.4/Include -I/root/Python-2.6.4 -c /root/Python-2.6.4/Modules/bz2module.c -o build/temp.linux-sh4-2.6/root/Python-2.6.4/Modules/bz2module.o gcc -pthread -shared build/temp.linux-sh4-2.6/root/Python-2.6.4/Modules/bz2module.o -L/usr/local/lib -lbz2 -o build/lib.linux-sh4-2. 6/bz2.so *** WARNING: renaming "bz2" since importing it failed: libbz2.so.1.0: cannot open shared object file: No such file or directory Failed to find the necessary bits to build these modules: _bsddb _sqlite3 _tkinter bsddb185 dbm gdbm sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: bz2 termios running build_scripts make: warning: Clock skew detected. Your build may be incomplete. |
아무튼 bzip 다운로드는 아래 링크에서 하면된다.
[링크 : http://www.bzip.org/]
그나저나. 저넘의 termios는 어쩔? ㄱ-
'회사일 > STLinux' 카테고리의 다른 글
VLC 와 pkg-config (0) | 2010.03.09 |
---|---|
ffmpeg 크로스컴파일시 오류발생 (STLinux2.2) (2) | 2010.03.08 |
python2.4 on STLinux with google api(gdata) (0) | 2010.02.23 |
cross compiled python2.4 on STLinux2.3 (2) | 2010.02.23 |
stlinux에서 gprof는 실질적으로 사용불가라니!!! (0) | 2009.06.26 |