public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC and Solaris 2.7
@ 2000-01-24 11:46 Kennedy, Robert (SAIC)
  2000-01-24 11:56 ` James Thompson
  2000-04-01  0:00 ` Kennedy, Robert (SAIC)
  0 siblings, 2 replies; 4+ messages in thread
From: Kennedy, Robert (SAIC) @ 2000-01-24 11:46 UTC (permalink / raw)
  To: gcc-help

Hello, 

We recently upgraded from Solaris 2.5.1 to Solaris 2.7.  We had been using
gcc version 2.7 with no problems. After the upgrade, we have started getting
errors saying that there were "conflicting types for built-in function" for
memcpy, memcmp, and memset.   These errors got produced when we tried to
compile anything with the gcc after we upgraded the OS. 

When I contacted the vendor that makes the tool that was trying to use the
gcc compiler they said that I needed to get a newer version of the compiler
and install it and that it should resolve the problem. So, I downloaded
version 2.95.1 of gcc and have been trying to install it.  When I tried the
"make bootstrap", it fails, producing errors that say that there are
conflicting types for these same 3 built-in functions.  The error is
pointing to /usr/local/include/string.h.  When I look at that file, it's got
"extern" declarations for these functions.  I've tried removing this file.
When I do that, I don't get the error messages about those functions during
the make bootstrap.  Instead I get a whole list of warnings about different
items being "redefined" and it being the "location of the previous
definition".  After all of those go by, I get a message saying that all of
the following are undefined symbols:  stdout, __fillbf, __flshfp,
__ctype_toupper, __ctype_b, stdin, and stderr.  These are a fatal error for
ld, so it bails out.

Any help in resolving these errors would be greatly appreciated.

Robert E Kennedy III
Software Engineer
Science Applications International Corporation
6725 Odyssey Drive, Huntsville AL 35806-3301
Phone (256) 876-5842  Fax (256) 876-5699
Email: robert.e.kennedy.iii@cpmx.saic.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC and Solaris 2.7
  2000-01-24 11:46 GCC and Solaris 2.7 Kennedy, Robert (SAIC)
@ 2000-01-24 11:56 ` James Thompson
  2000-04-01  0:00   ` James Thompson
  2000-04-01  0:00 ` Kennedy, Robert (SAIC)
  1 sibling, 1 reply; 4+ messages in thread
From: James Thompson @ 2000-01-24 11:56 UTC (permalink / raw)
  To: Kennedy, Robert (SAIC); +Cc: gcc-help

On Mon, 24 Jan 2000, Kennedy, Robert (SAIC) wrote:

> 
> Any help in resolving these errors would be greatly appreciated.
> 

For what it's worth, you can go to Sun's free software site
(www.sunfreeware.com) and get gcc precompiled for your version of Solaris.  
I did this when we moved to 2.5.1 to get a functional gcc binary and then
used it to compile gcc from source.  Don't know if it'll solve your
problem but it might be worth a shot.

Take Care,
James

->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561 
Kansas State University                          Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<


^ permalink raw reply	[flat|nested] 4+ messages in thread

* GCC and Solaris 2.7
  2000-01-24 11:46 GCC and Solaris 2.7 Kennedy, Robert (SAIC)
  2000-01-24 11:56 ` James Thompson
@ 2000-04-01  0:00 ` Kennedy, Robert (SAIC)
  1 sibling, 0 replies; 4+ messages in thread
From: Kennedy, Robert (SAIC) @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

Hello, 

We recently upgraded from Solaris 2.5.1 to Solaris 2.7.  We had been using
gcc version 2.7 with no problems. After the upgrade, we have started getting
errors saying that there were "conflicting types for built-in function" for
memcpy, memcmp, and memset.   These errors got produced when we tried to
compile anything with the gcc after we upgraded the OS. 

When I contacted the vendor that makes the tool that was trying to use the
gcc compiler they said that I needed to get a newer version of the compiler
and install it and that it should resolve the problem. So, I downloaded
version 2.95.1 of gcc and have been trying to install it.  When I tried the
"make bootstrap", it fails, producing errors that say that there are
conflicting types for these same 3 built-in functions.  The error is
pointing to /usr/local/include/string.h.  When I look at that file, it's got
"extern" declarations for these functions.  I've tried removing this file.
When I do that, I don't get the error messages about those functions during
the make bootstrap.  Instead I get a whole list of warnings about different
items being "redefined" and it being the "location of the previous
definition".  After all of those go by, I get a message saying that all of
the following are undefined symbols:  stdout, __fillbf, __flshfp,
__ctype_toupper, __ctype_b, stdin, and stderr.  These are a fatal error for
ld, so it bails out.

Any help in resolving these errors would be greatly appreciated.

Robert E Kennedy III
Software Engineer
Science Applications International Corporation
6725 Odyssey Drive, Huntsville AL 35806-3301
Phone (256) 876-5842  Fax (256) 876-5699
Email: robert.e.kennedy.iii@cpmx.saic.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC and Solaris 2.7
  2000-01-24 11:56 ` James Thompson
@ 2000-04-01  0:00   ` James Thompson
  0 siblings, 0 replies; 4+ messages in thread
From: James Thompson @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Kennedy, Robert (SAIC); +Cc: gcc-help

On Mon, 24 Jan 2000, Kennedy, Robert (SAIC) wrote:

> 
> Any help in resolving these errors would be greatly appreciated.
> 

For what it's worth, you can go to Sun's free software site
(www.sunfreeware.com) and get gcc precompiled for your version of Solaris.  
I did this when we moved to 2.5.1 to get a functional gcc binary and then
used it to compile gcc from source.  Don't know if it'll solve your
problem but it might be worth a shot.

Take Care,
James

->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561 
Kansas State University                          Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-24 11:46 GCC and Solaris 2.7 Kennedy, Robert (SAIC)
2000-01-24 11:56 ` James Thompson
2000-04-01  0:00   ` James Thompson
2000-04-01  0:00 ` Kennedy, Robert (SAIC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).