- 论坛徽章:
- 0
|
这是我运行一个自己写的自动编译脚本时的日志,请各位大大帮我分析!
START gmc time is :
2005年01月11日星期二20时02分39秒
cc: Info: /yh9100/.source/drms/tool/utl/yapp/yapp.c, line 271: Strict standard C extension: The declaration of the "main" function has a return type other than int. (mainnotint)
void main(
^
10 rules never reduced
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1261: In the initializer for yysvec[1].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-1, 0, yyvstop+1,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1263: In the initializer for yysvec[3].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-11, 0, yyvstop+7,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1264: In the initializer for yysvec[4].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-26, yysvec+3, yyvstop+10,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1265: In the initializer for yysvec[5].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-100, 0, yyvstop+13,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1266: In the initializer for yysvec[6].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-1, yysvec+5, yyvstop+16,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1267: In the initializer for yysvec[7].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-118, 0, yyvstop+19,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1268: In the initializer for yysvec[8].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-1, yysvec+7, yyvstop+22,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1273: In the initializer for yysvec[13].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-154, 0, yyvstop+37,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1275: In the initializer for yysvec[15].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-166, 0, yyvstop+44,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1288: In the initializer for yysvec[28].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-346, 0, yyvstop+94,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1292: In the initializer for yysvec[32].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-348, 0, yyvstop+106,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1293: In the initializer for yysvec[33].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-4, yysvec+32, yyvstop+109,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1295: In the initializer for yysvec[35].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-12, yysvec+32, yyvstop+115,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1298: In the initializer for yysvec[38].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-3, yysvec+13, yyvstop+120,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1300: In the initializer for yysvec[40].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-3, yysvec+15, yyvstop+122,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1318: In the initializer for yysvec[58].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-20, yysvec+28, yyvstop+157,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1323: In the initializer for yysvec[63].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-6, yysvec+32, yyvstop+167,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1324: In the initializer for yysvec[64].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-17, yysvec+32, yyvstop+169,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1325: In the initializer for yysvec[65].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-58, yysvec+32, yyvstop+171,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1326: In the initializer for yysvec[66].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-60, yysvec+32, yyvstop+173,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1345: In the initializer for yysvec[85].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-83, yysvec+32, yyvstop+207,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1361: In the initializer for yysvec[101].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-220, yysvec+32, yyvstop+238,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1372: In the initializer for yysvec[112].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-215, yysvec+32, yyvstop+258,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1383: In the initializer for yysvec[123].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-238, yysvec+32, yyvstop+281,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1391: In the initializer for yysvec[131].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-250, yysvec+32, yyvstop+298,
--------^
cc: Info: /yh9100/tmp/rpcssc_lex.c, line 1396: In the initializer for yysvec[136].yystoff, an array subscript expression is either less than zero or greater than the largest value that can be represented by the size_t type. (badsubscript)
yycrank+-54, yysvec+32, yyvstop+306,
--------^
ar: Warning: creating /yh9100/shlib/libmdbsincl.a
cc: Warning: utl/utl_prc.c, line 454: In this statement, this argument to printf is of "int" type and is not appropriate for the conversion specifier "%s". The value will be formatted in an unintended manner. (outstringtype)
printf ("UTL_StartDaemon (fork): %s", strerror (errno));
-----------------------------------------------^
cc: Warning: utl/utl_prc.c, line 478: In this statement, this argument to printf is of "int" type and is not appropriate for the conversion specifier "%s". The value will be formatted in an unintended manner. (outstringtype)
printf ("UTL_StartDaemon (setpgrp): %s", strerror (errno));
-----------------------------------------------^
cc: Warning: utl/utl_prio.c, line 1156: In this statement, this argument to sprintf is of "int" type and is not appropriate for the conversion specifier "%s". The value will be formatted in an unintended manner. (outstringtype)
UTL_GetEnv( UTL_K_PRIO_BINPATH ),
-----------------^
cc: Warning: bsd/bsdsrv.c, line 4086: In this statement, the expression "pTemp=pTemp++" modifies the variable "pTemp" more than once without an intervening sequence point. This behavior is undefined. (undefvarmod)
pTemp=pTemp++;
----------------^
cc: Info: npm/npmsrv.c, line 3253: Spurious token(s) ignored on preprocessor directive line. (ignoreextra)
#ifdef ALPHA_V5.0
---------------^
cc: Info: npm/npmsrv.c, line 3390: Spurious token(s) ignored on preprocessor directive line. (ignoreextra)
#ifdef ALPHA_5.0
--------------^
ld:
Warning: ED defined as PROC TEXT but is defined in a shared lib as a GLOBAL OBJECT
ar: Warning: creating /yh9100/shlib/libdrms.a
ar: Warning: creating /yh9100/shlib/libstub.a
cc: Info: /yh9100/.source/drms/api/snmp/snmp.c, line 178: In this statement, the return type for intrinsic "strlen" is being changed from "size_t" to "int". (intrinsicint)
int sidLen = strlen("public" ;
---------------------^
cc: Info: /yh9100/.source/drms/api/snmp/snmp_api.c, line 175: In this statement, the return type for intrinsic "strlen" is being changed from "size_t" to "int". (intrinsicint)
cp = (u_char *)malloc((unsigned)strlen(session->peername) + 1);
----------------------------------------^
cc: Warning: /yh9100/.source/drms/api/snmp/snmp_api.c, line 717: In this statement, this argument to printf is of "int" type and is not appropriate for the conversion specifier "%s". The value will be formatted in an unintended manner. (outstringtype)
printf("recieved %d bytes from %s:\n", length, inet_ntoa(from.sin_addr));
---------------------------------------------------------------^
cc: Info: /yh9100/.source/drms/api/snmp/mib.c, line 486: Spurious token(s) ignored on preprocessor directive line. (ignoreextra)
#endif testing
-------^
cc: Info: /yh9100/.source/drms/api/snmp/mib.c, line 69: In this statement, the return type for intrinsic "strlen" is being changed from "size_t" to "int". (intrinsicint)
buf += strlen(buf);
---------------^
cc: Warning: /yh9100/.source/drms/api/snmp/mib.c, line 413: In this declaration, "set_functions" is declared with both internal and external linkage. The previous declaration is at line number 409 in file /yh9100/.source/drms/api/snmp/mib.c. (mixlinkage)
set_functions(subtree)
^
cc: Warning: /yh9100/.source/drms/api/snmp/mib.c, line 546: In this declaration, "parse_subtree" is declared with both internal and external linkage. The previous declaration is at line number 538 in file /yh9100/.source/drms/api/snmp/mib.c. (mixlinkage)
parse_subtree(subtree, input, output, out_len)
^
cc: Warning: /yh9100/.source/drms/api/snmp/mib.c, line 778: In this declaration, "lc_cmp" is declared with both internal and external linkage. The previous declaration is at line number 592 in file /yh9100/.source/drms/api/snmp/mib.c. (mixlinkage)
lc_cmp(s1, s2)
^
cc: Warning: /yh9100/.source/drms/api/snmp/snmp_parse.c, line 229: In this declaration, "do_subtree" is declared with both internal and external linkage. The previous declaration is at line number 207 in file /yh9100/.source/drms/api/snmp/snmp_parse.c. (mixlinkage)
do_subtree(root, nodes)
^
cc: Info: /yh9100/.source/drms/api/snmp/snmp_parse.c, line 377: In this statement, the return type for intrinsic "strlen" is being changed from "size_t" to "int". (intrinsicint)
cp = (char *)Malloc((unsigned)strlen(label));
------------------------------------------^
cc: Warning: /yh9100/.source/drms/api/snmp/snmp_parse.c, line 404: In this declaration, "free_node" is declared with both internal and external linkage. The previous declaration is at line number 322 in file /yh9100/.source/drms/api/snmp/snmp_parse.c. (mixlinkage)
free_node(np)
^
cc: Warning: /yh9100/.source/drms/api/snmp/snmp_parse.c, line 785: In this declaration, "get_token" is declared with both internal and external linkage. The previous declaration is at line number 344 in file /yh9100/.source/drms/api/snmp/snmp_parse.c. (mixlinkage)
get_token(fp, token)
^
ar: Warning: creating /yh9100/shlib/libsnmp.a
gmake[4]: *** [cscape] Segmentation fault (core dumped)
gmake[3]: *** [gmake_cscape] Error 2
gmake[2]: *** [make_oak] Error 2
gmake[1]: *** [make_api] Error 2
gmake: *** [9100_apis] Error 2
end gmc time :
2005年01月11日星期二20时03分35秒
...............................................................................
请问:gmake[4]: *** [cscape] Segmentation fault (core dumped)
这是为什么? |
|