Hi list,

seems Cygwin (at least 1.3.10) did not have a reentrant
gethostbyname() here, right?!

See attached Kannel automatic compilation test log that runs on our
Cygwin machine.

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
--- Begin Message ---
Kannel compilation test.

Host: CYGWIN_NT-5.0 PROTHEUS 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown

Kannel compilation had warnings or failed.

Output of 'make -s':
wap/wsp_session.c:92: warning: `is_default_version' declared `static' but never defined
wap/wsp_session.c:93: warning: `is_higher_version' declared `static' but never defined
wap/wsp_session.c:94: warning: `is_lower_version' declared `static' but never defined
radius/radius_pdu.c:123: warning: `radius_type_append' defined but not used
gwlib/protected.c: In function `gw_gethostbyname':
gwlib/protected.c:118: warning: implicit declaration of function `gethostbyname_r'
libgwlib.a(protected.o): In function `gw_gethostbyname':
/var/doxygen/kannel/cvs/gateway/gwlib/protected.c:122: undefined reference to 
`gethostbyname_r'
collect2: ld returned 1 exit status
make: *** [wmlscript/wmlsc.exe] Error 1
-------------------------------------------------------

Output of 'CFLAGS='-Wall -O2 -g' ./configure':
creating cache ./config.cache
checking cvs checkout date... 20030927

Configuring for Kannel gateway version cvs-20030927 ...

Running system checks ...
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc -Wall -O2 -g ) works... yes
checking whether the C compiler (gcc -Wall -O2 -g ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking for convert... /cygdrive/c/WINNT/system32/convert
checking for perl... /usr/bin/perl
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... no
checking for inet_ntop in -lresolv... no
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for libiconv in -liconv... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/poll.h... yes
checking for pthread.h... yes
checking for getopt.h... yes
checking for syslog.h... yes
checking for iconv.h... no
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for getopt... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in <sys/socket.h>... yes
checking for getopt in <stdio.h>... no
checking for getopt in <unistd.h>... yes

Checking POSIX threads support ...
checking for working pthreads... yes

Checking for libxml2 support ...
checking for xml2-config... /usr/bin/xml2-config
checking libxml version... 2.4.17

Configuring DocBook support ...
checking for jade... no
checking for jadetex... no
checking for pdfjadetex... no
checking for dvips... dvips
checking for fig2dev... no
checking for convert... /cygdrive/c/WINNT/system32/convert
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl... 
no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.77/html/docbook.dsl... 
no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no
checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no
checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... 
no
checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl... 
no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.77/print/docbook.dsl... 
no
checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no
checking for /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no
Not building documentation.

Configuring parameters ...
checking which malloc to use... native malloc
enabling local time
enabling cookies

Configuring OpenSSL support ...
checking whether to compile with SSL support... trying /usr/lib /usr/include/openssl
checking for openssl... /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for SSL_connect in -lssl... yes
checking for openssl/x509.h... yes
checking for openssl/rsa.h... yes
checking for openssl/crypto.h... yes
checking for openssl/pem.h... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking whether the OpenSSL library is multithread-enabled... yes
checking whether to compile with SSL support... yes

Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite support... disabled
checking whether to compile with Oracle support... disabled

Generating output files ...
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h


--- End Message ---

Reply via email to