From: Susan Rodriguez <SUSROD () HBSI ! COM>
To: tru64-unix-managers
Subject: [Summary] - Error compiling qpage3.2
Date: Thu, 22 Jan 1998 18:36:14 +0000 [thread overview]
Message-ID: <96078654410986.tru64-unix-managers.marc@archive.invalid> (raw)
Managers,
Thanks go to Dejan Muhamedagic, Thomas Leitner, and Mike Iglesias for
their helpful responses.
The general consesus was that I don't need libsocket or libnls for DEC
Unix. Socket stuff is already available in libc.a. These other library
calls are for system V type libraries.
I had a little trouble with the syntax of the cc command as setup in the
Makefile, but once I managed to remove the flags for these libraries,
this solution worked just fine.
Thanks again,
Susan
Original posting:
Managers,
I am attempting to compile q-page3.2 paging software for Unix. This is a
Solaris package that will supposedly port to HPUX, AIX, or DEC
variations of UNIX.
My error is as follows:
*******************************************************
lance:root# make
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c qpage.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c usersnpp.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c srvrsnpp.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c queue.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c config.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c util.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c ixo.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c ident.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c readmail.c
cc -mr -DDU32G -DFACILITY=LOG_LOCAL1 -c sendmail.c
/bin/rm -f qpage
cc -o qpage qpage.o usersnpp.o srvrsnpp.o queue.o config.o util.o ixo.o
ident.o
readmail.o sendmail.o -lsocket -lnsl
ld:
Can't locate file for: -lsocket
*** Exit 1
Stop.
*****************************************************
Do the libsocket and libnsl libraries exist for Digital Unix, perhaps
under some other path? Or maybe there are other libraries that serve
the same purpose?
I tried removing the reference, hoping that the default libraries would
have whatever was needed - no luck.
I am not very familiar with compilers or with makefiles. Any hints or
suggestions would be very gladly received.
TIA,
Susan
susrod@hbsi.com
- consistency is the defense of a small mind
reply other threads:[~1998-01-22 18:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox