[800] in Zephyr_Bugs
Problems compiling 2.0.3 on SunOS 4.1.3
daemon@ATHENA.MIT.EDU (Keith M Swartz)
Wed Jul 10 02:22:09 1996
Date: 09 Jul 96 23:20:42 -0700
From: "Keith M Swartz" <KSWARTZ@us.oracle.com>
To: zephyr-bugs@MIT.EDU
Greetings,
In trying to install Zephyr 2.0.3 on a SunOS 4.1.3 machine, I ran into
several problems of which you may wish to be aware. In the end, I could not
compile everything.
First, the configure script made the following incorrect determinations:
- it assumed I had nsl, socket, and w libraries, when I did not.
- it assumed the presence of sys/select.h and libgen.h.
- it assumed strerror was defined (it isn't in SunOS 4.1.x).
- it did not detect the presence of ranlib.
- it didn't catch that ulong is not #defined (was I supposed to do this
manually? the comment in config.h isn't clear)
When checking against other SunOS machines, I did find libnsl.a in some
places, but everything else was consistent.
Other problems:
1. Configure correctly determined that libdl.a was present, but the
compile_et, mk_cmds, and dyntest executables did not have this on their link
lines.
2. dyntest also failed to compile due to "memmove" being undefined; this is
#define'd if -DSUNOS is included in the link line, but it was not.
3. (Here's where I gave up:) zwgc failed to compile due to the following
undefined symbols:
_memmove
_regex
_regcmp
Again, memmove was #define'd, but not incorporated here. Since regex and
regcmp are System V, it looks like they were only included in the Makefile
because of a configure script problem (possibly libgen.h related?) Anyway,
I'd worked around everything up to this point, but eventually stopped
because the installation of XWindows on the machine I was using seemed to
have some problems that compounded these.
I'm not sure what you'll be able to do with regards to this, since I don't
imagine SunOS 4.1.x machines are in heavy abundance back there, but if
there's anything I can do to help, please let me know.
- Keith ("solo26" in a former life)
PS: On the bright side, not a single hitch compiling under Solaris 2.x. :)
===========================================================================
Keith M Swartz Email: kswartz@us.oracle.com
Oracle Corp. Worldwide Support, Applications Phone: 415-506-5410
Technical Specialist, Systems Assurance Ctr. FAX : 415-591-6861
===========================================================================