[Bro] regarding installation of Bro

Sanmeet Bhatia sanmeetkbhatia at gmail.com
Thu May 12 23:29:14 PDT 2011


Dear sir,

I am trying to install Bro 1.5.3 on Ubuntu 9.04. But I m unable to make that
after configure. The following is the error code. I have used bro 1.2.1
earlier. I have python2.4 and python2.4-dev installed. The configuration
summary is:

 Bro Configuration Summary
==========================================================

  - Debugging enabled:      no
  - OpenSSL support:        yes
  - Non-blocking main loop: yes
  - Non-blocking resolver:  yes
  - Installation prefix:    /usr/local/bro
  - Perl interpreter:       /usr/bin/perl
  - Using basic_string:     yes
  - Using libmagic:         yes
  - Using perftools:        no
  - Binpac used:            shipped with Bro
  - Using libGeoIP:         yes
  - Enabled broctl:         yes
  - Enabled cluster:        no
  - Pcap used:              system-provided
The make stops here:

broccoli_intern_wrap.c:112:20: error: Python.h: No such file or directory
broccoli_intern_wrap.c:717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:772: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:793: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘SWIG_Python_AddErrorMsg’:
broccoli_intern_wrap.c:840: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:840: error: (Each undeclared identifier is reported
only once
broccoli_intern_wrap.c:840: error: for each function it appears in.)
broccoli_intern_wrap.c:840: error: ‘type’ undeclared (first use in this
function)
broccoli_intern_wrap.c:841: error: ‘value’ undeclared (first use in this
function)
broccoli_intern_wrap.c:842: error: ‘traceback’ undeclared (first use in this
function)
broccoli_intern_wrap.c:844: warning: implicit declaration of function
‘PyErr_Occurred’
broccoli_intern_wrap.c:844: warning: implicit declaration of function
‘PyErr_Fetch’
broccoli_intern_wrap.c:846: error: ‘old_str’ undeclared (first use in this
function)
broccoli_intern_wrap.c:846: warning: implicit declaration of function
‘PyObject_Str’
broccoli_intern_wrap.c:847: warning: implicit declaration of function
‘PyErr_Clear’
broccoli_intern_wrap.c:848: warning: implicit declaration of function
‘Py_XINCREF’
broccoli_intern_wrap.c:849: warning: implicit declaration of function
‘PyErr_Format’
broccoli_intern_wrap.c:849: warning: implicit declaration of function
‘PyString_AsString’
broccoli_intern_wrap.c:850: warning: implicit declaration of function
‘Py_DECREF’
broccoli_intern_wrap.c:853: error: ‘PyExc_RuntimeError’ undeclared (first
use in this function)
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1021: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1029: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1040: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1093: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1195: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1206: error: expected specifier-qualifier-list before
‘PyObject’
broccoli_intern_wrap.c: In function ‘SWIG_Python_CheckImplicit’:
broccoli_intern_wrap.c:1218: error: ‘PySwigClientData’ has no member named
‘implicitconv’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1230: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘PySwigClientData_Del’:
broccoli_intern_wrap.c:1285: warning: implicit declaration of function
‘Py_XDECREF’
broccoli_intern_wrap.c:1285: error: ‘PySwigClientData’ has no member named
‘newraw’
broccoli_intern_wrap.c:1286: error: ‘PySwigClientData’ has no member named
‘newargs’
broccoli_intern_wrap.c:1287: error: ‘PySwigClientData’ has no member named
‘destroy’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1293: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
broccoli_intern_wrap.c:1300: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1306: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1330: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1359: error: expected declaration specifiers or ‘...’
before ‘FILE’
broccoli_intern_wrap.c: In function ‘PySwigObject_print’:
broccoli_intern_wrap.c:1364: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:1364: error: ‘repr’ undeclared (first use in this
function)
broccoli_intern_wrap.c:1364: warning: implicit declaration of function
‘PySwigObject_repr’
broccoli_intern_wrap.c:1367: warning: implicit declaration of function
‘fputs’
broccoli_intern_wrap.c:1367: error: ‘fp’ undeclared (first use in this
function)
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1375: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘PySwigObject_compare’:
broccoli_intern_wrap.c:1386: error: ‘PySwigObject’ has no member named ‘ptr’
broccoli_intern_wrap.c:1387: error: ‘PySwigObject’ has no member named ‘ptr’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1393: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1400: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1409: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1442: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1475: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1487: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1499: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1547: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swigobject_methods’
broccoli_intern_wrap.c:1559: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1566: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1672: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1690: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
broccoli_intern_wrap.c:1697: error: expected declaration specifiers or ‘...’
before ‘FILE’
broccoli_intern_wrap.c: In function ‘PySwigPacked_print’:
broccoli_intern_wrap.c:1700: error: ‘fp’ undeclared (first use in this
function)
broccoli_intern_wrap.c:1701: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1701: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1705: error: ‘PySwigPacked’ has no member named ‘ty’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1721: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘PySwigPacked_compare’:
broccoli_intern_wrap.c:1735: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1736: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘pack’
broccoli_intern_wrap.c:1738: error: ‘PySwigPacked’ has no member named
‘size’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:1741: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1743: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1750: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1756: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1765: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1835: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1855: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1871: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1877: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:1887: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1938: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:1953: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2033: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2060: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2082: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2146: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2206: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘SWIG_Python_GetModule’:
broccoli_intern_wrap.c:2227: warning: implicit declaration of function
‘PyCObject_Import’
broccoli_intern_wrap.c:2228: warning: assignment makes pointer from integer
without a cast
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2242: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘SWIG_Python_DestroyModule’:
broccoli_intern_wrap.c:2283: warning: implicit declaration of function
‘SWIG_This’
broccoli_intern_wrap.c: In function ‘SWIG_Python_SetModule’:
broccoli_intern_wrap.c:2288: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swig_empty_runtime_method_table’
broccoli_intern_wrap.c:2288: error: ‘swig_empty_runtime_method_table’
undeclared (first use in this function)
broccoli_intern_wrap.c:2288: error: expected expression before ‘]’ token
broccoli_intern_wrap.c:2290: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2290: error: ‘module’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2290: warning: implicit declaration of function
‘Py_InitModule’
broccoli_intern_wrap.c:2292: error: ‘pointer’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2292: warning: implicit declaration of function
‘PyCObject_FromVoidPtr’
broccoli_intern_wrap.c:2294: warning: implicit declaration of function
‘PyModule_AddObject’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘SWIG_Python_TypeQuery’:
broccoli_intern_wrap.c:2310: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2310: error: ‘cache’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2310: warning: implicit declaration of function
‘SWIG_Python_TypeCache’
broccoli_intern_wrap.c:2311: error: ‘key’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2311: warning: implicit declaration of function
‘PyString_FromString’
broccoli_intern_wrap.c:2312: error: ‘obj’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2312: warning: implicit declaration of function
‘PyDict_GetItem’
broccoli_intern_wrap.c:2315: warning: implicit declaration of function
‘PyCObject_AsVoidPtr’
broccoli_intern_wrap.c:2321: warning: implicit declaration of function
‘PyDict_SetItem’
broccoli_intern_wrap.c: In function ‘SWIG_Python_AddErrMesg’:
broccoli_intern_wrap.c:2340: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2340: error: ‘type’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2341: error: ‘value’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2342: error: ‘traceback’ undeclared (first use in
this function)
broccoli_intern_wrap.c:2345: error: ‘old_str’ undeclared (first use in this
function)
broccoli_intern_wrap.c: In function ‘SWIG_Python_ArgFail’:
broccoli_intern_wrap.c:2367: warning: implicit declaration of function
‘snprintf’
broccoli_intern_wrap.c:2367: warning: incompatible implicit declaration of
built-in function ‘snprintf’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2375: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2383: error: expected declaration specifiers or ‘...’
before ‘PyObject’
broccoli_intern_wrap.c: In function ‘SWIG_Python_TypeError’:
broccoli_intern_wrap.c:2397: error: ‘obj’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2399: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2399: error: ‘str’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2402: error: ‘PyExc_TypeError’ undeclared (first use
in this function)
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2421: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2463:4: error: #error "This python version requires
swig to be run with the '-classic' option"
broccoli_intern_wrap.c:2495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2505: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2554: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2632: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘event_callback’:
broccoli_intern_wrap.c:2750: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2750: error: ‘func’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2750: error: expected expression before ‘)’ token
broccoli_intern_wrap.c:2753: error: ‘pyargs’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2753: warning: implicit declaration of function
‘PyTuple_New’
broccoli_intern_wrap.c:2755: warning: implicit declaration of function
‘PyTuple_SetItem’
broccoli_intern_wrap.c:2755: warning: implicit declaration of function
‘valToPyObj’
broccoli_intern_wrap.c:2757: error: ‘result’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2757: warning: implicit declaration of function
‘PyObject_Call’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2770: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:2791: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2858: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘SWIG_CanCastAsInteger’:
broccoli_intern_wrap.c:2914: error: ‘errno’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2914: error: ‘EDOM’ undeclared (first use in this
function)
broccoli_intern_wrap.c:2914: error: ‘ERANGE’ undeclared (first use in this
function)
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:2938: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2977: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:2997: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3017: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3082: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3245: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3329: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘SwigMethods’
broccoli_intern_wrap.c:3622: error: expected specifier-qualifier-list before
‘PyObject’
broccoli_intern_wrap.c:3628: error: expected specifier-qualifier-list before
‘PyObject_HEAD’
broccoli_intern_wrap.c:3632: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3637: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘swig_varlink_print’:
broccoli_intern_wrap.c:3651: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3651: error: ‘str’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3651: warning: implicit declaration of function
‘swig_varlink_str’
broccoli_intern_wrap.c:3653: warning: format ‘%s’ expects type ‘char *’, but
argument 3 has type ‘int’
broccoli_intern_wrap.c: In function ‘swig_varlink_dealloc’:
broccoli_intern_wrap.c:3660: error: ‘swig_varlinkobject’ has no member named
‘vars’
broccoli_intern_wrap.c:3662: error: ‘swig_globalvar’ has no member named
‘next’
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:3669: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3687: error: expected declaration specifiers or ‘...’
before ‘PyObject’
broccoli_intern_wrap.c: In function ‘swig_varlink_setattr’:
broccoli_intern_wrap.c:3689: error: ‘swig_varlinkobject’ has no member named
‘vars’
broccoli_intern_wrap.c:3692: error: ‘swig_globalvar’ has no member named
‘set_attr’
broccoli_intern_wrap.c:3692: error: ‘p’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3695: error: ‘swig_globalvar’ has no member named
‘next’
broccoli_intern_wrap.c:3698: warning: implicit declaration of function
‘PyErr_SetString’
broccoli_intern_wrap.c:3698: error: ‘PyExc_NameError’ undeclared (first use
in this function)
broccoli_intern_wrap.c: At top level:
broccoli_intern_wrap.c:3703: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3755: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3765: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:3781: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
broccoli_intern_wrap.c:3794: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c:3821: error: expected ‘)’ before ‘*’ token
broccoli_intern_wrap.c: In function ‘init_broccoli_intern’:
broccoli_intern_wrap.c:3874: error: ‘PyObject’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3874: error: ‘m’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3874: error: ‘d’ undeclared (first use in this
function)
broccoli_intern_wrap.c:3874: warning: left-hand operand of comma expression
has no effect
broccoli_intern_wrap.c:3877: warning: implicit declaration of function
‘SWIG_Python_FixMethods’
broccoli_intern_wrap.c:3877: error: ‘SwigMethods’ undeclared (first use in
this function)
broccoli_intern_wrap.c:3880: warning: implicit declaration of function
‘PyModule_GetDict’
broccoli_intern_wrap.c:3883: warning: implicit declaration of function
‘SWIG_Python_InstallConstants’
broccoli_intern_wrap.c:3886: warning: implicit declaration of function
‘SWIG_Python_SetConstant’
broccoli_intern_wrap.c:3886: warning: implicit declaration of function
‘SWIG_From_int’
error: command 'gcc' failed with exit status 1
make[4]: *** [pybroccoli] Error 1
make[4]: Leaving directory `/home/sanmeet/bro-1.5.3/aux/broctl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sanmeet/bro-1.5.3/aux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sanmeet/bro-1.5.3/aux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sanmeet/bro-1.5.3'
make: *** [all] Error 2



Kindly help.
Regards,
Sanmeet Bhatia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20110513/5cb73e98/attachment.html 


More information about the Bro mailing list