Project

General

Profile

Bug #13429

nge: multiply-defined symbols

Added by Toomas Soome 18 days ago. Updated 18 days ago.

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

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 10:

    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT);
    ld: fatal: symbol 'nge_uni_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_mul_addr0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_mul_mask1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined:
            (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT);
    ld: fatal: file processing errors. No output written to obj64/nge

#1

Updated by Electric Monk 18 days ago

  • Gerrit CR set to 1149

Also available in: Atom PDF