* [Summary] - Error compiling qpage3.2
@ 1998-01-22 18:36 Susan Rodriguez
0 siblings, 0 replies; only message in thread
From: Susan Rodriguez @ 1998-01-22 18:36 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-01-22 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-22 18:36 [Summary] - Error compiling qpage3.2 Susan Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox