delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | ".." <drclue AT drclue DOT net> |
Newsgroups: | gmane.os.cygwin |
Subject: | Re: Socket++ & Cygwin -- need help |
Date: | Sun, 19 May 2002 23:26:53 -0700 |
Lines: | 101 |
Message-ID: | <3CE8972D.6CDE7527@drclue.net> |
References: | <aca3c0$1m6$1 AT main DOT gmane DOT org> |
NNTP-Posting-Host: | 209-239-208-230.stk.jps.net |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1021876024 3315 209.239.208.230 (20 May 2002 06:27:04 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Mon, 20 May 2002 06:27:04 +0000 (UTC) |
X-Accept-Language: | en |
Carlos Bousono wrote: > > Hi, > > I'm trying to compile socket++-1.11ln under cygwin (I updated cygwin > sometime in March with the automatic tool) and I get errors while compiling. > > I posted this message last week, but I have received no responses so far. I > would appreciate any hint on what I can do. > Looking at the error report, I'd start with the easier ones like the "undefined" that would seem to reflect missing headers or perhaps mangled references, but just start with solving things like "SIOCGPGRP". Given the way a kazillion compilers work on n number of boxes , getting rid of the obvious might make the question easier to answer. > > P.S. Socket++ can be downloaded from http://users.utu.fi/lanurm/socket++/ > > $ env CCC=g++ ./configure --prefix="/usr/local/socket++" > creating cache ./config.cache > checking whether make sets ${MAKE}... yes > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for g++... g++ > checking whether the C++ compiler (g++ ) works... yes > checking whether the C++ compiler (g++ ) is a cross-compiler... no > checking whether we are using GNU C++... yes > checking whether g++ accepts -g... yes > checking whether g++ version is >= 2.7.2... yes > checking for ranlib... ranlib > checking for makedepend... : > checking how to run the C preprocessor... gcc -E > checking how to run the C++ preprocessor... g++ -E > checking for AIX... no > checking for t_accept in -lnsl... no > checking for socket in -lsocket... no > checking for string.h... yes > checking for memory.h... yes > checking for _G_config.h... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for ANSI C header files... yes > checking for pid_t... yes > checking return type of signal handlers... void > checking for vfork.h... no > checking for working vfork... yes > checking for select... yes > checking for sys_siglist... sys_siglist > checking for sys_errlist... sys_errlist > checking for sys_errlist prototype... yes > checking for signal handler arg type... ... > checking if extern "C" wrappers are needed... no > updating cache ./config.cache > creating ./config.status > creating Makefile > creating test/Makefile > creating config.h > > $ make > g++ -c -g -fexceptions -fno-rtti -Wall -I. sockstream.C -o sockstream.o > In file included from sockstream.C:45: > sockstream.h:102: `MSG_MAXIOVLEN' was not declared in this scope > sockstream.h:102: enumerator value for `msg_maxiovlen' not integer constant > In file included from /usr/include/unistd.h:6, > from sockstream.C:51: > /usr/include/sys/unistd.h:142: declaration of C function `int > gethostname(char * > , unsigned int)' conflicts with > local.h:88: previous declaration `int gethostname(char *, int)' here > sockstream.C: In method `bool sockerr::benign() const': > sockstream.C:167: duplicate case value `11' > sockstream.C:165: previously used here > sockstream.C: In method `int sockbuf::pgrp() const': > sockstream.C:809: `SIOCGPGRP' undeclared (first use this function) > sockstream.C:809: (Each undeclared identifier is reported only once > sockstream.C:809: for each function it appears in.) > sockstream.C: In method `int sockbuf::pgrp(int) const': > sockstream.C:819: `SIOCSPGRP' undeclared (first use this function) > sockstream.C: In method `void sockbuf::closeonexec(bool = true) const': > sockstream.C:829: `FIOCLEX' undeclared (first use this function) > sockstream.C:832: `FIONCLEX' undeclared (first use this function) > make: *** [sockstream.o] Error 1 > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- --=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- --=<[]>=- http://www.drclue.net --=<[]>=- C++ HTML JavaScript DHTML CGI TCP/IP SQL JAVA VRML NSAPI --=<[]>=- http://www.drclue.net/F1.cgi/HTML/HTML.html (My famous HTML/CGI guide.) --=<[]>=- http://www.drclue.net/beta (My X-BROWSER DHTML library.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |