Subject: Help compiling 3.91 ERROR

From: [email-masked] (Joe Cygan)
Date: 29 Nov 1995 19:46:35 GMT

--------------------------------------
Here's a copy of the compiler output:
--------------------------------------

make args are "CC=gcc"

Making c-client library, mtest and imapd
	make build SYSTYPE=ANSI OS=d-g
	echo d-g > OSTYPE
	rm -rf systype
	ln -s ANSI systype
	cd ANSI/c-client; make d-g
	make mtest OS=d-g EXTRADRIVERS="" \
		STDPROTO=bezerkproto \
		RSH=restsh RSHPATH=/usr/bin/restsh \
		CFLAGS="-g -Dconst= " RANLIB=true
	./drivers  imap nntp pop3 mh mtx tenex mmdf bezerk news phile dummy
	rm -f OSTYPE CFLAGS LDFLAGS osdep.h
	echo d-g > OSTYPE
	echo -g -Dconst=  > CFLAGS
	echo   > LDFLAGS
	ln -s os_d-g.h osdep.h
	gcc -g -Dconst=  -DSTDPROTO=bezerkproto \
	-DRSH=\"restsh\" -DRSHPATH=\"/usr/bin/restsh\" \
	 -c os_d-g.c
In file included from osdep.h:43,
                 from os_d-g.c:38:
/usr/include/string.h:39: warning: conflicting types for built-in function `strcpy'
/usr/include/string.h:45: warning: conflicting types for built-in function `strcmp'
In file included from /usr/include/string.h:108,
                 from osdep.h:43,
                 from os_d-g.c:38:
/usr/include/memory.h:36: warning: conflicting types for built-in function `memcpy'
/usr/include/memory.h:38: warning: conflicting types for built-in function `memcmp'
os_d-g.c: In function `portable_utime':
os_d-g.c:78: storage size of `times' isn't known
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Making Pico

Making Pine.
Make:  Don't know how to make ../c-client/c-client.a.  Stop.

Links to executables are in bin directory:
bin/pine: cannot open

size: bin/pine: cannot open
size: bin/mtest: cannot open
size: bin/imapd: cannot open
bin/pico: 126712 + 25708 + 7140 = 159560
Done

---

From: [email-masked] (Joe Cygan)
Date: 30 Nov 1995 21:55:57 GMT

The fix you sent:

>The following was sent to me by [email-masked]:
>
>add a line to c-client/os_d-g.c:

>   #include "log_std.c"
>   #include "gr_waitp.c"
>   #include "tz_sv4.c"
>+  #include <utime.h>
>   #undef utime

>This worked here this morning...

This got it to ccompile on the DG/UX box.  BUT....
I cannot reply.  Everything else(well maybe not EVERYTHING)
seems to work right.  But, hit "r" to reply, then answer the
question about copying the message.  As soon as you type "y"
or "n" to the copying message question.  BOOM.  core dump.

How do these issues get addressed around here?

Joe