Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: jean.mailgate.net: jean set sender to jean@infosat.net using -f
Date: Wed, 9 Jan 2002 15:24:01 +0200
From: Jean le Roux <jean@infosat.net>
To: Pavel Tsekov <ptsekov@syntrex.com>, cygwin@cygwin.com
Subject: Re: w32api header problems
Message-ID: <20020109152401.A20980@infosat.net>
References: <20020109115348.A14411@infosat.net> <67136319166.20020109130747@logos-m.ru> <20020109133833.A20443@infosat.net> <3C3C2C12.7090102@syntrex.com> <20020109142543.C20549@infosat.net> <3C3C3C4C.4080105@syntrex.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3C3C3C4C.4080105@syntrex.com>; from ptsekov@syntrex.com on Wed, Jan 09, 2002 at 01:49:16PM +0100

Hi

> To fix the min and max, define the following before including windows.h:
> #define NOMINMAX


 added that... waiting for compile to complete (Working on a VM... 
 takes forever :) and tada! It's happy and so am I! It still warns me
 about undefined symbols:
 
 make  all-recursive
 make[1]: Entering directory /cygdrive/e/projects/multicast/pmfp'
 Making all in libsrc
 make[2]: Entering directory
/cygdrive/e/projects/multicast/pmfp/libsrc'

>>>
/bin/sh ../libtool --mode=link c++  -g -O2  -o libpmfp.la -rpath
/usr/local/lib --no-undefined
libtool: link: warning: undefined symbols not allowed in
i686-pc-cygwin shared libraries
<<<
   
   rm -fr .libs/libpmfp.la .libs/libpmfp.* .libs/libpmfp.*
   ar cru .libs/libpmfp.a  common.o pmfp.o pmfp_log.o crypto.o
mckey.o
ranlib .libs/libpmfp.a
creating libpmfp.la   
(cd .libs && rm -f libpmfp.la && ln -s ../libpmfp.la libpmfp.la)
[ -e .libs ] && cp -f .libs/libpmfp.so.0.0.0 ./libpmfp.so
cp: cannot stat .libs/libpmfp.so.0.0.0': No such file or directory
make[2]: *** [all] Error 1
make[2]: Leaving directory
/cygdrive/e/projects/multicast/pmfp/libsrc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /cygdrive/e/projects/multicast/pmfp'
make: *** [all-recursive-am] Error 2

> > string itoa(const int value, const short fix=0); //line 285
> Have you included <string> ?

Yip... This whole thing works perfectly if I take out
the #include <windows.h> 

bye

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

