Project

General

Profile

Actions

Bug #13536

closed

lp: symbol 'lp_alloc_fail_handler' is multiply-defined

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:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 10:

    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/lpsched-service.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/lpsched-printers.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/lpsched-jobs.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/lpsched-misc.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/service.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/printer.o type=OBJT);
    ld: fatal: symbol 'lp_alloc_fail_handler' is multiply-defined:
            (file pics/lpsched-msgs.o type=OBJT; file pics/job.o type=OBJT);
    ld: fatal: file processing errors. No output written to psm-lpsched.so.1
    collect2: error: ld returned 1 exit status

Testing done: build/install/boot

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1248
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 1d4c48c4c76a8b6a9ab91af4f76ca68c6556ad61

commit  1d4c48c4c76a8b6a9ab91af4f76ca68c6556ad61
Author: Toomas Soome <tsoome@me.com>
Date:   2021-02-17T10:39:34.000Z

    13536 lp: symbol 'lp_alloc_fail_handler' is multiply-defined
    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