CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  undefined reference error when compiling rsyslog-6.37

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  superbear
      superbear
undefined reference error when compiling rsyslog-6.37
#1
Newbie
Joined: 2012/3/2
From
Posts: 1
Good day!
When I try to compile the rsyslog-6.3.7 into my centOS 6( uname -r shows: 2.6.32-71.el6.i686 )

1. use : ./configure "-march=i586 -mcpu=i686" --enable-imfile
the configure process is end without any errors
2. but,when I use "make" to compile,encounter below errors:

Could anyone tell me what's wrong with it?
Any reply is appreciate!


<ERRORs> r
syslogd-omusrmsg.o: In function `newActInst':
/root/rsyslog-6.3.7/tools/omusrmsg.c:356: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/tools/omusrmsg.c:362: undefined reference to `es_str2cstr'
rsyslogd-omusrmsg.o: In function `parseSelectorAct':
/root/rsyslog-6.3.7/tools/omusrmsg.c:412: undefined reference to `es_newStr'
/root/rsyslog-6.3.7/tools/omusrmsg.c:414: undefined reference to `es_addChar'
/root/rsyslog-6.3.7/tools/omusrmsg.c:418: undefined reference to `es_deleteStr'
rsyslogd-omfwd.o: In function `newActInst':
/root/rsyslog-6.3.7/tools/omfwd.c:656: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:658: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:660: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/tools/omfwd.c:662: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/tools/omfwd.c:672: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:679: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/tools/omfwd.c:681: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/tools/omfwd.c:685: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:694: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:698: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:704: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/tools/omfwd.c:745: undefined reference to `es_str2cstr'
rsyslogd-omfile.o:/root/rsyslog-6.3.7/tools/omfile.c:819: more undefined references to `es_str2cstr' follow
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `es_strdup':
/usr/local/include/libestr.h:189: undefined reference to `es_newStrFromSubStr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `es_strcmp':
/usr/local/include/libestr.h:232: undefined reference to `es_strbufcmp'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `readConfFile':
/root/rsyslog-6.3.7/grammar/rainerscript.c:57: undefined reference to `es_newStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:64: undefined reference to `es_addBuf'
/root/rsyslog-6.3.7/grammar/rainerscript.c:86: undefined reference to `es_addBuf'
/root/rsyslog-6.3.7/grammar/rainerscript.c:89: undefined reference to `es_addChar'
/root/rsyslog-6.3.7/grammar/rainerscript.c:92: undefined reference to `es_addChar'
/root/rsyslog-6.3.7/grammar/rainerscript.c:93: undefined reference to `es_addChar'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstDestruct':
/root/rsyslog-6.3.7/grammar/rainerscript.c:120: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:122: undefined reference to `es_deleteStr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstPrint':
/root/rsyslog-6.3.7/grammar/rainerscript.c:133: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:135: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstFindNameCStr':
/root/rsyslog-6.3.7/grammar/rainerscript.c:163: undefined reference to `es_strcasebufcmp'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstChkDupes':
/root/rsyslog-6.3.7/grammar/rainerscript.c:179: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstChkUnused':
/root/rsyslog-6.3.7/grammar/rainerscript.c:202: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetBinary':
/root/rsyslog-6.3.7/grammar/rainerscript.c:265: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:267: undefined reference to `es_strbufcmp'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetQueueType':
/root/rsyslog-6.3.7/grammar/rainerscript.c:281: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:283: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:285: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:287: undefined reference to `es_strcasebufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:290: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetFileCreateMode':
/root/rsyslog-6.3.7/grammar/rainerscript.c:324: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetGID':
/root/rsyslog-6.3.7/grammar/rainerscript.c:342: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetUID':
/root/rsyslog-6.3.7/grammar/rainerscript.c:365: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetInt':
/root/rsyslog-6.3.7/grammar/rainerscript.c:389: undefined reference to `es_str2num'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doGetWord':
/root/rsyslog-6.3.7/grammar/rainerscript.c:405: undefined reference to `es_newStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:408: undefined reference to `es_addChar'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `nvlstGetParam':
/root/rsyslog-6.3.7/grammar/rainerscript.c:469: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:475: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `cnfparamsPrint':
/root/rsyslog-6.3.7/grammar/rainerscript.c:552: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `var2Number':
/root/rsyslog-6.3.7/grammar/rainerscript.c:744: undefined reference to `es_str2num'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `var2String':
/root/rsyslog-6.3.7/grammar/rainerscript.c:759: undefined reference to `es_newStrFromNumber'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `doFuncCall':
/root/rsyslog-6.3.7/grammar/rainerscript.c:790: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:802: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:805: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:806: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:807: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:815: undefined reference to `es_tolower'
/root/rsyslog-6.3.7/grammar/rainerscript.c:831: undefined reference to `es_str2num'
/root/rsyslog-6.3.7/grammar/rainerscript.c:836: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:842: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `cnfexprEval':
/root/rsyslog-6.3.7/grammar/rainerscript.c:912: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:923: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:929: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:929: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:945: undefined reference to `es_deleteStr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o):/root/rsyslog-6.3.7/grammar/rainerscript.c:956: more undefined references to `es_deleteStr' follow
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `cnfexprEval':
/root/rsyslog-6.3.7/grammar/rainerscript.c:1099: undefined reference to `es_strncmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1100: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1100: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1100: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1100: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1105: undefined reference to `es_strncasecmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1106: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1106: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1106: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1106: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1111: undefined reference to `es_strContains'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1112: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1112: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1112: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1112: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1117: undefined reference to `es_strCaseContains'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1118: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1118: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1118: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1118: undefined reference to `es_deleteStr'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1132: undefined reference to `es_deleteStr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o):/root/rsyslog-6.3.7/grammar/rainerscript.c:1132: more undefined references to `es_deleteStr' follow
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `funcName2ID':
/root/rsyslog-6.3.7/grammar/rainerscript.c:1451: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1458: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1465: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1472: undefined reference to `es_strbufcmp'
/root/rsyslog-6.3.7/grammar/rainerscript.c:1479: undefined reference to `es_strbufcmp'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `varDelete':
/root/rsyslog-6.3.7/grammar/rainerscript.c:1574: undefined reference to `es_deleteStr'
../grammar/.libs/libgrammar.a(libgrammar_la-rainerscript.o): In function `cstrPrint':
/root/rsyslog-6.3.7/grammar/rainerscript.c:1610: undefined reference to `es_str2cstr'
../grammar/.libs/libgrammar.a(libgrammar_la-lexer.o): In function `yylex':
/root/rsyslog-6.3.7/grammar/lexer.l:125: undefined reference to `es_newStrFromBuf'
/root/rsyslog-6.3.7/grammar/lexer.l:127: undefined reference to `es_newStrFromBuf'
/root/rsyslog-6.3.7/grammar/lexer.l:130: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/grammar/lexer.l:172: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/grammar/lexer.l:176: undefined reference to `es_newStrFromBuf'
../grammar/.libs/libgrammar.a(libgrammar_la-lexer.o): In function `cnfSetLexFile':
/root/rsyslog-6.3.7/grammar/lexer.l:271: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-glbl.o): In function `glblDoneLoadCnf':
/root/rsyslog-6.3.7/runtime/glbl.c:475: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/glbl.c:479: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/glbl.c:483: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/glbl.c:487: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/glbl.c:491: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-conf.o): In function `cflineProcessPropFilter':
/root/rsyslog-6.3.7/runtime/conf.c:537: undefined reference to `es_newStrFromBuf'
../runtime/.libs/librsyslog.a(librsyslog_la-rsconf.o): In function `getNOW':
/root/rsyslog-6.3.7/runtime/rsconf.c:296: undefined reference to `es_newStrFromCStr'
../runtime/.libs/librsyslog.a(librsyslog_la-rsconf.o): In function `getSysVar':
/root/rsyslog-6.3.7/runtime/rsconf.c:323: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/runtime/rsconf.c:331: undefined reference to `es_newStrFromCStr'
../runtime/.libs/librsyslog.a(librsyslog_la-rsconf.o): In function `cnfGetVar':
/root/rsyslog-6.3.7/runtime/rsconf.c:463: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `getCEEPropVal':
/root/rsyslog-6.3.7/runtime/msg.c:2301: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/msg.c:2302: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `MsgGetProp':
/root/rsyslog-6.3.7/runtime/msg.c:2508: undefined reference to `es_str2cstr'
/root/rsyslog-6.3.7/runtime/msg.c:2509: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `msgGetCEEVarNew':
/root/rsyslog-6.3.7/runtime/msg.c:3139: undefined reference to `es_newStr'
/root/rsyslog-6.3.7/runtime/msg.c:3143: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/runtime/msg.c:3151: undefined reference to `es_newStrFromCStr'
/root/rsyslog-6.3.7/runtime/msg.c:3153: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-msg.o): In function `msgGetMsgVarNew':
/root/rsyslog-6.3.7/runtime/msg.c:3179: undefined reference to `es_newStrFromCStr'
../runtime/.libs/librsyslog.a(librsyslog_la-queue.o): In function `qqueueApplyCnfParam':
/root/rsyslog-6.3.7/runtime/queue.c:2583: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function `shouldProcessThisMessage':
/root/rsyslog-6.3.7/runtime/rule.c:232: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function `ruleDestruct':
/root/rsyslog-6.3.7/runtime/rule.c:337: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-rule.o): In function `ruleDebugPrint':
/root/rsyslog-6.3.7/runtime/rule.c:401: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-action.o): In function `actionApplyCnfParam':
/root/rsyslog-6.3.7/runtime/../action.c:1826: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-action.o): In function `actionNewInst':
/root/rsyslog-6.3.7/runtime/../action.c:2066: undefined reference to `es_str2cstr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function `do_Parameter':
/root/rsyslog-6.3.7/runtime/../template.c:603: undefined reference to `es_newStrFromCStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function `tplDeleteAll':
/root/rsyslog-6.3.7/runtime/../template.c:1118: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function `tplDeleteNew':
/root/rsyslog-6.3.7/runtime/../template.c:1176: undefined reference to `es_deleteStr'
../runtime/.libs/librsyslog.a(librsyslog_la-template.o): In function `tplPrintList':
/root/rsyslog-6.3.7/runtime/../template.c:1230: undefined reference to `es_str2cstr'
collect2: ld returned 1 exit status
make[2]: *** [rsyslogd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Posted on: 2012/3/2 2:47
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: undefined reference error when compiling rsyslog-6.37
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature. Please see Readme First with regard to post content and when/how to use pastebin if needed, and if posting in-line do not include a lot of redundant error message.

Now the the question:
Why are you doing that? Are you perhaps unfamiliar with TUV's policy of backporting security patches? You can view the package change log and look for the relevant CVEs. Simply looking at the package version number in an Enterprise Linux OS is meaningless.

FAQ#20. Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere.

Please read about Installing Software and Repositories, and note the warnings and advice about installing and configuring the yum priorities plugin. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.

Please pay particular attention to the evils of Source Installs. Source installs as root are particularly dangerous. If you must still have a later version read about how to rebuild SRPMs and find a Fedora or other SRPM as a starting place.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/4 2:06
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com