Project

General

Profile

Actions

Bug #12728

closed

emlxs: symbol 'emlxs_prog_type_t' is multiply-defined

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

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

Description

Build error with gcc 10:

    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_dfc.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_dhchap.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_diag.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_download.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_dump.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_els.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_event.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_fcf.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_fcp.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_fct.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_hba.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_ip.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_mbox.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_mem.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_msg.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_node.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_pkt.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_sli3.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_sli4.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_solaris.o type=OBJT);
    ld: fatal: symbol 'emlxs_prog_type_t' is multiply-defined:
            (file obj64/emlxs_clock.o type=OBJT; file obj64/emlxs_thread.o type=OBJT);
    ld: fatal: file processing errors. No output written to obj64/emlxs

Actions #1

Updated by Electric Monk about 2 years ago

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

git commit 7e95e8d94bf4ccccc742a5e7a1370afe0d890ae3

commit  7e95e8d94bf4ccccc742a5e7a1370afe0d890ae3
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-17T17:06:11.000Z

    12728 emlxs: symbol 'emlxs_prog_type_t' is multiply-defined
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Reviewed by: Aurélien Larcher  <aurelien.larcher@gmail.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF