See attached build log.
Created attachment 167346 [details] Build log
Created attachment 167367 [details, diff] patch to solve IF_MASK undefined problem
Created attachment 167369 [details, diff] new patch to configure.in without this patch, ncurses and gpm lib won't be found
(In reply to comment #3) > Created an attachment (id=167369) [edit] > new patch to configure.in > > without this patch, ncurses and gpm lib won't be found > under amd64, it still failed. Configuration: Target system: x86_64-pc-linux-gnu Source code location: . C++ Compiler: x86_64-pc-linux-gnu-g++ C++ Compiler flags: -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall C Compiler: x86_64-pc-linux-gnu-gcc C Compiler flags: -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall VGA support: no gpm moues support: yes libggi support: no unicon support: no zhcon binary dir: /usr/bin zhcon files dir: /usr/lib64/zhcon Config complete, now type make to build zhcon. Good Luck! make all-recursive make[1]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5' Making all in src make[2]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src' Making all in display make[3]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fbdev.o -MD -MP -MF ".deps/fbdev.Tpo" -c -o fbdev.o fbdev.cpp; \ then mv -f ".deps/fbdev.Tpo" ".deps/fbdev.Po"; else rm -f ".deps/fbdev.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear15.o -MD -MP -MF ".deps/fblinear15.Tpo" -c -o fblinear15.o fblinear15.cpp; \ then mv -f ".deps/fblinear15.Tpo" ".deps/fblinear15.Po"; else rm -f ".deps/fblinear15.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear16.o -MD -MP -MF ".deps/fblinear16.Tpo" -c -o fblinear16.o fblinear16.cpp; \ then mv -f ".deps/fblinear16.Tpo" ".deps/fblinear16.Po"; else rm -f ".deps/fblinear16.Tpo"; exit 1; fi fblinear16.cpp: In member function ‘virtual void FBLinear16::RevRect(int, int, int, int)’: fblinear16.cpp:89: warning: operation on ‘dest32’ may be undefined if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear24.o -MD -MP -MF ".deps/fblinear24.Tpo" -c -o fblinear24.o fblinear24.cpp; \ then mv -f ".deps/fblinear24.Tpo" ".deps/fblinear24.Po"; else rm -f ".deps/fblinear24.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear32.o -MD -MP -MF ".deps/fblinear32.Tpo" -c -o fblinear32.o fblinear32.cpp; \ then mv -f ".deps/fblinear32.Tpo" ".deps/fblinear32.Po"; else rm -f ".deps/fblinear32.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear4.o -MD -MP -MF ".deps/fblinear4.Tpo" -c -o fblinear4.o fblinear4.cpp; \ then mv -f ".deps/fblinear4.Tpo" ".deps/fblinear4.Po"; else rm -f ".deps/fblinear4.Tpo"; exit 1; fi fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’: fblinear24.cpp:139: warning: operation on ‘dest32’ may be undefined fblinear24.cpp:140: warning: operation on ‘dest32’ may be undefined fblinear24.cpp:141: warning: operation on ‘dest32’ may be undefined fblinear24.cpp:144: warning: operation on ‘dest32’ may be undefined fblinear24.cpp:146: warning: operation on ‘dest16’ may be undefined fblinear24.cpp:151: warning: operation on ‘dest16’ may be undefined fblinear32.cpp: In member function ‘virtual void FBLinear32::RevRect(int, int, int, int)’: fblinear32.cpp:77: warning: operation on ‘dest32’ may be undefined if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear8.o -MD -MP -MF ".deps/fblinear8.Tpo" -c -o fblinear8.o fblinear8.cpp; \ then mv -f ".deps/fblinear8.Tpo" ".deps/fblinear8.Po"; else rm -f ".deps/fblinear8.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT fbvgaplanes.o -MD -MP -MF ".deps/fbvgaplanes.Tpo" -c -o fbvgaplanes.o fbvgaplanes.cpp; \ then mv -f ".deps/fbvgaplanes.Tpo" ".deps/fbvgaplanes.Po"; else rm -f ".deps/fbvgaplanes.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT libggi.o -MD -MP -MF ".deps/libggi.Tpo" -c -o libggi.o libggi.cpp; \ then mv -f ".deps/libggi.Tpo" ".deps/libggi.Po"; else rm -f ".deps/libggi.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT lrmi.o -MD -MP -MF ".deps/lrmi.Tpo" -c -o lrmi.o lrmi.c; \ then mv -f ".deps/lrmi.Tpo" ".deps/lrmi.Po"; else rm -f ".deps/lrmi.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT vgadev.o -MD -MP -MF ".deps/vgadev.Tpo" -c -o vgadev.o vgadev.cpp; \ then mv -f ".deps/vgadev.Tpo" ".deps/vgadev.Po"; else rm -f ".deps/vgadev.Tpo"; exit 1; fi fblinear8.cpp: In member function ‘virtual void FBLinear8::RevRect(int, int, int, int)’: fblinear8.cpp:68: warning: operation on ‘dest32’ may be undefined fblinear8.cpp:72: warning: operation on ‘dest16’ may be undefined rm -f libdisplay.a ar cru libdisplay.a fbdev.o fblinear15.o fblinear16.o fblinear24.o fblinear32.o fblinear4.o fblinear8.o fbvgaplanes.o libggi.o lrmi.o vgadev.o x86_64-pc-linux-gnu-ranlib libdisplay.a make[3]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src/display' make[3]: Entering directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-basefont.o -MD -MP -MF ".deps/zhcon-basefont.Tpo" -c -o zhcon-basefont.o `test -f 'basefont.cpp' || echo './'`basefont.cpp; \ then mv -f ".deps/zhcon-basefont.Tpo" ".deps/zhcon-basefont.Po"; else rm -f ".deps/zhcon-basefont.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-big52gbdecoder.o -MD -MP -MF ".deps/zhcon-big52gbdecoder.Tpo" -c -o zhcon-big52gbdecoder.o `test -f 'big52gbdecoder.cpp' || echo './'`big52gbdecoder.cpp; \ then mv -f ".deps/zhcon-big52gbdecoder.Tpo" ".deps/zhcon-big52gbdecoder.Po"; else rm -f ".deps/zhcon-big52gbdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-big5decoder.o -MD -MP -MF ".deps/zhcon-big5decoder.Tpo" -c -o zhcon-big5decoder.o `test -f 'big5decoder.cpp' || echo './'`big5decoder.cpp; \ then mv -f ".deps/zhcon-big5decoder.Tpo" ".deps/zhcon-big5decoder.Po"; else rm -f ".deps/zhcon-big5decoder.Tpo"; exit 1; fi big5decoder.cpp: In member function ‘virtual bool BIG5Decoder::IsCode2(char)’: big5decoder.cpp:30: warning: comparison is always true due to limited range of data type if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-configfile.o -MD -MP -MF ".deps/zhcon-configfile.Tpo" -c -o zhcon-configfile.o `test -f 'configfile.cpp' || echo './'`configfile.cpp; \ then mv -f ".deps/zhcon-configfile.Tpo" ".deps/zhcon-configfile.Po"; else rm -f ".deps/zhcon-configfile.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-console.o -MD -MP -MF ".deps/zhcon-console.Tpo" -c -o zhcon-console.o `test -f 'console.cpp' || echo './'`console.cpp; \ then mv -f ".deps/zhcon-console.Tpo" ".deps/zhcon-console.Po"; else rm -f ".deps/zhcon-console.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-gb2big5decoder.o -MD -MP -MF ".deps/zhcon-gb2big5decoder.Tpo" -c -o zhcon-gb2big5decoder.o `test -f 'gb2big5decoder.cpp' || echo './'`gb2big5decoder.cpp; \ then mv -f ".deps/zhcon-gb2big5decoder.Tpo" ".deps/zhcon-gb2big5decoder.Po"; else rm -f ".deps/zhcon-gb2big5decoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-gbdecoder.o -MD -MP -MF ".deps/zhcon-gbdecoder.Tpo" -c -o zhcon-gbdecoder.o `test -f 'gbdecoder.cpp' || echo './'`gbdecoder.cpp; \ then mv -f ".deps/zhcon-gbdecoder.Tpo" ".deps/zhcon-gbdecoder.Po"; else rm -f ".deps/zhcon-gbdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-gbkdecoder.o -MD -MP -MF ".deps/zhcon-gbkdecoder.Tpo" -c -o zhcon-gbkdecoder.o `test -f 'gbkdecoder.cpp' || echo './'`gbkdecoder.cpp; \ then mv -f ".deps/zhcon-gbkdecoder.Tpo" ".deps/zhcon-gbkdecoder.Po"; else rm -f ".deps/zhcon-gbkdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-graphdev.o -MD -MP -MF ".deps/zhcon-graphdev.Tpo" -c -o zhcon-graphdev.o `test -f 'graphdev.cpp' || echo './'`graphdev.cpp; \ then mv -f ".deps/zhcon-graphdev.Tpo" ".deps/zhcon-graphdev.Po"; else rm -f ".deps/zhcon-graphdev.Tpo"; exit 1; fi gbkdecoder.cpp: In member function ‘virtual bool GBKDecoder::IsCode2(char)’: gbkdecoder.cpp:30: warning: comparison is always true due to limited range of data type gbkdecoder.cpp: In member function ‘virtual unsigned int GBKDecoder::Index(char, char)’: gbkdecoder.cpp:36: warning: comparison is always true due to limited range of data type if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-hzdecoder.o -MD -MP -MF ".deps/zhcon-hzdecoder.Tpo" -c -o zhcon-hzdecoder.o `test -f 'hzdecoder.cpp' || echo './'`hzdecoder.cpp; \ then mv -f ".deps/zhcon-hzdecoder.Tpo" ".deps/zhcon-hzdecoder.Po"; else rm -f ".deps/zhcon-hzdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-jisdecoder.o -MD -MP -MF ".deps/zhcon-jisdecoder.Tpo" -c -o zhcon-jisdecoder.o `test -f 'jisdecoder.cpp' || echo './'`jisdecoder.cpp; \ then mv -f ".deps/zhcon-jisdecoder.Tpo" ".deps/zhcon-jisdecoder.Po"; else rm -f ".deps/zhcon-jisdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-kscdecoder.o -MD -MP -MF ".deps/zhcon-kscdecoder.Tpo" -c -o zhcon-kscdecoder.o `test -f 'kscdecoder.cpp' || echo './'`kscdecoder.cpp; \ then mv -f ".deps/zhcon-kscdecoder.Tpo" ".deps/zhcon-kscdecoder.Po"; else rm -f ".deps/zhcon-kscdecoder.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-main.o -MD -MP -MF ".deps/zhcon-main.Tpo" -c -o zhcon-main.o `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/zhcon-main.Tpo" ".deps/zhcon-main.Po"; else rm -f ".deps/zhcon-main.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-window.o -MD -MP -MF ".deps/zhcon-window.Tpo" -c -o zhcon-window.o `test -f 'window.cpp' || echo './'`window.cpp; \ then mv -f ".deps/zhcon-window.Tpo" ".deps/zhcon-window.Po"; else rm -f ".deps/zhcon-window.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONF_DIR=\"/etc\" -march=athlon64 -msse3 -O2 -pipe -funsigned-char -O2 -DNDEBUG -Wall -MT zhcon-winime.o -MD -MP -MF ".deps/zhcon-winime.Tpo" -c -o zhcon-winime.o `test -f 'winime.cpp' || echo './'`winime.cpp; \ then mv -f ".deps/zhcon-winime.Tpo" ".deps/zhcon-winime.Po"; else rm -f ".deps/zhcon-winime.Tpo"; exit 1; fi winime.cpp: In member function ‘int WinIme::MatchWord(char*, int, int)’: winime.cpp:166: warning: dereferencing type-punned pointer will break strict-aliasing rules winime.cpp: In member function ‘int WinIme::Search(char)’: winime.cpp:253: error: cast from ‘char*’ to ‘unsigned int’ loses precision winime.cpp:274: error: cast from ‘char*’ to ‘unsigned int’ loses precision make[3]: *** [zhcon-winime.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-i18n/zhcon-0.2.6/work/zhcon-0.2.5' make: *** [all] Error 2 [31;01m*[0m [31;01m*[0m ERROR: app-i18n/zhcon-0.2.6 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 2603: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed"; [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/app-i18n/zhcon-0.2.6/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-i18n/zhcon-0.2.6/temp/environment'. [31;01m*[0m
Created attachment 169098 [details, diff] use AC_SEARCH_LIBS to detect curses lib instead of AC_CHECK_LIB
Created attachment 169100 [details, diff] patch for amd64 thanks to Md82@smth http://www.newsmth.net/bbstcon.php?board=LinuxDev&gid=219962
I have tested it. It compiles. But it does not work here. After start, I just got a black screen. I don't have time to debug further today. Time to go to sleep. I have added this to gentoo-china overlay. I will ask some users to help me to test it.
(In reply to comment #7) > I have tested it. It compiles. But it does not work here. > After start, I just got a black screen. Got some feedback from users. It is said that zhcon will get black screen on 2.6.26 and maybe work on 2.6.27. I will test it on 2.6.27 later.
I have tested it on gentoo-sources-2.6.26-r1 It works. So, Diego, if you have time, please help me to commit them. :)
All committed :) Thank you!