Information: Forum is in read-only mode
For details and other support options see https://www.adiscon.com/news/support-forum-set-to-read-only-mode/

OS X 10.7.5 make failure - ‘currentTimeMills’ - ‘tm’ undef

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

Moderator: alorbach

Google Ads


OS X 10.7.5 make failure - ‘currentTimeMills’ - ‘tm’ undef

Postby jlbrown1 » Wed Jun 15, 2016 7:34 am

After installing all the dependencies I was able to ./configure without errors.

But when I try to compile I get:

$ make
make all-recursive
Making all in compat
CC compat_la-getifaddrs.lo
CC compat_la-strndup.lo
CCLD compat.la
/usr/bin/ranlib: file: .libs/compat.a(compat_la-getifaddrs.o) has no symbols
/usr/bin/ranlib: file: .libs/compat.a(compat_la-strndup.o) has no symbols
ranlib: file: .libs/compat.a(compat_la-getifaddrs.o) has no symbols
ranlib: file: .libs/compat.a(compat_la-strndup.o) has no symbols
ranlib: warning for library: .libs/compat.a the table of contents is empty (no object file members in the library define global symbols)
Making all in runtime
CC librsyslog_la-rsyslog.lo
CC librsyslog_la-dnscache.lo
CC librsyslog_la-glbl.lo
glbl.c: In function ‘GetGlobalInputTermState’:
glbl.c:257: warning: integer overflow in expression
CC librsyslog_la-conf.lo
CC librsyslog_la-janitor.lo
CC librsyslog_la-rsconf.lo
CC librsyslog_la-parser.lo
CC librsyslog_la-strgen.lo
CC librsyslog_la-msg.lo
CC librsyslog_la-linkedlist.lo
CC librsyslog_la-objomsr.lo
CC librsyslog_la-stringbuf.lo
CC librsyslog_la-datetime.lo
CC librsyslog_la-srutils.lo
srutils.c: In function ‘currentTimeMills’:
srutils.c:443: error: ‘tm’ undeclared (first use in this function)
srutils.c:443: error: (Each undeclared identifier is reported only once
srutils.c:443: error: for each function it appears in.)
make[2]: *** [librsyslog_la-srutils.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any suggestions as to how to fix this?

(Version 8.19.0)

Thanks,
James.
jlbrown1
New
 
Posts: 1
Joined: Wed Jun 15, 2016 6:43 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: OS X 10.7.5 make failure - ‘currentTimeMills’ - ‘tm’ und

Postby rgerhards » Thu Jun 16, 2016 12:22 pm

I unfortunately do not know OS X, so I do not know. If you find a solution, a patch would be appreciated. I also suggest to try to ask the same thing on the mailing list, there are more folks reading so you have a greater chance somebody may know the requried change.
rgerhards
Site Admin
 
Posts: 3807
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron