Skip to content

Multiple definitions errors #43

@yodabytz

Description

@yodabytz

Operating System: Debian GNU/Linux 11 (bullseye)
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
GNU Make 4.3
Built for x86_64-pc-linux-gnu

v -f .deps/mod-snoop.Tpo .deps/mod-snoop.Po
gcc -DHAVE_CONFIG_H -DPREFIX="/home/yoda/X3" -I. -DNDEBUG -I/home/yoda/include -L/home/yoda/lib -I/home/yoda/include -L/home/yoda/lib -g -O2 -D_GNU_SOURCE -W -Wall -MT mod-memoserv.o -MD -MP -MF .deps/mod-memoserv.Tpo -c -o mod-memoserv.o mod-memoserv.c
mv -f .deps/mod-memoserv.Tpo .deps/mod-memoserv.Po
gcc -g -O2 -D_GNU_SOURCE -W -Wall -o x3 base64.o chanserv.o compat.o conf.o dict-splay.o getopt.o getopt1.o gline.o global.o hash.o heap.o helpfile.o ioset.o log.o main.o math.o md5.o modcmd.o modules.o nickserv.o opserv.o policer.o recdb.o sar.o saxdb.o spamserv.o shun.o timeq.o tools.o x3ldap.o version.o proto-p10.o mail-sendmail.o ioset-select.o ioset-epoll.o mod-snoop.o mod-memoserv.o -ltre -lm -lnsl -L/home/yoda/lib -Wl,--rpath -Wl,/home/yoda/lib
/usr/bin/ld: log.o:/home/yoda/x3/src/log.c:30: multiple definition of chanserv'; chanserv.o:/home/yoda/x3/src/chanserv.c:603: first defined here /usr/bin/ld: proto-p10.o:/home/yoda/x3/src/proto-common.c:42: multiple definition of socket_io_fd'; chanserv.o:/home/yoda/x3/src/chanserv.c:682: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:347: x3] Error 1
make[2]: Leaving directory '/home/yoda/x3/src'
make[1]: *** [Makefile:284: all] Error 2
make[1]: Leaving directory '/home/yoda/x3/src'
make: *** [Makefile:268: all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions