Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple definitions errors #43

Open
yodabytz opened this issue Feb 16, 2023 · 0 comments
Open

Multiple definitions errors #43

yodabytz opened this issue Feb 16, 2023 · 0 comments

Comments

@yodabytz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant