From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078654410986.tru64-unix-managers.marc@archive.invalid> From: Susan Rodriguez Date: Thu, 22 Jan 1998 18:36:14 +0000 To: tru64-unix-managers Subject: [Summary] - Error compiling qpage3.2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078654410986 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