From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,62055b0addb6fbf4,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-06 15:05:41 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!ulke!frodet From: frodet@ulke.dhmolde.no (Frode Tennebo) Newsgroups: comp.unix.osf.osf1 Subject: compilation problem and memory faults Date: 6 Oct 1994 19:07:05 GMT Organization: Computer Science - DhMolde Norway Sender: frodet@ulke (Frode Tennebo) Distribution: world Message-ID: <371hsp$os0@trane.uninett.no> Reply-To: frodet@ulke.dhmolde.no (Frode Tennebo) NNTP-Posting-Host: ulke.himolde.no I have tried to compile gcc-2.6.0 for DEC3000/OSF1 v2.0 and only gets memory faults like the one belows while in the configure-program. I can just make the Makefile myself, but I would like to know what the reason for this can be. To little memory? Merged alpha/x-alpha. /configure: 10989 Memory fault - core dumped Merged c++ fragment(s). /configure: 11004 Memory fault - core dumped Created `./Makefile'. Merged alpha/x-alpha. /configure: 11045 Memory fault - core dumped I have also had specific compiling problem. Like when I tried to compile tcsh-6.03, the compiler (cc) stops with the errors below. BUT, the include library was the one included in the CD-ROM release - have I left something out? bash# make grep 'ERR_' sh.err.c | grep '^#define' >> sh.err.h cc -E -I. -I.. -D_BSD tc.const.c | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort >> tc.const.h cc -c -D_BSD sh.c /usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 572: redeclaration of 'setpwent'; previous declaration at line 96 in file '/usr/include/pwd.h' extern void setpwent(); ------------^ /usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 572: Incompatible function return type for this function extern void setpwent(); --------------------^ *** Exit 1 Stop. TIA -- * Frode Tennebo * It's better to live life in * * email: frodet@himolde.no * wealth and die poor, than live * * phone: +47 712 57716 * life in poverty and die rich. * * snail: Parkv. 31, 6400 Molde, NORWAY * -Frode Tennebo*