Project

General

Profile

Actions

Bug #13595

closed

logadm: failing to build test programs

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

While trying to build logadm test programs:

    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: conf.c:708 main() error: unchecked function return 'conf_open'

    Undefined                       first referenced
     symbol                             in file
    Debug                               conftest.o
    ld: fatal: symbol referencing errors. No output written to conftest

First one is simple smatch issue. Second one is happening now because Debug is defined in main.c. Since conftest has its own main(), we need to provide Debug for it.

Testing done: build and attempt to run tester.


Related issues

Related to illumos gate - Bug #13538: logadm: multiply-defined symbolsClosedToomas Soome

Actions
Actions #1

Updated by Toomas Soome about 1 year ago

  • Related to Bug #13538: logadm: multiply-defined symbols added
Actions #2

Updated by Electric Monk about 1 year ago

  • Gerrit CR set to 1302
Actions #3

Updated by Electric Monk about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit d893e05e2a64324d7059baefcbf7bd9872a32ad9

commit  d893e05e2a64324d7059baefcbf7bd9872a32ad9
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-09T20:55:15.000Z

    13595 logadm: failing to build test programs
    Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF