From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6f40b7fbacf78a08,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-20 01:44:33 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!ihnp4.ucsd.edu!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!misty!ccvj Newsgroups: comp.unix.osf.osf1 Subject: Cnews - runtrials exits 1 Message-ID: <1994Jun20.065801.4601@lugb.latrobe.edu.au> From: ccvj@misty.latrobe.edu.au (Vicki Jordan) Date: Mon, 20 Jun 1994 06:58:01 GMT Sender: news@lugb.latrobe.edu.au (USENET News System) Organization: La Trobe University I am building Cnews on an alpha running osf/1 V1.3a. While running "doit.bin", I had a few errors which I "fixed" but runtrials exits with 1. Specifically, have I caused the error by my changes; do I need to be concerned and finally, if someone has successfully installed Cnews on an alpha, would you please send me your build defines? The changes I made were to libc/getdate.y - commented out the following because the compile complained: /usr/lib/cmplrs/cc/cfe: Error: getdate.y, line 205: redeclaration of 'yylval'; previous declaration at line 39 in file 'getdate.y' /* extern int yylval;*/ and removed the -n in libstdio/Makefile because of complaints from the compiler "NMAGIC files must be created -non_shared." vv $(CC) $(CFLAGS) $(LDFLAGS) -n stdiock.o $(PRE) -lc $(LIBS) $(POST) -o $@ stdiock.fast: stdiock.o $(OBJ) $(LIBS) runtrials exits with a 1 : ----------- stdiock.stock : start ptr 0 cnt 0 setbuf(buf) ptr 1073743008 cnt 0 _cnt can go negative. fwrite ptr 1073743012 cnt -4 your stdio seems to be fputs ptr 1073743008 cnt 0 compatible (_ptr) compatible (_cnt)test ptr 1073743008 cnt 0 with stdio.fast fputs ptr 1073743008 cnt 0 putc 1 ptr 1073743008 cnt 0 _cnt can go negative. putc 2 ptr 1073743009 cnt -1 putc 3 ptr 1073743008 cnt 0 fflush ptr 1073743008 cnt 0 *** Exit 1 Stop. + exit 1 ----------- Thanks. -- Vicki Jordan V.Jordan@latrobe.edu.au Computing Services phone: +61 03 479 1500 La Trobe University fax: +61 03 479 1999 Bundoora Vic 3083 Australia