[Kamailio-Devel] [ openser-Bugs-2132232 ] presence_xml module does not compile on solaris 10

SourceForge.net noreply at sourceforge.net
Wed Nov 5 13:55:33 CET 2008


Bugs item #2132232, was opened at 2008-09-27 13:42
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2132232&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.4.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Muhammad Akl (m-akl)
Assigned to: Henning Westerholt (henningw)
Summary: presence_xml module does not compile on solaris 10

Initial Comment:
version : 1.4.1 Os : Solaris 10

Bug Description :

while was trying to compile the presence_xml file i got this message : 

http://pastebin.com/m41732b2b

this problem wasn't found in previous releases of openser  

e.g 1.3.3.

regards 

Muhammad

----------------------------------------------------------------------

>Comment By: Henning Westerholt (henningw)
Date: 2008-11-05 12:55

Message:
This was caused from this _XOPEN_SOURCE definition that caused also the
problems for db_ut.h. Fixed in svn now.

----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2008-10-15 14:49

Message:
Hi Muhammad,

this is really strange. The code of ip_addr.h is identical in the 1.3 and
1.4 branch. Did you removed some headers in order to get this compiling?
Looks like there is something basic missing.

Henning

----------------------------------------------------------------------

Comment By: Muhammad Akl (m-akl)
Date: 2008-10-13 08:00

Message:
Hi henning, 

sorry for being late in response , well i tried to compile from trunk but
i got new error :

In file included from ../../parser/msg_parser.h:52,
                 from ../../sr_module.h:50,
                 from pidf.c:50:
../../parser/../ip_addr.h:78: error: field `sin6' has incomplete type
../../parser/../ip_addr.h: In function `sockaddr2ip_addr':
../../parser/../ip_addr.h:221: error: dereferencing pointer to incomplete
type
../../parser/../ip_addr.h: In function `su_getport':
../../parser/../ip_addr.h:268: warning: implicit declaration of function
`ntohs'
../../parser/../ip_addr.h: In function `su_setport':
../../parser/../ip_addr.h:284: warning: implicit declaration of function
`htons'
gmake[1]: *** [pidf.o] Error 1
gmake[1]: Leaving directory
`/usr/share/src/kamailio-svn/trunk/modules/presence_xml'
gmake: *** [modules] Error 2

Regards 

Muhammad


----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2008-10-06 08:32

Message:
Hi Muhammad, 
[..]
pidf.c: In function `xml_parse_dateTime':
pidf.c:129: warning: implicit declaration of function `strptime'
pidf.c:129: warning: assignment makes pointer from integer without a cast
pidf.c:136: warning: assignment makes pointer from integer without a cast
gmake[1]: *** [pidf.o] Error 1

This is related to the usage of strptime, which is apparently not declared
on the solaris side. In the 1.3 branch this was not used. I've commited a
fix to the presence_xml and presence_dialoginfo modules to the trunk, could
you please test if this now compile on solaris? Thanks,

Henning

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2132232&group_id=139143



More information about the Devel mailing list