[ntp:bugs] [Bug 1852] New: compile error in libntp

bugzilla-daemon at ntp.org bugzilla-daemon at ntp.org
Thu Mar 17 08:42:48 UTC 2011


http://bugs.ntp.org/show_bug.cgi?id=1852

           Summary: compile error in libntp
           Product: ntp
           Version: 4.2.7
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: ntpd
        AssignedTo: stenn at ntp.org
        ReportedBy: Paul.Croome at softwareag.com
                CC: bugs at ntp.org
   Estimated Hours: 0.0


After './configure --disable-all-clocks' or './configure',
'make' shows a compilation error:

[...lots of stuff snipped...]
  CC     work_fork.o
work_fork.c: In function `fork_blocking_child':
work_fork.c:512: warning: passing arg 3 of `init_logging' makes integer from
pointer without a cast
work_fork.c:512: error: too many arguments to function `init_logging'
work_fork.c:513: error: too many arguments to function `setup_logfile'
make[2]: *** [work_fork.o] Error 1
make[2]: Leaving directory `/home1/u/pc/ntp-dev-4.2.7p139/libntp'
make[1]: *** [../libntp/libntp.a] Error 2
make[1]: Leaving directory `/home1/u/pc/ntp-dev-4.2.7p139/sntp'
make: *** [sntp/built-sources-only] Error 2

This happened on 2 systems, using gcc v3.4.6 and gcc v3.4.2.

Paul

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the bugs mailing list