Path: utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!cme!durer!warsaw From: warsaw@cme.nbs.gov (Barry A. Warsaw) Newsgroups: gnu.gcc Subject: Re: gcc compilation problems on sun4 (gcc 1.34) Message-ID: Date: 25 Mar 89 01:37:51 GMT References: <7972@boring.cwi.nl> Sender: news@cme.nbs.gov Organization: National Institute of Standards and Technology Lines: 51 In-reply-to: roberto@cwi.nl's message of 23 Mar 89 14:21:33 GMT In article <7972@boring.cwi.nl> roberto@cwi.nl (Rob ten Kroode) writes: > (sun 4/110, SunOs 4.0) > I have some problems compiling gcc 1.34. I compiled the compiler without any > problems, but when I try to compile the compiler with itself I get the following > messages: > stage1/gcc -g -O -Bstage1/ -sun4 -c version.c > stage1/gcc -g -O -Bstage1/ -sun4 -c obstack.c > stage1/gcc -g -O -Bstage1/ -o gccnew gcc.o version.o obstack.o > _edata: ld: user attempt to redefine loader-defined symbol > _end: user attemp to redefine loader-defined symbol > _text: /lib/libc.a(des_crypt.o): multiply defined > *** Error code 1 > make: Fatal error: Command failed for target `gcc' > I have had no such problems on our sun3's running SunOs 3.5. > Any hints, sollutions? Perhaps you need to upgrade to SunOS 4.0.1, if you haven't already. I'm just in the process of building gcc for Sun3-OS3.5 and Sun4-OS4.0.1 and both have succeeded in compiling correctly. At least they compile themselves (stage1 and stage2) without any errors, and a simple hello world program. I'm using gcc 1.34 which I just snagged last week. However, I can't get gnu emacs to compile using gcc on the Sun3-OS3.5 (haven't yet tried the Sun4). The make will spit out many warnings (some function was declared implicitly 'extern' then later declared 'static') but these are not fatal. Then I get warnings of garbage at the end of #ifndef's of the following files when it compiles src/sunfns.c: /usr/include/pixrect/pixrect_hs.h (line 11) /usr/include/pixrect/traprop.h (line 7) Then the fatal error occurs: /usr/include/sundev/vuid_event.h:39:unterminated character constant which is a line inside a commented #ifdef. The only funky word on that line is "don't". Could the "'" be screwing things up. Admittedly I haven't hack on this much (it just happened as I was reading the original article :-) but I figured, kill two birds with one stone, so to speak. Any ideas? > Rob ten Kroode (roberto@cwi.nl) | Don't read this !! -Barry