[OpenSIPS-Devel] [ opensips-Bugs-3401475 ] Compile on FreeBSD: specifier-qualifier-list before 'n_long'
SourceForge.net
noreply at sourceforge.net
Thu Sep 1 12:22:01 CEST 2011
Bugs item #3401475, was opened at 2011-08-31 13:51
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3401475&group_id=232389
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: 1.7.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Razvan Crainea (razvancrainea)
Summary: Compile on FreeBSD: specifier-qualifier-list before 'n_long'
Initial Comment:
In version 1.7.0 modules nathelper, rtpproxy and seas not compiling on FreeBSD.
Error orrurs:
/usr/include/netinet/ip.h:162: error: expected specifier-qualifier-list before 'n_long
Fixed by adding:
#include <netinet/in_systm.h>
before:
#include <netinet/ip.h>
in the file modules/module_name/module_name.c
FreeBSD 7.1-RC2, gmake-3.81_3
----------------------------------------------------------------------
Comment By: Razvan Crainea (razvancrainea)
Date: 2011-09-01 11:21
Message:
Hi,
I've just added the <netinet/in_systm.h> header for the nathelper and
rtpproxy modules.
Thank you for the fix.
Regards,
Răzvan Crainea
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3401475&group_id=232389
More information about the Devel
mailing list