因为我需要对 PostgreSQL 做一些扩展。我想在代码块中编译源代码。我创建了一个项目文件并递归地添加了源代码。重建后,它报告这样的错误。我想应该是链接地址错误,链接地址和包含地址应该填什么地址?谢谢。
ubescan.l: In function 'cube_yylex':
cubescan.l:46:1: error: 'yylval' undeclared (first use in this function)
cubescan.l:46:1: note: each undeclared identifier is reported only once for each function it appears in
cubescan.l:46:30: error: 'CUBEFLOAT' undeclared (first use in this function)
cubescan.l:47:22: error: 'O_BRACKET' undeclared (first use in this function)
cubescan.l:48:22: error: 'C_BRACKET' undeclared (first use in this function)
cubescan.l:49:22: error: 'O_PAREN' undeclared (first use in this function)
cubescan.l:50:22: error: 'C_PAREN' undeclared (first use in this function)
cubescan.l:51:22: error: 'COMMA' undeclared (first use in this function)
cubescan.l: In function 'cube_scanner_init':
cubescan.l:97:2: error: 'scanbuflen' undeclared (first use in this function)
cubescan.l:98:2: error: 'scanbuf' undeclared (first use in this function)