[CIG-SHORT] problems installing pylith

Chen Xiaowei xiaowei.fengr at gmail.com
Tue Feb 25 14:58:16 PST 2014


Hi,

I was trying to install Pylith, but was not able to proceed the
installation due to the packages libnet and nemesis. One sample error I get
from libnet is : src/libnet_insert_ipo.c:39:26: warning: declaration of
'struct ipoption' will not be visible outside of this function

      [-Wvisibility]

libnet_insert_ipo(struct ipoption *opt, u_char opt_len, u_char *buf)

                         ^

src/libnet_insert_ipo.c:83:18: error: incomplete definition of type 'struct
ipoption'

    memcpy(p, opt->ipopt_list, opt_len);

              ~~~^

/usr/include/secure/_string.h:65:33: note: expanded from macro 'memcpy'

  __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))

                                ^

src/libnet_insert_ipo.c:39:26: note: forward declaration of 'struct
ipoption'

libnet_insert_ipo(struct ipoption *opt, u_char opt_len, u_char *buf)


My operation system is mac OSx 10.9.

Thanks.

Xiaowei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geodynamics.org/pipermail/cig-short/attachments/20140225/a0868464/attachment.html>


More information about the CIG-SHORT mailing list