[comp.unix.questions] cc problem finding gethostname, vfork... and ksh environment variable,

ddavis@aeha1.apgea.army.mil ( dave davis) (04/30/91)

I am having a problem compiling an application I've inherited.  The system
is a Sequent Symmetry machine running Dynix.  The universe is att.  Sample
output from an attempted 'make' is listed below.  My concerns at the moment
are to determine why the 'mkdir, gethostname, vfork', etc. are not being
found.  (A problem with the path perhaps?)  

A secondary problem, which may be responsible for the first, involves the
environment variables.  The account is running ksh and trys to set > 100
environment variables.  The environment looks like it only supports up to 100
variables; attempts to add additional variables after 100 fail.  Is there a
way to add to the number of environment variables available?

Sorry if this is more appropriate for the 'C' mailing list, but it does
involve a UNIX system (and I do not have access to the 'C' group).  Please
e-mail responses and I will summarize if folks are interested.  Thanks.

~~~~~~~~~~~
(output from make follows)

v5-> build
        esqlc clir
ESQL clir:
        /bin/cc -f -c -v clir.c
cpp clir.c /tmp/ctm0672852364150394 
/lib/ccom /tmp/ctm0672852364150394 /tmp/ctm0672852364150393 
/bin/as -o clir.o /tmp/ctm0672852364150393 
rm -f /tmp/ctm0672852364150393 /tmp/ctm0672852364150394 
        /bin/cc  clir.o /ingres/lib/framelib /ingres/lib/termdrlib /ingres/lib/fmtlib  /ingres/lib/libqlib /ingres/lib/compatlib -g -lm -lc -o clir
Undefined:
_sigvec
_sigsetmask
_rmdir
_gethostname
_vfork
_gettimeofday
_mkdir
_getservbyname
_htons
_rexec
_shutdown
*** Error code 1

Stop.
        mv clir clir_nadoed dcir rcir riir oir mcir mir gcr qqr qqrnoun aud_user /work2/midi5/midi/MIDI/bin
mv: cannot access clir
mv: cannot access clir_nadoed
mv: cannot access dcir
mv: cannot access rcir
mv: cannot access riir
mv: cannot access oir
mv: cannot access mcir
mv: cannot access mir
mv: cannot access gcr
mv: cannot access qqr
mv: cannot access qqrnoun
mv: cannot access aud_user
*** Error code 2

.
.
.
~~~~~~~~~~