Project

General

Profile

Bug #13524

cdrw: multiply-defined symbols

Added by Toomas Soome about 2 months ago. Updated about 1 month 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 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file mmc.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file device.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file device.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file device.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file device.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file transport.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file transport.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file transport.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file transport.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file util.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file util.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file util.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file util.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file misc_scsi.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file misc_scsi.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file misc_scsi.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file misc_scsi.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file dumpinfo.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file toshiba.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file toshiba.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file toshiba.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file toshiba.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file trackio.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file trackio.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file trackio.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file trackio.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file write_image.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file write_image.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file write_image.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file write_image.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file blank.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file blank.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file blank.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file blank.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file write_audio.o type=OBJT);
    ld: fatal: symbol 'uscsi_status' is multiply-defined:
            (file mmc.o type=OBJT; file copycd.o type=OBJT);
    ld: fatal: symbol 'rqresid' is multiply-defined:
            (file mmc.o type=OBJT; file copycd.o type=OBJT);
    ld: fatal: symbol 'rqstatus' is multiply-defined:
            (file mmc.o type=OBJT; file copycd.o type=OBJT);
    ld: fatal: symbol 'uscsi_error' is multiply-defined:
            (file main.o type=OBJT; file copycd.o type=OBJT);
    ld: fatal: file processing errors. No output written to cdrw

Testing done: build/install/boot

#1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 1238
#2

Updated by Electric Monk about 1 month ago

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

git commit 3a4671b6f0da381fd0891bf9fe1fcb82176d9897

commit  3a4671b6f0da381fd0891bf9fe1fcb82176d9897
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-12T06:51:22.000Z

    13524 cdrw: multiply-defined symbols
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF