[Summary] - Error compiling qpage3.2

From: Susan Rodriguez <SUSROD_at_HBSI.COM>
Date: Thu, 22 Jan 1998 10:36:14 -0800

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_at_hbsi.com

- consistency is the defense of a small mind
Received on Thu Jan 22 1998 - 19:35:40 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT