public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Carlos Bousono" <cbousono@mail.utexas.edu>
To: cygwin@cygwin.com
Subject: Problems compiling socket++ library
Date: Wed, 15 May 2002 01:03:00 -0000	[thread overview]
Message-ID: <absqe2$kqr$1@main.gmane.org> (raw)

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/

                 reply	other threads:[~2002-05-15  5:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='absqe2$kqr$1@main.gmane.org' \
    --to=cbousono@mail.utexas.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).