トップ «前の日記(2009年11月23日) 最新 次の日記(2009年11月25日)» 編集
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|10|12|
2009|02|03|06|07|10|11|12|
2010|01|02|03|04|07|09|10|11|12|
2011|01|03|04|05|06|07|08|10|
2012|01|06|08|09|10|12|
2013|01|02|03|04|07|09|11|12|
2014|01|03|04|05|06|09|
2015|04|
2016|01|08|
ここは旧えびめもです。えびめも2に移行します(2016/12/1)

2009年11月24日

gtk+2.0-2.12.12 debian lenny sh4

 distcc sh4-linux-gnu-gcc -shared  .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o 
.libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o 
.libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o 
.libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o 
.libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o 
.libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o 
.libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o -Wl,--whole-archive 
x11/.libs/libgdk-x11.a -Wl,--no-whole-archive  -Wl,--rpath 
-Wl,/root/build/libgtk2.0/gtk+2.0-2.12.12/debian/build/shared/gdk-pixbuf/.libs -lXi 
/usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so 
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so 
-lfontconfig -lXext -lXrender -lX11 -lXcursor -lXdamage -lXfixes -lm 
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so  -Wl,-soname -Wl,libgdk-x11-2.0.so.0 
-Wl,-version-script -Wl,.libs/libgdk-x11-2.0.ver -o .libs/libgdk-x11-2.0.so.0.1200.12
/usr/bin/ld.real: cannot find -lXi
collect2: ld returned 1 exit status
む。
# ls -l /usr/lib/libXi*
/bin/ls: cannot access /usr/lib/libXi*: No such file or directory
むむむ
libxi6 を作って入れなおす。

libqt3-mt (3.3.8) debian lenny sh4 self

g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/relea
se-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o
 .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/releas
e-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-share
d-mt/parser.o    -L/root/build/libqt3-mt-dev/qt-x11-free-3.3.8b/lib -L/usr/X11R6
/lib -lqt-mt -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft
 -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/usr/bin/ld.real: ../../../bin/uic: hidden symbol `__movmem_i4_even' in /usr/lib
/gcc/sh4-linux-gnu/4.3.2/libgcc.a(_movmem_i4.o) is referenced by DSO
/usr/bin/ld.real: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[4]: *** [../../../bin/uic] Error 1
make[4]: Leaving directory `/root/build/libqt3-mt-dev/qt-x11-free-3.3.8b/tools/d
esigner/uic'
make[3]: *** [sub-uic] Error 2
make[3]: Leaving directory `/root/build/libqt3-mt-dev/qt-x11-free-3.3.8b/tools/d
esigner'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/root/build/libqt3-mt-dev/qt-x11-free-3.3.8b/tools'
make[1]: *** [sub-tools] Error 2
make[1]: Leaving directory `/root/build/libqt3-mt-dev/qt-x11-free-3.3.8b'
make: *** [libqt-thread-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
エラー落ち
$ nm ./lib/libqt-mt.so.3.3.8 | grep __movmem_i4_even
 U __movmem_i4_even
む。未定義発見。
$ vi mkspecs/linux-g++/qmake.conf
QMAKE_LIBS              = -lgcc
修正
$ !nm
nm ./lib/libqt-mt.so.3.3.8 | grep __movmem_i4_even
00643688 t __movmem_i4_even
修正完了