[JDEV] Re: Looking for pointers on compiling jabber-1.4.2 under cygwin/WinXP

Mike Prince mike at mikeprince.com
Thu Oct 31 04:26:25 CST 2002


Dmitry, thanks for the clarification.

I nabbed the newest version of pth (1.4.1) to no avail.  Seems a few
others have encountered the same problem as myself.  I've posted the
compile results (end of this email) for someone kind enough to paw
through.  Any ideas?

Thanks,

Mike

> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On 
> Behalf Of av
> Sent: Thursday, October 31, 2002 12:13 AM
> To: jdev at jabber.org
> Subject: [JDEV] Re: Looking for pointers on compiling 
> jabber-1.4.2 under cygwin/WinXP
> 
> 
> Hi!
> 
> It is not pthreads, but pth that you need.
> You can download it from, for example, 
> http://www.gnu.org/software/pth/ and make it > under Cygwin.
> 
> 
> WBR, av aka Dmitry Prokoptsev
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 



Here's my attempt at configure and make...
===============================================================

$ ./configure
Configuring GNU Pth (Portable Threads), Version 1.4.1 (27-Jan-2002)
Copyright (c) 1999-2002 Ralf S. Engelschall <rse at engelschall.com>
loading cache ./config.cache
Platform: i686-pc-cygwin

Build Tools:
checking for gcc... (cached) 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... (cached) yes checking whether gcc
accepts -g... (cached) yes checking how to run the C preprocessor...
(cached) gcc -E checking whether make sets ${MAKE}... (cached) yes
checking for compiler option -pipe... (cached) yes checking for
compilation debug mode... disabled checking for compilation profile
mode... disabled checking for compilation optimization mode... disabled
checking for ranlib... ranlib checking for object suffix... o checking
for executable suffix... .exe checking for gcc option to produce PIC...
none checking if gcc supports -c -o file.o... yes checking if gcc
supports -c -o file.lo... yes checking if gcc supports -fno-rtti
-fno-exceptions ... yes checking if gcc static flag -static works...
-static checking whether ln -s works... yes checking for ld used by
GCC... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker
(/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking whether the
linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared lib raries...
yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to
parse /usr/bin/nm -B output... ok checking how to hardcode library paths
into programs... immediate checking for /usr/i686-pc-cygwin/bin/ld.exe
option to reload object files... -r checking dynamic linker
characteristics... Win32 ld.exe checking if libtool supports shared
libraries... yes checking if package supports dlls... no checking
whether to build shared libraries... no checking whether to build static
libraries... yes checking for objdir... .libs creating libtool

Mandatory Platform Environment:
checking for ANSI C header files... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for string.h... (cached) yes
checking for signal.h... (cached) yes
checking for unistd.h... (cached) yes
checking for setjmp.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for function gettimeofday... (cached) yes
checking for function select... (cached) yes
checking for function sigaction... (cached) yes
checking for function sigprocmask... (cached) yes
checking for function sigpending... (cached) yes
checking for function sigsuspend... (cached) yes
decision on mandatory system headers and functions... all fine

Optional Platform Environment:
checking for number of signals... 32
checking for function poll... (cached) yes
checking for define POLLIN in poll.h... (cached) yes
checking whether poll(2) facility has to be faked... no checking for
sys/uio.h... (cached) yes checking for function readv... (cached) yes
checking for function writev... (cached) yes checking whether
readv(2)/writev(2) facility has to be faked... no checking for function
usleep... (cached) yes checking for function strerror... (cached) yes
checking for sys/resource.h... (cached) yes checking for net/errno.h...
(cached) no checking for paths.h... (cached) yes checking for
gethostname in -lnsl... (cached) no checking for gethostbyname in
-lnsl... (cached) no checking for accept in -lsocket... (cached) no
checking for sys/select.h... (cached) yes checking for typedef
sig_atomic_t... (cached) yes checking for typedef pid_t... (cached) yes
checking for typedef size_t... (cached) yes checking for typedef
ssize_t... (cached) yes checking for typedef off_t... (cached) yes
checking for typedef stack_t... (cached) no checking for attribute
ss_base in struct sigaltstack from sys/signal.h... (cache
d) no
checking for attribute ss_sp in struct sigaltstack from sys/signal.h...
(cached)  no checking for a single-argument based gettimeofday... no
checking for struct timespec... yes checking for typedef socklen_t...
(cached) no checking for type of argument 3 for accept()... (cached) int
* checking for fallback socklen_t... (cached) int checking for typedef
nfds_t... (cached) no checking for type of argument 2 for poll()...
(cached) unsigned int checking for fallback nfds_t... (cached) unsigned
int checking for built-in type long long... (cached) yes checking for
built-in type long double... (cached) yes

Machine Context Implementation:
checking for ucontext.h... (cached) no
checking for function makecontext... (cached) no
checking for function swapcontext... (cached) no
checking for function getcontext... (cached) no
checking for function setcontext... (cached) no
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... (cached)
no checking for signal.h... (cached) yes checking for function
sigsetjmp... (cached) no checking for function siglongjmp... (cached) no
checking for function setjmp... (cached) yes checking for function
longjmp... (cached) yes checking for function _setjmp... (cached) yes
checking for function _longjmp... (cached) yes checking for function
sigaltstack... (cached) no checking for function sigstack... (cached) no
checking for signal-mask aware setjmp(3)/longjmp(3)... (cached) yes:
sjljw32 checking for typedef stack_t... (cached) no checking for
direction of stack growth... (cached) down checking for function
makecontext... (cached) no checking for stack setup via makecontext...
(cached) N.A. checking for function sigaltstack... (cached) no checking
for typedef stack_t... (cached) no checking for stack setup via
sigaltstack... (cached) N.A. checking for function sigstack... (cached)
no checking for stack setup via sigstack... (cached) N.A. decision on
mctx implementation... sjlj/sjljw32/none

System Call Mapping:
checking for function syscall... (cached) no
checking for sys/syscall.h... (cached) no
checking for sys/socketcall.h... (cached) no
checking for define SYS_read in sys/syscall.h... (cached) no checking
whether soft system call mapping is used... no checking whether hard
system call mapping is used... no

Build Parameters:
checking whether to activate batch build mode... no
checking whether to activate maintainer build targets... no checking
whether to activate test build targets... yes checking whether to build
Pthread library... no checking whether to build against Sfio library...
no checking whether to build against Dmalloc library... no

Output Substitution:
updating cache ./config.cache
creating ./config.status
creating Makefile
creating pthread-config
creating pthread.h
creating pth-config
creating pth.h
creating pth_acmac.h
creating pth_acdef.h

Now please type `make' to compile. Good luck.


Mike Prince at VEGAS /cygdrive/c/opt/pth-1.4.1
$ make
./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_debug.c In
file included from pth_p.h.in:53,
                 from pth_debug.c:29:
pth.h:53: warning: useless keyword or type name in empty declaration
pth.h:53: warning: empty declaration
In file included from pth_debug.c:29:
pth_sched.c:33: parse error before "__pth_NQ"
pth_sched.c:33: warning: data definition has no type or storage class
pth_sched.c:34: parse error before "__pth_RQ"
pth_sched.c:34: warning: data definition has no type or storage class
pth_sched.c:35: parse error before "__pth_WQ"
pth_sched.c:35: warning: data definition has no type or storage class
pth_sched.c:36: parse error before "__pth_SQ"
pth_sched.c:36: warning: data definition has no type or storage class
pth_sched.c:37: parse error before "__pth_DQ"
pth_sched.c:37: warning: data definition has no type or storage class
pth_debug.c: In function `pth_debug':
pth_debug.c:61: `errno_shield' undeclared (first use in this function)
pth_debug.c:61: (Each undeclared identifier is reported only once
pth_debug.c:61: for each function it appears in.)
pth_debug.c:61: parse error before '{' token
pth_debug.c:75: called object is not a function
pth_debug.c: At top level:
pth_debug.c:77: parse error before "return"
pth_debug.c: In function `pth_dumpstate':
pth_debug.c:90: dereferencing pointer to incomplete type
pth_debug.c: At top level:
pth_debug.c:98: parse error before "pth_pqueue_t"
pth_debug.c:99: warning: type mismatch with previous implicit
declaration
pth_debug.c:86: warning: previous implicit declaration of
`pth_dumpqueue'
pth_debug.c:99: warning: `pth_dumpqueue' was previously implicitly
declared to r eturn `int'
pth_debug.c: In function `pth_dumpqueue':
pth_debug.c:104: `fp' undeclared (first use in this function)
pth_debug.c:104: `qn' undeclared (first use in this function)
pth_debug.c:105: `q' undeclared (first use in this function)
pth_debug.c:109: warning: assignment makes pointer from integer without
a cast
pth_debug.c:109: warning: assignment makes pointer from integer without
a cast
pth_debug.c:110: dereferencing pointer to incomplete type
make: *** [pth_debug.lo] Error 1

Mike Prince at VEGAS /cygdrive/c/opt/pth-1.4.1
$






Here's a sys check...
==========================================================
$ cygcheck -s -v -r

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Oct 31 00:51:48 2002

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\opt\cygwin\usr\local\bin
        C:\opt\cygwin\bin
        C:\opt\cygwin\bin
        c:\WINDOWS\system32
        c:\WINDOWS
        c:\WINDOWS\system32\WBEM
        c:\opt\ant\bin

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\opt\cygwin\home\Mike Prince'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/opt/pth-1.4.1'
USER = `Mike Prince'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users' ANT_HOME =
`c:\opt\ant' APPDATA = `C:\Documents and Settings\Mike
Prince\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES =
`C:\Program Files\Common Files' COMPUTERNAME = `VEGAS' COMSPEC =
`C:\WINDOWS\system32\cmd.exe' HOMEDRIVE = `C:' HOMEPATH = `\Documents
and Settings\Mike Prince' JAVA_HOME = `c:\opt\j2sdk1.4.0' LOGONSERVER =
`\\VEGAS' MANPATH = `:/usr/ssl/man' NUMBER_OF_PROCESSORS = `1' OLDPWD =
`/cygdrive/c/opt' OS = `Windows_NT' PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0b01' PROGRAMFILES =
`C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SESSIONNAME = `Console' SHLVL
= `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP =
`c:\DOCUME~1\MIKEPR~1\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\MIKEPR~1\LOCALS~1\Temp'
USERDOMAIN = `VEGAS'
USERNAME = `Mike Prince'
USERPROFILE = `C:\Documents and Settings\Mike Prince'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin\mounts v2\/
  (default) = `C:\opt\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\opt\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\opt\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS   28615Mb  65% CP CS UN PA FC
d:  fd  FAT       60Mb  64% CP    UN
e:  fd           N/A    N/A
f:  cd           N/A    N/A

C:\opt\cygwin      /          system  binmode
C:\opt\cygwin/bin  /usr/bin   system  binmode
C:\opt\cygwin/lib  /usr/lib   system  binmode
.                  /cygdrive  user    binmode,cygdrive

Found: C:\opt\cygwin\bin\bash.exe
Found: C:\opt\cygwin\bin\cat.exe
Found: C:\opt\cygwin\bin\cpp.exe
Found: C:\opt\cygwin\bin\find.exe
Found: C:\opt\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\opt\cygwin\bin\ld.exe
Found: C:\opt\cygwin\bin\ls.exe
Found: C:\opt\cygwin\bin\make.exe
Found: C:\opt\cygwin\bin\sh.exe

  904k 2002/10/14 C:\WINDOWS\System32\cygwin1.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/10/13 20:15
    Cygwin DLL version info:
        DLL version: 1.3.13
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 62
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Sun Oct 13 23:15:34 EDT 2002
        CVS tag: cygwin-1-3-13-1
        Shared id: cygwin1S3

  625k 2002/08/09 C:\opt\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0
sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/8/9 13:20
   45k 2001/04/25 C:\opt\cygwin\bin\cygform5.dll - os=4.0 img=1.0
sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/24 22:28
   35k 2002/01/09 C:\opt\cygwin\bin\cygform6.dll - os=4.0 img=1.0
sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/8 22:03
   19k 2002/02/20 C:\opt\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 19:05
   17k 2001/06/28 C:\opt\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0
sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 20:34
   20k 2002/10/10 C:\opt\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0
sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 10:28
  929k 2002/06/24 C:\opt\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0
sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 11:24
   22k 2001/12/13 C:\opt\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0
sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 1:28
   28k 2002/09/20 C:\opt\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0
sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/19 20:13
   26k 2001/04/25 C:\opt\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0
sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/24 22:27
   20k 2002/01/09 C:\opt\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0
sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/8 22:03
  156k 2001/04/25 C:\opt\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29
  175k 2002/01/09 C:\opt\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03
  226k 2001/04/25 C:\opt\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/24 22:17
  202k 2002/01/09 C:\opt\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/8 22:03
   15k 2001/04/25 C:\opt\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0
sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/24 22:27
   12k 2002/01/09 C:\opt\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0
sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/8 22:03
   40k 2001/11/21 C:\opt\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 14:15
   39k 2001/11/21 C:\opt\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 14:15
  108k 2001/06/28 C:\opt\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 20:34
  127k 2002/10/10 C:\opt\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 10:28
  159k 2002/08/09 C:\opt\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/8/9 13:20
   50k 2002/03/12 C:\opt\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 20:38
  904k 2002/10/14 C:\opt\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/10/13 20:15
    Cygwin DLL version info:
        DLL version: 1.3.13
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 62
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Sun Oct 13 23:15:34 EDT 2002
        CVS tag: cygwin-1-3-13-1
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: C:\Documents and Settings\Mike
Prince\Desktop\Download s\cygwin Last downloaded files from:
ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin


Package             Version
_update-info-dir    00077-1
ash                 20020731-1
base-files          1.0-1
base-passwd         1.0-1
bash                2.05b-5
binutils            20020706-2
cygwin              1.3.13-2
diff                1.0-1
diffutils           2.8.1-1
fileutils           4.1-1
$
gawk                3.1.1-5
gcc                 3.2-1
gcc-mingw           3.2-20020817-1
gcc2                2.95.3-10
gdbm                1.8.0-4
grep                2.5-1
gzip                1.3.3-4
libiconv2           1.8-2
libintl1            0.10.40-1
libintl2            0.11.5-1
libncurses5         5.2-1
libncurses6         5.2-8
libreadline4        4.1-2
libreadline5        4.3-2
login               1.4-4
make                3.79.1-7
mingw-runtime       2.2-1
ncurses             5.2-8
openssl             0.9.6g-1
pcre                3.7-1
readline            4.3-2
sed                 3.02-1
sh-utils            2.0-2
tar                 1.13.25-1
termcap             20020930-1
terminfo            5.2-3
texinfo             4.2-4
textutils           2.0.21-1
tidy                020822-1
w32api              2.0-1
wget                1.8.2-1
which               1.5-1
whois               4.5.17-1
zlib                1.1.4-1

Use -h to see help about each section





More information about the JDev mailing list