Project

General

Profile

Bug #11890

Undefined symbol in build of network/ntp

Added by Gary Mills 11 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

The OI source is from 2018. Consequently, there may be a new version of the source, or some of the bugs may have already been fixed. Though the changes have been developed on SPARC hardware, they might correct bugs in some x86 packages. In any case, they should not damage other x86 packages.

During a build of network/ntp, I received the following error:

  CCLD     sntp
Undefined                       first referenced
 symbol                             in file
arc4random_addrandom                ./libevent/.libs/libevent_core.a(evutil_rand.o)
ld: fatal: symbol referencing errors. No output written to sntp
collect2: error: ld returned 1 exit status

The cause of the failure is obviously the unknown symbol. Fortunately, there is a configure option to omit the sntp component. The error is fixed by Makefile.diff . No manifest changes are required because sntp is not used in oi-userland.


Files

Makefile.diff (722 Bytes) Makefile.diff Gary Mills, 2019-10-29 03:34 PM

Also available in: Atom PDF