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

extracters/rstsflx : multiple definition of `curproj' #15

Open
mengzhuo opened this issue Jun 29, 2023 · 0 comments
Open

extracters/rstsflx : multiple definition of `curproj' #15

mengzhuo opened this issue Jun 29, 2023 · 0 comments

Comments

@mengzhuo
Copy link

I just run make with gcc 12.2

cc -g2 -o flx rstsflx.o fip.o rtime.o filename.o doget.o dolist.o doalloc.o docomp.o dotype.o doput.o dodump.o dodelete.o dorename.o dorts.o doprot.o dodir.o doident.o doinit.o dohook.o scancmd.o doclean.o fileio.
o diskio.o absio.o  -lreadline -lncurses -fcommon
/usr/bin/ld: doclean.o:/root/simtools/extracters/rstsflx/doclean.c:68: multiple definition of `curproj'; dolist.o:/root/simtools/extracters/rstsflx/dolist.c:17: first defined here
/usr/bin/ld: doclean.o:/root/simtools/extracters/rstsflx/doclean.c:68: multiple definition of `curprog'; dolist.o:/root/simtools/extracters/rstsflx/dolist.c:17: first defined here
/usr/bin/ld: doclean.o:/root/simtools/extracters/rstsflx/doclean.c:73: multiple definition of `files'; dolist.o:/root/simtools/extracters/rstsflx/dolist.c:16: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:58: flx] 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