This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Failed compilation after cygwin-winsup build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]