QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3203|回复: 4

Cygwin下make mrxvt失败!

[复制链接]
发表于 2005-1-16 11:16:55 | 显示全部楼层 |阅读模式
$ uname -or  
1.5.10(0.116/4/2) Cygwin

cygwin下make出现错误信息如下
[code:1]
$ make
make  all-recursive
make[1]: Entering directory `/tmp/mrxvt-0.3.12'
Making all in doc
make[2]: Entering directory `/tmp/mrxvt-0.3.12/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/mrxvt-0.3.12/doc'
Making all in src
make[2]: Entering directory `/tmp/mrxvt-0.3.12/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/cxclient/usr/X11R6/include -c command.c
cc1: warning: -fPIC ignored for target (all code is position independent)
In file included from rxvt.h:399,
                 from command.c:40:
rxvtlib.h:109: error: parse error before "iconv_t"
rxvtlib.h:109: warning: no semicolon at end of struct or union
rxvtlib.h:166: error: parse error before '}' token
rxvtlib.h:166: warning: type defaults to `int' in declaration of `TermWin_t'
rxvtlib.h:166: warning: data definition has no type or storage class
rxvtlib.h:709: error: parse error before "TermWin_t"
rxvtlib.h:709: warning: no semicolon at end of struct or union
rxvtlib.h:761: error: parse error before '}' token
rxvtlib.h:761: warning: type defaults to `int' in declaration of `rxvt_t'
rxvtlib.h:761: warning: data definition has no type or storage class
rxvtlib.h:820: error: parse error before '*' token
rxvtlib.h:821: error: parse error before '*' token
rxvtlib.h:821: warning: type defaults to `int' in declaration of `rxvt_init'
rxvtlib.h:821: warning: data definition has no type or storage class
In file included from rxvt.h:1634,
                 from command.c:40:
protos.h:33: error: parse error before '*' token
protos.h:34: error: parse error before '*' token
protos.h:35: error: parse error before '*' token
protos.h:36: error: parse error before '*' token
protos.h:38: error: parse error before '*' token

以下省略一大堆相似的出错信息

protos.h:146: error: parse error before '*' token
protos.h:147: error: parse error before '*' token
protos.h:147: warning: type defaults to `int' in declaration of `rxvt_get_r'
protos.h:147: warning: data definition has no type or storage class
protos.h:153: error: parse error before '*' token
protos.h:154: error: parse error before '*' token


以下再省略一大堆相似的出错信息

protos.h:165: error: parse error before '*' token
protos.h:199: error: parse error before '*' token
protos.h:199: error: parse error before ')' token
protos.h:201: error: parse error before '*' token
protos.h:201: error: parse error before ')' token
protos.h:203: error: parse error before '*' token
protos.h:204: error: parse error before '*' token

以下再省略一大堆相似的出错信息

command.c:172: error: parse error before '*' token
command.c: In function `rxvt_toggle_transparency':
command.c:177: error: `r' undeclared (first use in this function)
command.c:177: error: (Each undeclared identifier is reported only once
command.c:177: error: for each function it appears in.)
command.c: At top level:
command.c:301: error: parse error before '*' token
command.c:308: error: parse error before '*' token
command.c: In function `rxvt_hotkey_change_title':
command.c:310: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:319: error: parse error before '*' token
command.c: In function `rxvt_hotkey_new_tab':
command.c:321: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:327: error: parse error before '*' token
command.c: In function `rxvt_hotkey_kill_tab':
command.c:329: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:340: error: parse error before '*' token
command.c: In function `rxvt_hotkey_prev_tab':
command.c:342: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:355: error: parse error before '*' token
command.c: In function `rxvt_hotkey_next_tab':
command.c:357: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:370: error: parse error before '*' token
command.c: In function `rxvt_hotkey_prev_atab':
command.c:372: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:381: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_1':
command.c:383: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:389: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_2':
command.c:391: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:400: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_3':
command.c:402: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:411: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_4':
command.c:413: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:422: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_5':
command.c:424: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:433: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_6':
command.c:435: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:444: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_7':
command.c:446: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:455: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_8':
command.c:457: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:466: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_9':
command.c:468: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:477: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_10':
command.c:479: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:488: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_11':
command.c:490: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:499: error: parse error before '*' token
command.c: In function `rxvt_hotkey_tab_12':
command.c:501: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:510: error: parse error before '*' token
command.c: In function `rxvt_hotkey_lmove_tab':
command.c:512: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:518: error: parse error before '*' token
command.c: In function `rxvt_hotkey_rmove_tab':
command.c:520: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:526: error: parse error before '*' token
command.c: In function `rxvt_hotkey_dump_screen':
command.c:529: error: `ev' undeclared (first use in this function)
command.c:531: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:539: error: parse error before '*' token
command.c: In function `rxvt_hotkey_inc_opacity':
command.c:541: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:558: error: parse error before '*' token
command.c: In function `rxvt_hotkey_dec_opacity':
command.c:560: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:577: error: parse error before '*' token
command.c: In function `rxvt_hotkey_transparency':
command.c:580: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:588: error: parse error before '*' token
command.c: In function `rxvt_hotkey_hide_tabbar':
command.c:590: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:607: error: parse error before '*' token
command.c: In function `rxvt_hotkey_hide_scrollbar':
command.c:610: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:628: error: parse error before '*' token
command.c: In function `rxvt_hotkey_hide_menubar':
command.c:631: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:649: error: parse error before '*' token
command.c: In function `rxvt_hotkey_hide_button':
command.c:651: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:663: error: parse error before '*' token
command.c: In function `rxvt_hotkey_verybold':
command.c:665: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:675: error: parse error before '*' token
command.c: In function `rxvt_hotkey_hold_exit':
command.c:677: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:691: error: parse error before '*' token
command.c: In function `rxvt_hotkey_broadcast':
command.c:693: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:702: error: parse error before '*' token
command.c: In function `rxvt_hotkey_small_font':
command.c:704: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:710: error: parse error before '*' token
command.c: In function `rxvt_hotkey_large_font':
command.c:712: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:718: error: parse error before '*' token
command.c: In function `rxvt_hotkey_scroll_up':
command.c:720: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:729: error: parse error before '*' token
command.c: In function `rxvt_hotkey_scroll_down':
command.c:731: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:740: error: parse error before '*' token
command.c: In function `rxvt_hotkey_scroll_pgup':
command.c:742: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:757: error: parse error before '*' token
command.c: In function `rxvt_hotkey_scroll_pgdown':
command.c:759: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:774: error: parse error before '*' token
command.c: In function `rxvt_hotkey_save_config':
command.c:778: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:797: error: parse error before '*' token
command.c:804: error: parse error before '*' token
command.c: In function `rxvt_hotkey_paste_sel':
command.c:806: error: `r' undeclared (first use in this function)
command.c:806: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:815: error: parse error before '*' token
command.c:909: error: parse error before '*' token
command.c: In function `rxvt_process_hotkeys':
command.c:915: error: `ctrl' undeclared (first use in this function)
command.c:915: error: `meta' undeclared (first use in this function)
command.c:915: error: `shft' undeclared (first use in this function)
command.c:917: error: `keysym' undeclared (first use in this function)
command.c:929: error: `r' undeclared (first use in this function)
command.c:946: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:955: error: parse error before '*' token
command.c: In function `rxvt_process_keypress':
command.c:966: error: `r' undeclared (first use in this function)
command.c:975: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:1603: error: parse error before '*' token
command.c: In function `rxvt_cmd_write':
command.c:1606: error: `r' undeclared (first use in this function)
command.c:1606: error: `page' undeclared (first use in this function)
command.c:1612: error: `count' undeclared (first use in this function)
command.c:1624: error: `str' undeclared (first use in this function)
command.c: At top level:
command.c:1639: error: parse error before '*' token
command.c: In function `rxvt_clean_cmd_page':
command.c:1645: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:1704: error: parse error before '*' token
command.c: In function `rxvt_find_cmd_child':
command.c:1711: error: `r' undeclared (first use in this function)
command.c:1718: error: `p_page' undeclared (first use in this function)
command.c: At top level:
command.c:1753: error: parse error before '*' token
command.c: In function `rxvt_cmd_getc':
command.c:1755: error: `p_page' undeclared (first use in this function)
command.c:1767: error: `r' undeclared (first use in this function)
command.c:2064: warning: value computed is not used
command.c: At top level:
command.c:2192: error: parse error before '*' token
command.c: In function `rxvt_pointer_unblank':
command.c:2194: error: `r' undeclared (first use in this function)
command.c:2194: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:2216: error: parse error before '*' token
command.c: In function `rxvt_pointer_blank':
command.c:2218: error: `r' undeclared (first use in this function)
command.c:2220: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:2231: error: parse error before '*' token
command.c: In function `rxvt_mouse_report':
command.c:2236: error: `ev' undeclared (first use in this function)
command.c:2238: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2304: error: parse error before '*' token
command.c: In function `rxvt_set_bg_focused':
command.c:2311: error: `focus' undeclared (first use in this function)
command.c:2312: error: `r' undeclared (first use in this function)
command.c:2321: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:2368: error: parse error before '*' token
command.c: In function `rxvt_process_keyrelease':
command.c:2371: error: `ev' undeclared (first use in this function)
command.c:2372: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2388: error: parse error before '*' token
command.c: In function `rxvt_scrollbar_dispatcher':
command.c:2391: error: `r' undeclared (first use in this function)
command.c:2395: error: `page' undeclared (first use in this function)
command.c:2416: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:2544: error: parse error before '*' token
command.c: In function `rxvt_process_buttonpress':
command.c:2547: error: `r' undeclared (first use in this function)
command.c:2551: error: `ev' undeclared (first use in this function)
command.c:2553: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:2647: error: parse error before '*' token
command.c: In function `rxvt_process_wheel_button':
command.c:2651: error: `ev' undeclared (first use in this function)
command.c:2654: error: `r' undeclared (first use in this function)
command.c:2675: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:2703: error: parse error before '*' token
command.c: In function `rxvt_process_buttonrelease':
command.c:2709: error: `r' undeclared (first use in this function)
command.c:2711: error: `page' undeclared (first use in this function)
command.c:2727: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:2786: error: parse error before '*' token
command.c: In function `rxvt_process_clientmessage':
command.c:2789: error: `ev' undeclared (first use in this function)
command.c:2790: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2821: error: parse error before '*' token
command.c: In function `rxvt_process_visibilitynotify':
command.c:2824: error: `ev' undeclared (first use in this function)
command.c:2826: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2865: error: parse error before '*' token
command.c: In function `rxvt_process_focusin':
command.c:2867: error: `ev' undeclared (first use in this function)
command.c:2867: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2905: error: parse error before '*' token
command.c: In function `rxvt_process_focusout':
command.c:2907: error: `ev' undeclared (first use in this function)
command.c:2907: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:2945: error: parse error before '*' token
command.c: In function `rxvt_resize_on_subwin':
command.c:2948: error: `r' undeclared (first use in this function)
command.c:2954: error: `reason' undeclared (first use in this function)
command.c: At top level:
command.c:3009: error: parse error before '*' token
command.c: In function `rxvt_recalc_szhint':
command.c:3011: error: `r' undeclared (first use in this function)
command.c:3018: error: `reason' undeclared (first use in this function)
command.c:3086: error: `p_w' undeclared (first use in this function)
command.c:3087: error: `p_h' undeclared (first use in this function)
command.c: At top level:
command.c:3116: error: parse error before '*' token
command.c: In function `rxvt_resize_on_font':
command.c:3118: error: `r' undeclared (first use in this function)
command.c:3126: error: `fontname' undeclared (first use in this function)
command.c: At top level:
command.c:3144: error: parse error before '*' token
command.c: In function `rxvt_calc_colrow':
command.c:3153: error: `r' undeclared (first use in this function)
command.c:3153: error: `width' undeclared (first use in this function)
command.c:3153: error: `height' undeclared (first use in this function)
command.c: At top level:
command.c:3183: error: parse error before '*' token
command.c: In function `rxvt_resize_sub_windows':
command.c:3191: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:3209: error: parse error before '*' token
command.c: In function `rxvt_resize_on_configure':
command.c:3212: error: `r' undeclared (first use in this function)
command.c:3219: error: `width' undeclared (first use in this function)
command.c:3219: error: `height' undeclared (first use in this function)
command.c: At top level:
command.c:3264: error: parse error before '*' token
command.c: In function `rxvt_process_configurenotify':
command.c:3269: error: `ev' undeclared (first use in this function)
command.c:3269: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:3308: error: parse error before '*' token
command.c: In function `rxvt_process_selectionnotify':
command.c:3311: error: `r' undeclared (first use in this function)
command.c:3312: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:3319: error: parse error before '*' token
command.c: In function `rxvt_process_propertynotify':
command.c:3322: error: `ev' undeclared (first use in this function)
command.c:3322: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:3348: error: parse error before '*' token
command.c: In function `rxvt_set_opacity':
command.c:3359: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:3402: error: parse error before '*' token
command.c: In function `rxvt_process_reparentnotify':
command.c:3406: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:3419: error: parse error before '*' token
command.c: In function `rxvt_process_expose':
command.c:3421: error: `r' undeclared (first use in this function)
command.c:3425: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:3519: error: parse error before '*' token
command.c: In function `rxvt_process_motionnotify':
command.c:3521: error: `r' undeclared (first use in this function)
command.c:3534: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:3637: error: parse error before '*' token
command.c: In function `rxvt_process_x_event':
command.c:3639: error: `r' undeclared (first use in this function)
command.c:3727: error: `ev' undeclared (first use in this function)
command.c: At top level:
command.c:3831: error: parse error before '*' token
command.c:3835: error: parse error before '*' token
command.c: In function `rxvt_shade_pixmap':
command.c:3844: error: `pixel' undeclared (first use in this function)
command.c:3845: error: `r' undeclared (first use in this function)
command.c:3847: error: `src' undeclared (first use in this function)
command.c:3847: error: `sx' undeclared (first use in this function)
command.c:3847: error: `sy' undeclared (first use in this function)
command.c:3847: error: `nw' undeclared (first use in this function)
command.c:3847: error: `nh' undeclared (first use in this function)
command.c:3851: error: `gc' undeclared (first use in this function)
command.c: At top level:
command.c:3859: error: parse error before '*' token
command.c: In function `shade_ximage':
command.c:3867: error: `r' undeclared (first use in this function)
command.c:3873: error: `srcImage' undeclared (first use in this function)
command.c:3950: error: `rm' undeclared (first use in this function)
command.c:3951: error: `gm' undeclared (first use in this function)
command.c:3952: error: `bm' undeclared (first use in this function)
command.c: At top level:
command.c:4089: error: parse error before '*' token
command.c:4090: error: parse error before '*' token
command.c:4094: error: parse error before '*' token
command.c: In function `get_parent_ximage':
command.c:4101: error: `r' undeclared (first use in this function)
command.c:4105: error: `nx' undeclared (first use in this function)
command.c:4105: error: `ny' undeclared (first use in this function)
command.c:4116: error: `rootw' undeclared (first use in this function)
command.c:4117: error: `rooth' undeclared (first use in this function)
command.c:4120: error: `rootpixmap' undeclared (first use in this function)
command.c: At top level:
command.c:4127: error: parse error before '*' token
command.c: In function `reset_parent_pixmap':
command.c:4134: error: `r' undeclared (first use in this function)
command.c:4138: error: `image' undeclared (first use in this function)
command.c:4169: error: `nx' undeclared (first use in this function)
command.c:4169: error: `ny' undeclared (first use in this function)
command.c: At top level:
command.c:4207: error: parse error before '*' token
command.c: In function `rxvt_check_our_parents':
command.c:4219: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:4381: error: parse error before '*' token
command.c: In function `rxvt_popen_printer':
command.c:4383: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:4412: error: parse error before '*' token
command.c: In function `rxvt_process_print_pipe':
command.c:4414: error: `page' undeclared (first use in this function)
command.c:4422: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:4493: error: parse error before '*' token
command.c: In function `rxvt_process_nonprinting':
command.c:4495: error: `ch' undeclared (first use in this function)
command.c:4497: error: `r' undeclared (first use in this function)
command.c:4498: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:4537: error: parse error before '*' token
command.c: In function `rxvt_process_escape_vt52':
command.c:4540: error: `page' undeclared (first use in this function)
command.c:4546: error: `ch' undeclared (first use in this function)
command.c:4548: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:4609: error: parse error before '*' token
command.c: In function `rxvt_process_escape_seq':
command.c:4611: error: `page' undeclared (first use in this function)
command.c:4617: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:4802: error: parse error before '*' token
command.c: In function `rxvt_process_csi_seq':
command.c:4804: error: `page' undeclared (first use in this function)
command.c:4818: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:5114: error: parse error before '*' token
command.c: In function `rxvt_process_window_ops':
command.c:5122: error: `nargs' undeclared (first use in this function)
command.c:5124: error: `args' undeclared (first use in this function)
command.c:5127: error: `r' undeclared (first use in this function)
command.c:5148: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:5198: error: parse error before '*' token
command.c: In function `rxvt_get_to_st':
command.c:5200: error: `page' undeclared (first use in this function)
command.c:5210: error: `r' undeclared (first use in this function)
command.c:5235: error: `ends_how' undeclared (first use in this function)
command.c: At top level:
command.c:5247: error: parse error before '*' token
command.c: In function `rxvt_process_dcs_seq':
command.c:5252: error: `r' undeclared (first use in this function)
command.c:5252: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:5264: error: parse error before '*' token
command.c: In function `rxvt_process_osc_seq':
command.c:5266: error: `page' undeclared (first use in this function)
command.c:5273: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:5318: error: parse error before '*' token
command.c: In function `rxvt_xwsh_seq':
command.c:5321: error: `op' undeclared (first use in this function)
command.c:5323: error: `r' undeclared (first use in this function)
command.c:5323: error: `str' undeclared (first use in this function)
command.c: At top level:
command.c:5354: error: parse error before '*' token
command.c: In function `rxvt_process_xwsh_seq':
command.c:5356: error: `page' undeclared (first use in this function)
command.c:5364: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:5427: error: parse error before '*' token
command.c: In function `rxvt_xterm_seq':
command.c:5442: error: `op' undeclared (first use in this function)
command.c:5444: error: `r' undeclared (first use in this function)
command.c:5444: error: `str' undeclared (first use in this function)
command.c:5497: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:5735: error: parse error before '*' token
command.c: In function `rxvt_privcases':
command.c:5739: error: `mode' undeclared (first use in this function)
command.c:5740: error: `r' undeclared (first use in this function)
command.c:5740: error: `page' undeclared (first use in this function)
command.c:5740: error: `bit' undeclared (first use in this function)
command.c: At top level:
command.c:5758: error: parse error before '*' token
command.c: In function `rxvt_process_terminal_mode':
command.c:5794: error: `nargs' undeclared (first use in this function)
command.c:5798: error: `mode' undeclared (first use in this function)
command.c:5808: error: `arg' undeclared (first use in this function)
command.c:5809: error: `r' undeclared (first use in this function)
command.c:5809: error: `page' undeclared (first use in this function)
command.c: At top level:
command.c:5940: error: parse error before '*' token
command.c: In function `rxvt_process_sgr_mode':
command.c:5946: error: `nargs' undeclared (first use in this function)
command.c:5947: error: `r' undeclared (first use in this function)
command.c:5947: error: `page' undeclared (first use in this function)
command.c:5952: error: `arg' undeclared (first use in this function)
command.c: At top level:
command.c:6067: error: parse error before '*' token
command.c: In function `rxvt_process_graphics':
command.c:6069: error: `page' undeclared (first use in this function)
command.c:6073: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:6097: error: parse error before '*' token
command.c: In function `rxvt_main_loop':
command.c:6102: error: `r' undeclared (first use in this function)
command.c: At top level:
command.c:6210: error: parse error before '*' token
command.c: In function `rxvt_tt_printf':
command.c:6215: error: `fmt' undeclared (first use in this function)
command.c:6219: error: `r' undeclared (first use in this function)
command.c:6219: error: `page' undeclared (first use in this function)
command.c:6215: error: `va_start' used in function with fixed args
command.c: At top level:
command.c:6232: error: parse error before '*' token
command.c: In function `rxvt_tt_write':
command.c:6237: error: `r' undeclared (first use in this function)
command.c:6241: error: `page' undeclared (first use in this function)
command.c:6259: error: `len' undeclared (first use in this function)
command.c:6313: error: `d' undeclared (first use in this function)
make[2]: *** [command.o] Error 1
make[2]: Leaving directory `/tmp/mrxvt-0.3.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mrxvt-0.3.12'
make: *** [all] Error 2

[/code:1]


以下是configure信息


[code:1]
$ ./configure --enable-everything --disable-debug
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for XOpenDisplay in -lX11... yes
checking for XRegisterIMInstantiateCallback in -lX11... yes
checking for SmcOpenConnection in -lSM... yes
checking for IceConnectionNumber in -lICE... yes
checking for utempter_add_record in -lutempter... no
checking for XpmCreateImageFromXpmImage in -lXpm... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_check_sig in -lpng... yes
checking for fontconfig/fontconfig.h... yes
checking for X11/Xft/Xft.h... yes
checking for FcPatternAddInteger in -lfontconfig... yes
checking for XftDrawString16 in -lXft... yes
checking for iconv_open in -liconv... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sgtty.h usability... no
checking sgtty.h presence... no
checking for sgtty.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking sys/strredir.h usability... no
checking sys/strredir.h presence... no
checking for sys/strredir.h... no
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... no
checking utmpx.h presence... no
checking for utmpx.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for net/if.h... yes
checking for net/if_arp.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for XPointer... yes
checking for struct utmp... yes
checking for ut_host in utmp struct... yes
checking for ut_pid in utmp struct... yes
checking for struct utmpx... no
checking for ut_host in utmpx struct... no
checking for ut_session in utmpx struct... no
checking for struct lastlog... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for int *... yes
checking size of int *... 4
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether setpgrp takes no argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for getpt... no
checking for _getpty... no
checking for getpwuid... yes
checking for grantpt... yes
checking for isastream... no
checking for nanosleep... yes
checking for openpty... yes
checking for putenv... yes
checking for revoke... yes
checking for select... yes
checking for setlocale... yes
checking for seteuid... yes
checking for setpgrp... yes
checking for setpgid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setutent... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strndup... yes
checking for strrchr... yes
checking for ttyslot... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for updwtmp... yes
checking for updwtmpx... no
checking for xsetlocale... no
configure: checking for pty ranges...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


Configurations:


Maintenance:
Debug mode                  : no
Private string functions    : yes
Rarely used features        : yes

Scroll features:
Keep scroll                 : yes
Scroll on selection         : yes
Mouse wheel scroll          : yes
Slip mouse wheel scroll     : yes
RXVT style scrollbar        : yes
NeXT style scrollbar        : yes
Xterm style scrollbar       : yes
Plain style scrollbar       : yes
SGI IRIX style scrollbar    : yes
Half shadow scrollbar       : yes

Logging features:
Support utmp records        : yes
Support wtmp records        : yes
Support lastlog records     : yes
Support X session manager   : yes
Use utempter library        : no

Visual features:
Support line space          : yes
24 bits color mode          : yes
256 color mode              : yes
Blink cursor                : yes
Blank pointer               : yes
Color text shadow           : yes
Smart resize                : yes
Menu bar                    : yes

Background features:
Background image            : yes
XPM background image        : yes
JPEG background image       : yes
PNG background image        : yes
Transparent background      : yes
Off focus fading            : yes
Background tinting          : yes

Multi-language and font features:
Freetype Font               : yes
X Input Method              : yes
Greek keyboard              : yes
CJK multichar language      : yes
Default encoding method     : noenc
Thai support                : yes

System features:
TTY/PTY type                : OPENPTY
TTY gid                     : yes
Backspace key               : yes
Delete key                  : yes
X resources                 : yes
X default resources         : no
Swap screen                 : yes
Old selection               : no

Options:
Terminal name               : rxvt
Maximal tabs                : 10
Line space                  : 0
Internal border width       : 0
External border width       : 0
Saved lines in scroll       : 100
[/code:1]
发表于 2005-1-17 04:20:27 | 显示全部楼层
看起来好象是GNU iconv库没有装。解决方案有三种,一是disable CJK,一是disable XFT,一是装GNU iconv库。
回复

使用道具 举报

 楼主| 发表于 2005-1-18 21:57:10 | 显示全部楼层
不行!iconv早已经装了~!而关闭上述选项也是无补于事!
回复

使用道具 举报

发表于 2005-1-19 09:51:27 | 显示全部楼层
> checking iconv.h usability... no
> checking iconv.h presence... no
> checking for iconv.h... no

这些是怎么回事?好象iconv.h没有找到啊。
回复

使用道具 举报

发表于 2005-1-19 10:42:36 | 显示全部楼层
我刚试了试,在cygwin上编译没问题。你得装libiconv。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 05:59 , Processed in 0.144606 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表