delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/15/01:10:52

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: "Carlos Bousono" <cbousono AT mail DOT utexas DOT edu>
Newsgroups: gmane.os.cygwin
Subject: Problems compiling socket++ library
Date: Wed, 15 May 2002 00:07:37 -0500
Lines: 83
Message-ID: <absqe2$kqr$1@main.gmane.org>
NNTP-Posting-Host: 66-90-153-126.grandecom.net
X-Trace: main.gmane.org 1021439234 21339 66.90.153.126 (15 May 2002 05:07:14 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Wed, 15 May 2002 05:07:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

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.

Attached is what I do, and the errors I get. I would appreciate any help.

Thanks,

Carlos


$ 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019