因为需要 装锐捷的xrgsu,所以在网上下了libpcap-0.9.4,解压以后就./configure
在就是make,可是接着就出现了一大堆的错误
下面只是一小部分,请指教一下,
btyaccpa.ske:678: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:678: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:678: 错误: request for member ‘psp’ in something not a structure or union
btyaccpa.ske:678: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:679: 错误: request for member ‘lexeme’ in something not a structure or union
btyaccpa.ske:680: 错误: request for member ‘lexeme’ in something not a structure or union
btyaccpa.ske:681: 错误: request for member ‘lexeme’ in something not a structure or union
btyaccpa.ske:682: 错误: request for member ‘state’ in something not a structure or union
btyaccpa.ske:691: 错误: ‘YYSTYPE’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:691: 错误: ‘pv’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:692: 错误: request for member ‘vs’ in something not a structure or union
btyaccpa.ske:692: 错误: request for member ‘vsp’ in something not a structure or union
btyaccpa.ske:697: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:697: 错误: request for member ‘psp’ in something not a structure or union
btyaccpa.ske:715: 错误: request for member ‘save’ in something not a structure or union
btyaccpa.ske: 在函数 ‘YYLex1’ 中:
btyaccpa.ske:739: 错误: request for member ‘save’ in something not a structure or union
btyaccpa.ske: 在函数 ‘yyexpand’ 中:
btyaccpa.ske:760: 错误: ‘YYSTYPE’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:760: 错误: ‘tv’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:762: 错误: ‘new’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:762: 错误: syntax error before ‘YYSTYPE’
btyaccpa.ske:763: 错误: syntax error before ‘int’
btyaccpa.ske:764: 错误: syntax error before ‘Yshort’
btyaccpa.ske:768: 错误: ‘delete’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:768: 错误: syntax error before ‘]’ token
btyaccpa.ske:769: 错误: syntax error before ‘]’ token
btyaccpa.ske:770: 错误: syntax error before ‘]’ token
btyaccpa.ske: 在顶层:
btyaccpa.ske:780: 错误: syntax error before ‘*’ token
btyaccpa.ske: 在函数 ‘YYSCopy’ 中:
btyaccpa.ske:782: 错误: ‘size’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:783: 错误: ‘to’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:783: 错误: ‘from’ 未声明 (在此函数内第一次使用)
btyaccpa.ske: 在顶层:
btyaccpa.ske:794: 错误: syntax error before ‘*’ token
btyaccpa.ske: 在函数 ‘YYMoreStack’ 中:
btyaccpa.ske:795: 错误: request for member ‘ssp’ in something not a structure or union
btyaccpa.ske:795: 错误: request for member ‘ss’ in something not a structure or union
btyaccpa.ske:796: 错误: request for member ‘ss’ in something not a structure or union
btyaccpa.ske:797: 错误: ‘YYSTYPE’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:797: 错误: ‘tvs’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:797: 错误: request for member ‘vs’ in something not a structure or union
btyaccpa.ske:798: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:799: 错误: request for member ‘ss’ in something not a structure or union
btyaccpa.ske:799: 错误: ‘new’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:799: 错误: syntax error before ‘Yshort’
btyaccpa.ske:800: 错误: request for member ‘vs’ in something not a structure or union
btyaccpa.ske:800: 错误: syntax error before ‘YYSTYPE’
btyaccpa.ske:801: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:801: 错误: syntax error before ‘int’
btyaccpa.ske:802: 错误: request for member ‘ss’ in something not a structure or union
btyaccpa.ske:802: 错误: request for member ‘stacksize’ in something not a structure or union
btyaccpa.ske:803: 错误: request for member ‘vs’ in something not a structure or union
btyaccpa.ske:803: 错误: request for member ‘stacksize’ in something not a structure or union
btyaccpa.ske:804: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske:804: 错误: request for member ‘stacksize’ in something not a structure or union
btyaccpa.ske:805: 错误: request for member ‘stacksize’ in something not a structure or union
btyaccpa.ske:806: 错误: ‘delete’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:806: 错误: syntax error before ‘]’ token
btyaccpa.ske:807: 错误: syntax error before ‘]’ token
btyaccpa.ske:808: 错误: syntax error before ‘]’ token
btyaccpa.ske:809: 错误: request for member ‘ssp’ in something not a structure or union
btyaccpa.ske:809: 错误: request for member ‘ss’ in something not a structure or union
btyaccpa.ske:810: 错误: request for member ‘vsp’ in something not a structure or union
btyaccpa.ske:810: 错误: request for member ‘vs’ in something not a structure or union
btyaccpa.ske:811: 错误: request for member ‘psp’ in something not a structure or union
btyaccpa.ske:811: 错误: request for member ‘ps’ in something not a structure or union
btyaccpa.ske: 在顶层:
btyaccpa.ske:814: 错误: syntax error before ‘*’ token
btyaccpa.ske: 在函数 ‘YYNewState’ 中:
btyaccpa.ske:815: 错误: ‘yyparsestate’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:815: 错误: ‘p’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:815: 错误: ‘new’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:815: 错误: syntax error before ‘yyparsestate’
btyaccpa.ske:817: 错误: syntax error before ‘Yshort’
btyaccpa.ske:818: 错误: syntax error before ‘YYSTYPE’
btyaccpa.ske:819: 错误: syntax error before ‘int’
btyaccpa.ske:820: 错误: ‘YYSTYPE’ 未声明 (在此函数内第一次使用)
btyaccpa.ske: 在顶层:
btyaccpa.ske:825: 错误: syntax error before ‘*’ token
btyaccpa.ske: 在函数 ‘YYFreeState’ 中:
btyaccpa.ske:826: 错误: ‘delete’ 未声明 (在此函数内第一次使用)
btyaccpa.ske:826: 错误: syntax error before ‘]’ token
btyaccpa.ske:827: 错误: syntax error before ‘]’ token
btyaccpa.ske:828: 错误: syntax error before ‘]’ token
make: *** [grammar.o] 错误 1