Project

General

Profile

Bug #13532

ftp: 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 'connected' is multiply-defined:
            (file ftp.o type=OBJT; file main.o type=OBJT);
    ld: fatal: symbol 'tmp_nlst' is multiply-defined:
            (file cmds.o type=OBJT; file main.o type=OBJT);
    ld: fatal: symbol 'ucbuf' is multiply-defined:
            (file ftp.o type=OBJT; file main.o type=OBJT);
    ld: fatal: symbol 'auth_type' is multiply-defined:
            (file main.o type=OBJT; file auth.o type=OBJT);
    ld: fatal: symbol 'mechoid' is multiply-defined:
            (file main.o type=OBJT; file auth.o type=OBJT);
    ld: fatal: symbol 'gcontext' is multiply-defined:
            (file main.o type=OBJT; file auth.o type=OBJT);
    ld: fatal: symbol 'reply_parse' is multiply-defined:
            (file main.o type=OBJT; file auth.o type=OBJT);
    ld: fatal: file processing errors. No output written to ftp

Testing done: build/install/boot

#1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 1245
#2

Updated by Electric Monk about 1 month ago

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

git commit 92163adad0f33b8ee626f71225670465b4718da2

commit  92163adad0f33b8ee626f71225670465b4718da2
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-12T07:11:47.000Z

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

Also available in: Atom PDF