Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: rgerhards

Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Postby signdown0 » Thu Mar 11, 2010 7:57 pm

Running CentOS 5.4 64-bit. Sampling of errors from make:

Code: Select all
glbl.c: In function ‘GetGlobalInputTermState’:           
glbl.c:127: warning: integer overflow in expression     
glbl.c: In function ‘SetGlobalInputTermination’:         
glbl.c:136: warning: value computed is not used
parser.c: In function ‘ParseMsg’:                       
parser.c:446: warning: ‘localRet’ may be used uninitialized in this function
debug.c:896: warning: ignoring #pragma GCC diagnostic                       
debug.c:922: warning: ignoring #pragma GCC diagnostic                       
debug.c: In function ‘dbgprint’:                                           
debug.c:903: warning: variable ‘pszObjName’ might be clobbered by ‘longjmp’ or ‘vfork’
wtp.c:207: warning: ignoring #pragma GCC diagnostic                                   
wtp.c: In function ‘wtpShutdownAll’:                                                 
wtp.c:233: warning: integer overflow in expression                                   
wtp.c: At top level:                                                                 
wtp.c:248: warning: ignoring #pragma GCC diagnostic                                   
wtp.c: In function ‘wtpWrkrExecCleanup’:                                             
wtp.c:290: warning: integer overflow in expression                                   
wtp.c: At top level:                                                                 
wtp.c:328: warning: ignoring #pragma GCC diagnostic                                   
wtp.c:368: warning: ignoring #pragma GCC diagnostic                                   
wtp.c: In function ‘wtpStartWrkr’:                                                   
wtp.c:403: warning: integer overflow in expression                                   
wtp.c: In function ‘wtpAdviseMaxWorkers’:                                             
wtp.c:435: warning: integer overflow in expression                                   
  CC     librsyslog_la-wti.lo                                                         
wti.c: In function ‘wtiGetState’:                                                     
wti.c:85: warning: integer overflow in expression                                     
wti.c: In function ‘wtiSetState’:                                                     
wti.c:109: warning: value computed is not used                                       
wti.c:111: warning: value computed is not used                                       
wti.c: At top level:                                                                 
wti.c:244: warning: ignoring #pragma GCC diagnostic                                   
wti.c:309: warning: ignoring #pragma GCC diagnostic

Similar errors continue to repeat. I eventually "make install" anyway, but rsyslog does not work. It runs as a service, but will not log anything despite having a working configuration file from 5.3.7.

Any ideas? Thanks for your help in advance!
signdown0
New
 
Posts: 7
Joined: Thu Mar 11, 2010 7:47 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Postby Burn » Fri Mar 12, 2010 3:34 am

I've compiled 5.4.0 on centos 5.4 without any problem
Burn
Frequent Poster
 
Posts: 56
Joined: Wed Jan 20, 2010 7:15 am

Re: Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Postby signdown0 » Fri Mar 12, 2010 4:28 am

Burn,

Did you get similar errors when you compiled? I'm wondering if there is something wrong with my system, configuration file, or if something is going wrong with the build? Thanks.
signdown0
New
 
Posts: 7
Joined: Thu Mar 11, 2010 7:47 pm

Re: Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Postby signdown0 » Fri Mar 12, 2010 4:59 am

I've tried building and installing on another system: 32-bit Centos 5.4. I get the same problem. Some errors during the make, but no problem installing. However, logs are NEVER written when it's running.
signdown0
New
 
Posts: 7
Joined: Thu Mar 11, 2010 7:47 pm

Re: Errors during compilation with 5.4.0 on CentOS 5.4 64-bit

Postby signdown0 » Fri Mar 12, 2010 5:52 am

It turns out there was a problem with the configuration file I was using. Everything seems to be working correctly now.
signdown0
New
 
Posts: 7
Joined: Thu Mar 11, 2010 7:47 pm

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron