delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/15/13:53:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT cygwin DOT com
Subject: Failed compilation after cygwin-winsup build
Message-Id: <E14ziW6-00013e-00@3.141monkeys.org>
From: Jeff Waller <jeffw AT 141monkeys DOT org>
Date: Tue, 15 May 2001 13:21:50 -0400

While trying to port bind9, we discovered that recvmsg
and sendmsg are not implemented.  So we implemented them
naively and without the ability to send accessrights
(actually I have lots of questions about that), but
sufficiently for continuing.  And in fact where
the link step for named previously failed because it
couldn't resolve recvmsg and sendmsg, it now
(apparently) does, but also now spits out a couple of
new errors:

multiple definitions of _impure_ptr
unresolved symbol: _cygwin_istext_for_stdio

(see below)

This is our first try at building cywin (win98), so
I imagine it have to do with some problem with that
build and/or install.  Anyone have info on what 
going on here?

Do I also need to explicitly rebuild in newlib or
does top level build do that too?

-Jeff


gcc -g -O2 -o named aclconf.o client.o interfacemgr.o listenlist.o log.o logconf.o main.o notify.o omapi.o omapiconf.o query.o server.o sortlist.o tkeyconf.o tsigconf.o update.o xfrout.o zoneconf.o lwaddr.o lwresd.o lwdclient.o lwderror.o lwdgabn.o lwdgnba.o lwdgrbn.o lwdnoop.o lwsearch.o  unix/os.o ../../lib/lwres/liblwres.a ../../lib/omapi/libomapi.a ../../lib/dns/libdns.a   ../../lib/isc/libisc.a  -lc 
/usr/lib/libcygwin.a(_cygwin_crt0_common.o): In function `cygwin_crt0_common':
/home/jeffw/obj/i586-pc-cygwin/winsup/cygwin/../../../../src/winsup/cygwin/lib/_cygwin_crt0_common.cc(.bss+0x0): multiple definition of `_impure_ptr'
/usr/lib/libc.a(impure.o)(.data+0x2f0):/home/jeffw/obj/i586-pc-cygwin/newlib/libc/reent/../../../../../src/newlib/libc/reent/impure.c: first defined here
/usr/lib/libc.a(stdio.o): In function `_stextmode':
/home/jeffw/obj/i586-pc-cygwin/newlib/libc/stdio/../../../../../src/newlib/libc/stdio/stdio.c:127: undefined reference to `_cygwin_istext_for_stdio'
collect2: ld returned 1 exit status
make[2]: *** [named] Error 1
make[2]: Leaving directory `/usr/local/src/bind-9.1.2/bin/named'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/local/src/bind-9.1.2/bin'
make: *** [subdirs] Error 1

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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