Project

General

Profile

Actions

Bug #13540

closed

ndmpd: multiply-defined symbols

Added by Toomas Soome over 1 year ago. Updated over 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

Build errors with gcc 10:

    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_chkpnt.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_comm.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_config.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_connect.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_data.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_door.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_dtime.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_fhistory.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_handler.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_log.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_main.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_mark.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_mover.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_prop.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_scsi.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_tape.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_tar.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_tar3.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_util.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file ndmp/ndmpd_zfs.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_backup_reader.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_bitmap.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_buffers.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_info.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_init.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_lib.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_restore_writer.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_traverse.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_util.o type=OBJT);
    ld: fatal: symbol 'ndmp_log_info' is multiply-defined:
            (file ndmp/ndmpd_callbacks.o type=OBJT; file tlm/tlm_hardlink.o type=OBJT);
    ld: fatal: file processing errors. No output written to ndmpd

Testing done: build/install/boot

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1252
Actions #2

Updated by Electric Monk over 1 year ago

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

git commit b0d8599cdab985a41de495bf1f4f1bb56cdbef3c

commit  b0d8599cdab985a41de495bf1f4f1bb56cdbef3c
Author: Toomas Soome <tsoome@me.com>
Date:   2021-02-17T21:20:45.000Z

    13540 ndmpd: multiply-defined symbols
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF