This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbol redefined errors


<Kartik.Vashishta@synovate.com> writes:

> We are getting the following errors, this happened when we moved from a
> legacy system where everything worked to a newer system. The compiler
> was reinstalled on the newer system and all files were copied. Any help
> will be appreciated.
>
> Qsms using gcc compiler
> QSMS COMPILER - VERSION v7.8 (/usr/qtime/qc/v7.8)
>
> Adding compiler options: "-D ISSPIF=0"
> Gener version v7.8.11 - Copyright (c) 1986-2004 SPSS Ltd. All rights
> reserved.
> Gener processed 54 files,
> 3 files from current directory,
> 24 files from /usr/qtime/qc/v7.8/sms/mfi/mfi7.1,
> 13 files from /usr/qtime/qc/v7.8/sms/qts/include,
> 14 files from /usr/qtime/qc/v7.8/sms/standard/include.
> Using ANSI C compilation
> .....................In file included from /usr/include/curses.h:23,
>                  from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/include/curses.h:5,
>                  from /usr/qtime/qc/v7.8/sms/src/supervisor.c:13:
> /usr/include/widec.h:38: warning: `getwc' redefined
> /usr/include/iso/wchar_iso.h:186: warning: this is the location of the
> previous definition
> /usr/include/widec.h:39: warning: `putwc' redefined
> /usr/include/iso/wchar_iso.h:189: warning: this is the location of the
> previous definition
> /usr/include/widec.h:40: warning: `getwchar' redefined
> /usr/include/iso/wchar_iso.h:187: warning: this is the location of the
> previous definition
> /usr/include/widec.h:41: warning: `putwchar' redefined
> /usr/include/iso/wchar_iso.h:190: warning: this is the location of the
> previous definition
> ...

This question is not appropriate for the mailing list gcc@gcc.gnu.org,
which is for gcc development.  It would be appropriate for
gcc-help@gcc.gnu.org.  Please take any followups to gcc-help.  Thanks.

This does not appear to be a gcc issue as such.  This appears to be a
problem with the header files on your system, specifically the two
header files mentioned above.  They do not appear to be compatible.
Those header files did not come from gcc.  You will have to look at
those header files to find out why they are incompatible.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]