Subject: Problems compiling 3.89 on Ultrix 4.3 w/secure passwords

From: [email-masked] (Jonathan Kruger)
Date: Tue, 1 Feb 1994 09:31:27 -0500 (EST)

For 3.07 someone had to hack on it to get the secure passwords to work
with IMAP, but it compiled fine.

When I type "build ult" on our DECstation 5000 with ULTRIX 4.3, I get
the following:
---------------------------
make args are "CC=cc"

Making c-client library and mtest
rm -f osdep.h
ln os_ult.h osdep.h
cc -g3 -O2 -Olimit 800 -Dconst= -c mtest.c
cpp: error /usr/include/netdb.h:67: Can't find include file
sys/bitypes.h
cpp: warning /usr/include/sys/cdefs.h:96: const redefined
*** Error code 1

Stop.

Making Imapd
cd ../c-client;make
cc -g3 -O2 -Olimit 800 -Dconst= -c mtest.c
cpp: error /usr/include/netdb.h:67: Can't find include file
sys/bitypes.h
cpp: warning /usr/include/sys/cdefs.h:96: const redefined
*** Error code 1

Stop.
*** Error code 1

Stop.

Making Pico
rm -f osdep.c
cp os_unix.c osdep.c
rm -f osdep.h
cp os_unix.h osdep.h
cc -c -Dult -DJOB_CONTROL -g attach.c
cc -c -Dult -DJOB_CONTROL -g ansi.c
cc -c -Dult -DJOB_CONTROL -g basic.c
cc -c -Dult -DJOB_CONTROL -g bind.c
cc -c -Dult -DJOB_CONTROL -g browse.c
cc -c -Dult -DJOB_CONTROL -g buffer.c
cc -c -Dult -DJOB_CONTROL -g composer.c
cc -c -Dult -DJOB_CONTROL -g display.c
cc -c -Dult -DJOB_CONTROL -g file.c
cc -c -Dult -DJOB_CONTROL -g fileio.c
cc -c -Dult -DJOB_CONTROL -g line.c
cc -c -Dult -DJOB_CONTROL -g osdep.c
cc -c -Dult -DJOB_CONTROL -g pico.c
cc -c -Dult -DJOB_CONTROL -g random.c
cc -c -Dult -DJOB_CONTROL -g region.c
cc -c -Dult -DJOB_CONTROL -g search.c
cc -c -Dult -DJOB_CONTROL -g spell.c
cc -c -Dult -DJOB_CONTROL -g tcap.c
cc -c -Dult -DJOB_CONTROL -g window.c
cc -c -Dult -DJOB_CONTROL -g word.c
ar ru libpico.a attach.o ansi.o basic.o bind.o browse.o buffer.o
composer.o display.o  file.o fileio.o line.o osdep.o  pico.o random.o
region.o search.o  spell.o tcap.o window.o word.o
ar: Warning: creating libpico.a
ranlib libpico.a
cc -Dult -DJOB_CONTROL -g main.c libpico.a -ltermcap -lc -o pico

Making Pine.
rm -f os.h
ln -s osdep/os-ult.h os.h
./cmplhlp2.sh  < pine.hlp > helptext.h
cc -DULT   -g -DDEBUG -c addrbook.c
cpp: error /usr/include/netdb.h:67: Can't find include file
sys/bitypes.h
cpp: warning ./headers.h:75: const redefined
*** Error code 1

Stop.

Links to executables are in bin directory:
ldopen: cannot open bin/pine
size: cannot open bin/pine
ldopen: cannot open bin/mtest
size: cannot open bin/mtest
ldopen: cannot open bin/imapd
size: cannot open bin/imapd
text    data    bss     dec     hex
217088  36864   30432   284384  456e0   bin/pico
Done
--------------------------------------

So what's going on?  Is ULTRIX 4.3 just plain not supported?
-------------------------------------------------------------------------------
 Jonathan Kruger - [email-masked] - Computer and Network Systems Coordinator
UMCEES/CBL, PO Box 38, Solomons, MD 20688 Phone: 410-326-7306 Fax: 410-326-7361

---

From: Mark Crispin <[email-masked]>
Date: Tue, 1 Feb 1994 08:05:35 -0800 (PST)

This sounds like a problem on your system; specifically, the system C include
file /usr/include/netdb.h is attempting to include /usr/include/sys/bitypes.h
but that file does not exist.

The netdb.h on our ULTRIX system does not reference bitypes.h, and I have no
idea what bitypes.h might be.  I looked on some of our other systems, and I
could not find bitypes.h there either.

At this point, I am inclined to say that the problem is a faulty installation
of the C compiler on your system.