SUMMARY: SOCKET++ - will it work on DU 3.2c?

From: Brian McMahon <mcmahon_at_cad3.uccb.ns.ca>
Date: Tue, 27 Aug 1996 10:30:17 -0300 (ADT)

Thanks everyone. The original question...

>Hi all,
> I just downloaded socket++ from ftp.virginia.edu/pub. "Configure"
>runs happily, but make dies with a "don't know how to make sockstream.o".
>Before I start dancing through hoops, has anyone got this to work on an
>Alpha 3.2c with gcc 2.7? Any pointers appreciated - thanks!

Well, I managed to fumble through it after changing a few "unsigned long"
to "unsigned" in the local.h file and "making" it by hand. Pascal
Pederiva (Digital UNIX Support Switzerland) suggested the following more
precise approach...


> Using gnu-make ftp://prep.ai.mit.edu/pub/gnu/make-3.74.tar.gz solves the
> problem interpreting the Makefile.
> Removing the following from local.h lets the compile complete (for
> DU4.0):
> --------------------------------------------------------------
> #ifdef X__osf__
> extern "C" {
> int select (int, fd_set*, fd_set*, fd_set*, timeval*);
> unsigned short ntohs (unsigned short);
> unsigned short htons (unsigned short);
> unsigned long ntohl (unsigned long);
> unsigned long htonl (unsigned long);
> }
> #endif
> --------------------------------------------------------------

SOCKET TO YA! Thanks again!


Brian McMahon, CAD/CAM System Analyst | voice: (902)563-1163
UCCB CAD/CAM Center | fax: (902)563-1121
P.O. Box 5300 | mcmahon_at_cad.uccb.ns.ca
Sydney, Nova Scotia |
Canada, B1P 6L2 |
Received on Tue Dec 17 1996 - 00:53:29 NZDT

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