[sylpheed-jp:10569] Re: Sylpheed 2.5.0beta1 でmakeエラー

ToshiOkada tokada @ js2.so-net.ne.jp
2008年 2月 29日 (金) 17:57:00 JST


こんにちは。ToshiOkadaです。

 SUSE 10.0( gcc-4.0.2, gtk+-2.8.3, glib-2.8.1, glibc-2.3.5 )の環境でmakeがコケます。quick_search.c 周辺でコケているのではないかと思うのですが。
 このSUSE 10.0で sylpheed-2.4.8は正常にbuildできています。

〜〜ここから〜〜
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Sylpheed\"    -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/in
clude -I/opt/gnome/include/atk-1.0 -I/usr/include/cairo -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X
11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include                    
-I/usr/include  -I../libsylph -DLOCALEDIR=\""/usr/share/locale"\"       -DMANUALDIR=\""/usr/share/sylpheed/manual"\"    
-DFAQDIR=\""/usr/share/sylpheed/faq"\"  -DTARGET_ALIAS=\""i586-suse-linux-gnu"\"        -DSYSCONFDIR=\""/etc"\"   -O2 -g
 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/
glib-2.0/include     -c quick_search.c
quick_search.c: In function 'quick_search_create':
quick_search.c:117: warning: assignment makes pointer from integer without a cast
quick_search.c: In function 'entry_changed':
quick_search.c:265: warning: assignment makes pointer from integer without a cast
〜(中略)〜
quick_search.o: In function `quick_search_clear_entry':
/home/suse10/rpm/BUILD/sylpheed-2.5.0beta1/src/quick_search.c:164: undefined reference to `GTK_ENTRY'
quick_search.o: In function `entry_changed':
/home/suse10/rpm/BUILD/sylpheed-2.5.0beta1/src/quick_search.c:265: undefined reference to `GTK_ENTRY'
collect2: ld returned 1 exit status
make[3]: *** [sylpheed] Error 1
make[3]: Leaving directory `/home/suse10/rpm/BUILD/sylpheed-2.5.0beta1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/suse10/rpm/BUILD/sylpheed-2.5.0beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/suse10/rpm/BUILD/sylpheed-2.5.0beta1'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.51163 (%build)
〜〜ここまで〜〜

 なお,最新版のSUSE 10.3( gcc-4.2.1, GTK+-2.12.0, glib-2.14.1, glibc-2.6.1 )では正常にbuildできています。

# このSUSE 10.0はもうサポートが終了のようなんですが,sylpheedのconfigureを
# みると gtk+ 2.4.0以上が要件となっているようなので,念のため報告しておきます(汗
--  
ToshiOkada  <tokada @ js2.so-net.ne.jp>


Sylpheed-jp メーリングリストの案内