Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.8 beta1 fails to compile on FreeBSD #1138

Closed
czanik opened this issue Jul 29, 2016 · 1 comment
Closed

3.8 beta1 fails to compile on FreeBSD #1138

czanik opened this issue Jul 29, 2016 · 1 comment
Assignees

Comments

@czanik
Copy link
Collaborator

czanik commented Jul 29, 2016

When trying to compile 3.8 beta1 on FreeBSD, it fails with the following message:

  CC       modules/date/modules_date_libdate_la-date-parser-parser.lo
  CC       modules/date/modules_date_libdate_la-strptime-tz.lo
modules/date/strptime-tz.c:516:19: error: invalid argument type 'char *(*)(int, int)' to unary expression
                                        *tm_gmtoff = -(timezone);
                                                     ^~~~~~~~~~~
1 error generated.
gmake[4]: *** [Makefile:10516: modules/date/modules_date_libdate_la-strptime-tz.lo] Error 1
gmake[3]: *** [Makefile:13201: all-recursive] Error 1
gmake[2]: *** [Makefile:5440: all] Error 2
gmake[2]: Leaving directory '/root/syslog-ng-devel/work/syslog-ng-3.8.0beta1'
*** Error code 1
@lbudai
Copy link
Collaborator

lbudai commented Jul 29, 2016

yeah, on FreeBSD timezone is a function and not long int...

@kvch kvch self-assigned this Jul 29, 2016
@lbudai lbudai closed this as completed in 09a8d25 Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants