Skip to content

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

@mengzhuo

Description

@mengzhuo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions