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

Make Error with gcc 10.0.0 20191208 #911

Open
michaelortmann opened this issue Dec 10, 2019 · 0 comments · May be fixed by #912
Open

Make Error with gcc 10.0.0 20191208 #911

michaelortmann opened this issue Dec 10, 2019 · 0 comments · May be fixed by #912

Comments

@michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Dec 10, 2019

eggdrop version git bb69267 (20191127)

gcc 10.0.0 20191006 OK
gcc 10.0.0 20191208 ERROR

---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (debug build).

make[2]: Leaving directory '/home/michael/projects/eggdrop/src'
make[2]: Entering directory '/home/michael/projects/eggdrop/src'
/home/michael/opt/gcc-10-20191208/bin/gcc -g -O2 -pipe -Wall -I.. -I..  -DHAVE_CONFIG_H -I/usr/include -g3 -DDEBUG -DDEBUG_ASSERT -DDEBUG_MEM -DDEBUG_DNS -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o tls.o userent.o userrec.o users.o  -L/usr/lib -ltcl8.6  -lz -lpthread -lm -lssl -lcrypto -ldl  -lresolv md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/bin/ld: users.o:/home/michael/projects/eggdrop/src/users.c:49: multiple definition of `userfile'; userrec.o:/home/michael/projects/eggdrop/src/userrec.c:47: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:44: link] Error 1
make[2]: Leaving directory '/home/michael/projects/eggdrop/src'
make[1]: *** [Makefile:53: ../eggdrop] Error 2
make[1]: Leaving directory '/home/michael/projects/eggdrop/src'
make: *** [Makefile:251: debug] Error 2
@michaelortmann michaelortmann linked a pull request that will close this issue Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.