<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial
size=2> </FONT><FONT face=Arial
size=2>I'm facing a problem in the product Jabber.Here with i have given
the build information and </FONT><FONT face=Arial size=2>runtime problems on
HP-UX11.11.</FONT></DIV>
<DIV><FONT face=Arial size=2>Please guide me if i'm doing any thing
wrong.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Installation steps :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1)./configure</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>a)Configure script checks for the
pthconfig settings .If the path is not mentioned then it takes the pth comes
with the tar ball.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Running Jabber
Configure<BR>========================</FONT></DIV>
<DIV><FONT face=Arial size=2>Getting pth settings...Configuring GNU Pth
(Portable Threads),</FONT></DIV>
<DIV><FONT face=Arial size=2>Setting Build Parameters...
Done.<BR>Generating Settings Script... Done.</FONT></DIV>
<DIV><FONT face=Arial size=2>You may now type 'make' to build your new Jabber
system.</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>b)Configure script generates a file named
platform-settings</FONT></DIV>
<DIV> The file content is given FYI</DIV>
<DIV><FONT face=Arial size=2> #!/bin/sh<BR>
CC=gcc <BR> CFLAGS= -g -Wall -fPIC -I. -I..
-I/home/senthil/jabber-1.4.1/jabberd/pth-1.3.7<BR> MCFLAGS=
-shared<BR> LDFLAGS=</FONT></DIV>
<DIV><FONT face=Arial size=2> LIBS=<BR>
SLIBS=<BR> XLDFLAGS=<BR>
PSUBDIR=pth-1.3.7<BR>
PLINK=/home/senthil/jabber-1.4.1/jabberd/pth-1.3.7/pth_*.o<BR>
JHOME=/home/senthil/jabber-1.4.1<BR>2)gmake</FONT></DIV>
<DIV><STRONG>gmake error1:</STRONG></DIV>
<DIV>In file included from config.c:32:<BR>single.h:5:25: missing terminating "
character<BR>In file included from config.c:32:<BR>single.h:7: error: parse
error before '-' token<BR>single.h:7: error: stray '\' in program<BR>single.h:7:
error: stray '\' in program<BR>single.h:7: error: stray '\' in
program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error: stray
'\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error:
stray '\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:7:
error: stray '\' in program<BR>single.h:7: error: stray '\' in
program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error: stray
'\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error:
stray '\' in program<BR>single.h:13:12: warning: multi-character character
constant<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error: stray
'\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error:
stray '\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:7:
error: stray '\' in program<BR>single.h:7: error: stray '\' in
program<BR>single.h:7: error: stray '\' in program<BR>single.h:7: error: stray
'\' in program<BR>single.h:7: error: stray '\' in program<BR>single.h:16:39:
missing terminating " character<BR>config.c: In function
`cmdline_replace':<BR>config.c:109: error: `cmd__line' undeclared (first use in
this function)<BR>config.c:109: error: (Each undeclared identifier is reported
only once<BR>config.c:109: error: for each function it appears in.)<BR>gmake[2]:
*** [config.o] Error 1<BR>gmake[2]: Leaving directory
`/home/senthil/jabber-1.4.1/jabberd'<BR>gmake[1]: *** [all-recursive] Error
1<BR>gmake[1]: Leaving directory `/home/senthil/jabber-1.4.1/jabberd'<BR>gmake:
*** [all-recursive] Error 1</DIV>
<DIV>---------------------------------------<BR><STRONG>Changes made
in file single.h</STRONG></DIV>
<DIV><STRONG>The line </STRONG><BR>Usage: </DIV>
<DIV>is changed to</DIV>
<DIV>Usage: \n\ </DIV>
<DIV> </DIV>
<DIV><STRONG>Gmake error 2:</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>/jabber-1.4.1\"" -DCONFIGXML="\"jabber.xml\"" -c -o mio_xml.o
mio_xml.c<BR>mio_xml.c:145:26: missing terminating " character<BR>mio_xml.c: In
function `_mio_xml_parser':<BR>mio_xml.c:146: error: parse error before
"Server"<BR>mio_xml.c:152:1: missing terminating " character<BR>gmake[1]: ***
[mio_xml.o] Error 1<BR>gmake[1]: Leaving directory
`/home/senthil/jabber-1.4.1/jabberd'<BR>gmake: *** [static-recursive] Error
1<BR>---------------------------------------<BR><STRONG>Changes made in
mio_xml.c</STRONG><BR>In line 145 new line character is not
accepting.</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Gmake error 3:</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>stdout.o base/base_accept.o base/base_file.o
base/base_format.o base/base_stderr.o base/base_to.o
<BR>/home/senthil/jabber-1.4.1/jabberd/pth-1.3.7/pth_*.o<BR>ld: Unsatisfied
symbol "modf" in file lib/snprintf.o<BR>1 errors.<BR>collect2: ld returned 1
exit status<BR>gmake[2]: *** [all-local] Error 1<BR>gmake[2]: Leaving directory
`/home/senthil/jabber-1.4.1/jabberd'<BR>gmake[1]: *** [all-recursive] Error
1<BR>gmake[1]: Leaving directory `/home/senthil/jabber-1.4.1/jabberd'<BR>gmake:
*** [all-recursive] Error
1<BR>-----------------------------------<BR><STRONG>Changes made in
platform-settings file</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>The line </FONT></DIV>
<DIV><FONT face=Arial size=2> LDFLAGS=</FONT></DIV>
<DIV><FONT face=Arial size=2>is changed to</FONT></DIV>
<DIV><FONT face=Arial size=2> LDFLAGS=-L/usr/local/lib
-lm</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>gmake[2]: Leaving directory
`/home/senthil/jabber-1.4.1/jabberd'<BR>gmake[1]: Leaving directory
`/home/senthil/jabber-1.4.1/jabberd'<BR>gmake[1]: Entering directory
`/home/senthil/jabber-1.4.1'<BR>gmake[1]: Nothing to be done for
`all-local'.<BR>gmake[1]: Leaving directory
`/home/senthil/jabber-1.4.1'<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>BUILD IS OK at this point.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>RUNTIME PROBLEM</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In HP-UX the jabberd creates only a single process
and jabberd is not listening on the mentioned ports(5222 and
5269). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>Analysis using gdb</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial size=2># ps -ae | grep jabberd<BR> 2775
pts/ta 0:07 jabberd</FONT></DIV>
<DIV><FONT face=Arial size=2><BR># /usr/local/bin/gdb jabberd 2775<BR>GNU gdb
4.18-hppa-991112<BR>Copyright 1998 Free Software Foundation, Inc.<BR>GDB is free
software, covered by the GNU General Public License, and you are<BR>welcome to
change it and/or distribute copies of it under certain conditions.<BR>Type "show
copying" to see the conditions. This version of GDB is supported<BR>for
customers of Cygnus Solutions. Type "show warranty" for details.<BR>This
GDB was configured as "hppa1.1-hp-hpux11.00"...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2><STRONG>"/home/senthil/jabber-1.4.1/jabberd/jabberd": not in executable
format: File format not
recognized<BR></STRONG>/home/senthil/jabber-1.4.1/jabberd/2775: No such file or
directory.<BR>Attaching to process 2775</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG># file jabberd</STRONG></FONT></DIV>
<DIV><FONT face=Arial
size=2><STRONG>jabberd: ELF-64
executable object file - PA-RISC 2.0 (LP64)</STRONG></FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face=Arial size=2>Any help is
appreciated</FONT></STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>SenthilVellan.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV></BODY></HTML>