楼主: 晶晶小妹

晶晶小妹和VAGE共同开发的“日志挖掘”研究版(开源)发布了

[复制链接]
论坛徽章:
3
生肖徽章2007版:马
日期:2009-01-04 10:20:34生肖徽章2007版:牛
日期:2009-11-04 16:54:262010数据库技术大会纪念徽章
日期:2010-05-13 09:34:23
161#
发表于 2009-6-19 14:08 | 只看该作者
版主在编译的时候这是什么问题?
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
$ make -f extract.mk
gcc -c -I/opt/ora10g/product/10.2.0/db_1/rdbms/demo -I/opt/ora10g/product/10.2.0/db_1/rdbms/public -I/opt/ora10g/product/10.2.0/db_1/plsql/public -I/opt/ora10g/product/10.2.0/db_1/network/public -I/opt/ora10g/product/10.2.0/db_1/precomp/public extract.c
extract.c:2:17: oci.h: No such file or directory
In file included from extract.c:5:
extract.h:290: error: syntax error before '*' token
extract.h: In function `checkerr':
extract.h:292: error: `text' undeclared (first use in this function)
extract.h:292: error: (Each undeclared identifier is reported only once
extract.h:292: error: for each function it appears in.)
extract.h:292: error: syntax error before "errbuf"
extract.h:293: error: `ub4' undeclared (first use in this function)
extract.h:296: error: `status' undeclared (first use in this function)
extract.h:297: error: `OCI_SUCCESS' undeclared (first use in this function)
extract.h:299: error: `OCI_SUCCESS_WITH_INFO' undeclared (first use in this function)
extract.h:301: error: `OCI_NEED_DATA' undeclared (first use in this function)
extract.h:304: error: `OCI_NO_DATA' undeclared (first use in this function)
extract.h:307: error: `OCI_ERROR' undeclared (first use in this function)
extract.h:308: error: `err' undeclared (first use in this function)
extract.h:308: error: syntax error before numeric constant
extract.h:310: error: `errbuf' undeclared (first use in this function)
extract.h:312: error: `OCI_INVALID_HANDLE' undeclared (first use in this function)
extract.h:315: error: `OCI_STILL_EXECUTING' undeclared (first use in this function)
extract.h:318: error: `OCI_CONTINUE' undeclared (first use in this function)
extract.h: At top level:
extract.h:326: error: syntax error before "text"
extract.h: In function `parse_connect_string':
extract.h:328: error: `username' undeclared (first use in this function)
extract.h:329: error: `password' undeclared (first use in this function)
extract.h:330: error: `dbname' undeclared (first use in this function)
extract.h:334: error: `connect_str' undeclared (first use in this function)
extract.h: At top level:
extract.h:354: error: syntax error before "nType"
extract.h: In function `GetType':
extract.h:356: error: `nType' undeclared (first use in this function)
extract.h:358: error: `SQLT_AFC' undeclared (first use in this function)
extract.h:359: error: `SQLT_VCS' undeclared (first use in this function)
extract.h:360: error: `SQLT_CHR' undeclared (first use in this function)
extract.h:361: error: `str' undeclared (first use in this function)
extract.h:363: error: `SQLT_DAT' undeclared (first use in this function)
extract.h:366: error: `SQLT_INT' undeclared (first use in this function)
extract.h:367: error: `SQLT_UIN' undeclared (first use in this function)
extract.h:370: error: `SQLT_FLT' undeclared (first use in this function)
extract.h:373: error: `SQLT_BLOB' undeclared (first use in this function)
extract.h:374: error: `SQLT_BIN' undeclared (first use in this function)
extract.h:377: error: `SQLT_NUM' undeclared (first use in this function)
extract.c: In function `extract':
extract.c:11: error: `OCIEnv' undeclared (first use in this function)
extract.c:11: error: `env' undeclared (first use in this function)
extract.c:12: error: `OCIError' undeclared (first use in this function)
extract.c:12: error: `err' undeclared (first use in this function)
extract.c:13: error: `OCIServer' undeclared (first use in this function)
extract.c:13: error: `srv' undeclared (first use in this function)
extract.c:14: error: `OCISvcCtx' undeclared (first use in this function)
extract.c:14: error: `svc' undeclared (first use in this function)
extract.c:15: error: `OCISession' undeclared (first use in this function)
extract.c:15: error: `ses' undeclared (first use in this function)
extract.c:16: error: `sword' undeclared (first use in this function)
extract.c:16: error: syntax error before "r"
extract.c:18: error: `OCIStmt' undeclared (first use in this function)
extract.c:18: error: `stmthp' undeclared (first use in this function)
extract.c:18: error: `stmthp2' undeclared (first use in this function)
extract.c:18: error: `stmthp3' undeclared (first use in this function)
extract.c:18: error: `stmthp4' undeclared (first use in this function)
extract.c:18: error: `stmthp5' undeclared (first use in this function)
extract.c:19: error: `OCIDefine' undeclared (first use in this function)
extract.c:19: error: `defhp1' undeclared (first use in this function)
extract.c:20: error: `defhp2' undeclared (first use in this function)
extract.c:21: error: `defhp3' undeclared (first use in this function)
extract.c:22: error: `defhp4' undeclared (first use in this function)
extract.c:23: error: `defhp5' undeclared (first use in this function)
extract.c:25: error: `text' undeclared (first use in this function)
extract.c:25: error: syntax error before ')' token
extract.c:26: error: `select2' undeclared (first use in this function)
extract.c:26: error: syntax error before ')' token
extract.c:27: error: `select3' undeclared (first use in this function)
extract.c:27: error: syntax error before ')' token
extract.c:29: error: `select4' undeclared (first use in this function)
extract.c:29: error: syntax error before ')' token
extract.c:30: error: `select5' undeclared (first use in this function)
extract.c:30: error: syntax error before ')' token
extract.c:41: error: syntax error before "username"
extract.c:47: error: `username' undeclared (first use in this function)
extract.c:47: error: `password' undeclared (first use in this function)
extract.c:47: error: `dbname' undeclared (first use in this function)
extract.c:49: error: `r' undeclared (first use in this function)
extract.c:49: error: `OCI_DEFAULT' undeclared (first use in this function)
extract.c:51: error: `OCI_SUCCESS' undeclared (first use in this function)
extract.c:56: error: `dvoid' undeclared (first use in this function)
extract.c:56: error: syntax error before ')' token
extract.c:56: error: `OCI_HTYPE_ERROR' undeclared (first use in this function)
extract.c:57: error: syntax error before ')' token
extract.c:57: error: `OCI_HTYPE_SERVER' undeclared (first use in this function)
extract.c:58: error: syntax error before ')' token
extract.c:58: error: `OCI_HTYPE_SVCCTX' undeclared (first use in this function)
extract.c:59: error: syntax error before ')' token
extract.c:59: error: `OCI_HTYPE_SESSION' undeclared (first use in this function)
extract.c:61: error: `ub4' undeclared (first use in this function)
extract.c:61: error: syntax error before "OCI_DEFAULT"
extract.c:68: error: `OCI_ATTR_SERVER' undeclared (first use in this function)
extract.c:70: error: `OCI_ATTR_USERNAME' undeclared (first use in this function)
extract.c:71: error: `OCI_ATTR_PASSWORD' undeclared (first use in this function)
extract.c:73: error: `OCI_CRED_RDBMS' undeclared (first use in this function)
extract.c:76: error: syntax error before ')' token
extract.c:77: error: `OCI_HTYPE_STMT' undeclared (first use in this function)
extract.c:78: error: `OCI_ATTR_PREFETCH_ROWS' undeclared (first use in this function)
extract.c:79: error: `OCI_NTV_SYNTAX' undeclared (first use in this function)
extract.c:81: error: `SQLT_INT' undeclared (first use in this function)
extract.c:82: error: `SQLT_STR' undeclared (first use in this function)
extract.c:198: error: `OCI_NO_DATA' undeclared (first use in this function)
extract.c:198: error: `OCI_FETCH_NEXT' undeclared (first use in this function)
extract.c:340: error: `OCI_HTYPE_ENV' undeclared (first use in this function)
make: *** [extract.o] Error 1

使用道具 举报

回复
论坛徽章:
3
生肖徽章2007版:马
日期:2009-01-04 10:20:34生肖徽章2007版:牛
日期:2009-11-04 16:54:262010数据库技术大会纪念徽章
日期:2010-05-13 09:34:23
162#
发表于 2009-6-19 14:20 | 只看该作者
是ORACLE_HOME路径错误了
现已编译完了
$ more extract.mk
insh=-I/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/demo \
     -I/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/public \
     -I/opt/app/oracle/oracle/product/10.2.0/db_1/plsql/public \
     -I/opt/app/oracle/oracle/product/10.2.0/db_1/network/public \
     -I/opt/app/oracle/oracle/product/10.2.0/db_1/precomp/public
libs=-L/opt/app/oracle/oracle/product/10.2.0/db_1/lib/ -L/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/lib/
make -f extract.mk
gcc -c -I/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/demo -I/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/public -I/opt/app/oracle/oracle/product/10.2.0/db_1/plsql/public -I/opt/app/oracle/oracle/product/10.2.0/db_1/network/public -I/opt/app/oracle/oracle/product/10.2.0/db_1/precomp/public extract.c
gcc -L/opt/app/oracle/oracle/product/10.2.0/db_1/lib/ -L/opt/app/oracle/oracle/product/10.2.0/db_1/rdbms/lib/  -o extract extract.o -lclntsh -ldl -lm -lpthread -lnsl -lirc

[ 本帖最后由 roland_wg 于 2009-6-19 14:21 编辑 ]

使用道具 举报

回复
论坛徽章:
3
生肖徽章2007版:马
日期:2009-01-04 10:20:34生肖徽章2007版:牛
日期:2009-11-04 16:54:262010数据库技术大会纪念徽章
日期:2010-05-13 09:34:23
163#
发表于 2009-6-19 14:37 | 只看该作者
./drlog drlog.par redolog01.log
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
read file /home/oracle/rl/drlog/metafile.drl.clu error,cluster error!
...................................
LoadMeta:max(n)=12800
Segmentation fault

使用道具 举报

回复
论坛徽章:
69
生肖徽章2007版:羊
日期:2008-11-14 14:42:19复活蛋
日期:2011-08-06 08:59:05ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412012新春纪念徽章
日期:2012-01-04 11:49:542012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20版主4段
日期:2012-05-15 15:24:11
164#
发表于 2009-6-19 16:06 | 只看该作者
开发板的也来顶一下

使用道具 举报

回复
论坛徽章:
28
授权会员
日期:2009-01-04 22:12:21世界杯纪念徽章
日期:2014-07-14 11:31:462014年世界杯参赛球队: 澳大利亚
日期:2014-06-25 11:06:552014年新春福章
日期:2014-02-18 16:42:02ITPUB社区12周年站庆徽章
日期:2013-10-08 14:55:07NBA季后赛纪念徽章
日期:2013-06-21 14:52:05NBA常规赛纪念章
日期:2013-04-22 11:49:35季节之章:冬
日期:2012-11-15 16:55:18ITPUB元老
日期:2011-03-17 09:38:472014年世界杯参赛球队: 俄罗斯
日期:2014-07-17 17:21:42
165#
发表于 2009-6-19 18:00 | 只看该作者
受教了

使用道具 举报

回复
求职 : 数据库管理员
论坛徽章:
6
授权会员
日期:2007-08-23 08:30:28ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44ITPUB元老
日期:2009-03-06 11:56:31ITPUB社区千里马徽章
日期:2013-06-09 10:15:34ITPUB社区千里马徽章
日期:2013-08-22 09:58:03
166#
发表于 2009-6-26 12:33 | 只看该作者
顶了,很强大

使用道具 举报

回复
求职 : 数据库管理员
论坛徽章:
6
授权会员
日期:2007-08-23 08:30:28ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44ITPUB元老
日期:2009-03-06 11:56:31ITPUB社区千里马徽章
日期:2013-06-09 10:15:34ITPUB社区千里马徽章
日期:2013-08-22 09:58:03
167#
发表于 2009-6-26 12:35 | 只看该作者
开源的好啊!
系统能够继续完善

使用道具 举报

回复
论坛徽章:
176
现任管理团队成员
日期:2011-05-07 01:45:08版主7段
日期:2012-07-05 02:21:03ITPUB长老会成员
日期:2015-05-07 15:11:10ITPUB年度最佳版主
日期:2011-04-08 18:37:09ITPUB年度最佳版主
日期:2011-12-28 15:24:18ITPUB牛人
日期:2010-10-25 12:41:322010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:19
168#
发表于 2009-6-30 12:52 | 只看该作者
友情帮顶

使用道具 举报

回复
论坛徽章:
176
现任管理团队成员
日期:2011-05-07 01:45:08版主7段
日期:2012-07-05 02:21:03ITPUB长老会成员
日期:2015-05-07 15:11:10ITPUB年度最佳版主
日期:2011-04-08 18:37:09ITPUB年度最佳版主
日期:2011-12-28 15:24:18ITPUB牛人
日期:2010-10-25 12:41:322010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:19
169#
发表于 2009-6-30 12:53 | 只看该作者
支持中!

使用道具 举报

回复
论坛徽章:
69
奥运会纪念徽章:射击
日期:2016-09-06 23:08:25马上有车
日期:2014-02-19 11:55:14马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:112013年新春福章
日期:2013-02-25 14:51:24复活蛋
日期:2013-02-18 11:25:01迷宫蛋
日期:2012-12-25 17:17:41复活蛋
日期:2012-12-21 17:41:38奥运会纪念徽章:沙滩排球
日期:2012-10-27 14:59:31ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32
170#
发表于 2009-6-30 13:07 | 只看该作者
原帖由 wangkxxe 于 2009-6-30 12:53 发表
支持中!




不许乱灌水!

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表