From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076337821689.tru64-unix-managers.marc@archive.invalid> From: Brian McMahon Date: Tue, 27 Aug 1996 13:30:17 +0000 To: tru64-unix-managers Subject: SUMMARY: SOCKET++ - will it work on DU 3.2c? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076337821689 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@cad.uccb.ns.ca Sydney, Nova Scotia | Canada, B1P 6L2 |