Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

Fw: nprobe compilation error

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


saman_tabatabaeian at yahoo

Feb 5, 2012, 12:57 PM

Post #1 of 1 (268 views)
Permalink
Fw: nprobe compilation error

hi

you know,  i receive error when i try to compile the nprobe and its plugins source files. I think the package's
been written seperately by different people. anyway,  could you tell me how I can solve this traceEvent error in the following
output.

gcc -g -lpthread -lpcap nprobe.c
/tmp/ccIr39Dc.o: In function `printPcapStats':
/usr/lib/nprobe/nprobe.c:214: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:215: undefined reference to `dumpLogEvent'
/tmp/ccIr39Dc.o: In function `reloadCLI':
/usr/lib/nprobe/nprobe.c:231: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `decodePacket':
/usr/lib/nprobe/nprobe.c:425: undefined reference to `isBlacklistedAddress'
/usr/lib/nprobe/nprobe.c:425: undefined
reference to `isBlacklistedAddress'
/usr/lib/nprobe/nprobe.c:433: undefined reference to `isLocalAddress'
/usr/lib/nprobe/nprobe.c:438: undefined reference to `isLocalAddress'
/usr/lib/nprobe/nprobe.c:688: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:754: undefined reference to `queueParsedPkt'
/tmp/ccIr39Dc.o: In function `allocateHostHash':
/usr/lib/nprobe/nprobe.c:798: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `freeHostHash':
/usr/lib/nprobe/nprobe.c:808: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `dequeuePackets':
/usr/lib/nprobe/nprobe.c:819: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:832: undefined reference to `waitCondvar'
/usr/lib/nprobe/nprobe.c:825: undefined reference to `queuedPkts'
/usr/lib/nprobe/nprobe.c:839: undefined reference to `processFlowPacket'
/usr/lib/nprobe/nprobe.c:865: undefined reference to
`signalCondvar'
/usr/lib/nprobe/nprobe.c:868: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `allocateFlowHash':
/usr/lib/nprobe/nprobe.c:880: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `hashWalker':
/usr/lib/nprobe/nprobe.c:897: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:903: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:904: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:912: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:924: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:927: undefined reference to `walkHash'
/usr/lib/nprobe/nprobe.c:957: undefined reference to `checkNetFlowExport'
/usr/lib/nprobe/nprobe.c:960: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:962: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:965: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:
In function `probeVersion':
/usr/lib/nprobe/nprobe.c:972: undefined reference to `buildDate'
/usr/lib/nprobe/nprobe.c:972: undefined reference to `osName'
/usr/lib/nprobe/nprobe.c:972: undefined reference to `version'
/tmp/ccIr39Dc.o: In function `usage':
/usr/lib/nprobe/nprobe.c:1285: undefined reference to `initPlugins'
/usr/lib/nprobe/nprobe.c:1286: undefined reference to `dumpPluginHelp'
/usr/lib/nprobe/nprobe.c:1306: undefined reference to `ver9_templates'
/usr/lib/nprobe/nprobe.c:1306: undefined reference to `printTemplateInfo'
/usr/lib/nprobe/nprobe.c:1307: undefined reference to `dumpPluginTemplates'
/tmp/ccIr39Dc.o: In function `dumpStats':
/usr/lib/nprobe/nprobe.c:1333: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `printStats':
/usr/lib/nprobe/nprobe.c:1357: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1358: undefined reference to
`formatTraffic'
/usr/lib/nprobe/nprobe.c:1358: undefined reference to `formatPackets'
/usr/lib/nprobe/nprobe.c:1358: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1363: undefined reference to `formatTraffic'
/usr/lib/nprobe/nprobe.c:1363: undefined reference to `formatPackets'
/usr/lib/nprobe/nprobe.c:1363: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1369: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1372: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1378: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1385: undefined reference to `queuedPkts'
/usr/lib/nprobe/nprobe.c:1385: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1392: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1397: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `resolveIpV4Address':
/usr/lib/nprobe/nprobe.c:1417: undefined
reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `resolveIpV6Address':
/usr/lib/nprobe/nprobe.c:1452: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:1486: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `initNetFlow':
/usr/lib/nprobe/nprobe.c:1618: undefined reference to `CollectorAddress2Str'
/usr/lib/nprobe/nprobe.c:1622: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1623: undefined reference to `dumpLogEvent'
/usr/lib/nprobe/nprobe.c:1629: undefined reference to `CollectorAddress2Str'
/usr/lib/nprobe/nprobe.c:1632: undefined reference to `dumpLogEvent'
/usr/lib/nprobe/nprobe.c:1635: undefined reference to `maximize_socket_buffer'
/usr/lib/nprobe/nprobe.c:1641: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1650: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function
`checkExportQueuedFlows':
/usr/lib/nprobe/nprobe.c:1691: undefined reference to `checkNetFlowExport'
/tmp/ccIr39Dc.o: In function `readPcapFileList':
/usr/lib/nprobe/nprobe.c:1712: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1721: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1744: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `initDefaults':
/usr/lib/nprobe/nprobe.c:1790: undefined reference to `initAS'
/tmp/ccIr39Dc.o: In function `parseOptions':
/usr/lib/nprobe/nprobe.c:1817: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1852: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1877: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1878: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:1879: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:1960: more undefined references to
`traceEvent' follow
/tmp/ccIr39Dc.o: In function `parseOptions':
/usr/lib/nprobe/nprobe.c:1967: undefined reference to `parseInterfaceAddressLists'
/usr/lib/nprobe/nprobe.c:1996: undefined reference to `parseBlacklistNetworks'
/usr/lib/nprobe/nprobe.c:2012: undefined reference to `readCities'
/usr/lib/nprobe/nprobe.c:2068: undefined reference to `initPlugins'
/usr/lib/nprobe/nprobe.c:2069: undefined reference to `printMetadata'
/usr/lib/nprobe/nprobe.c:2071: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2073: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2089: undefined reference to `readASs'
/usr/lib/nprobe/nprobe.c:2115: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2132: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2140: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2146: undefined reference to
`traceEvent'
/usr/lib/nprobe/nprobe.c:2161: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:2171: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `parseOptions':
/usr/lib/nprobe/nprobe.c:2264: undefined reference to `parseLocalAddressLists'
/usr/lib/nprobe/nprobe.c:2280: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2287: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2294: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2304: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2311: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:2325: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `parseOptions':
/usr/lib/nprobe/nprobe.c:2576: undefined reference to `osName'
/usr/lib/nprobe/nprobe.c:2576: undefined reference to
`version'
/usr/lib/nprobe/nprobe.c:2576: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2592: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2595: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2601: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2619: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:2621: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `parseOptions':
/usr/lib/nprobe/nprobe.c:2648: undefined reference to `setCpuAffinity'
/tmp/ccIr39Dc.o: In function `stopCaptureFlushAll':
/usr/lib/nprobe/nprobe.c:2678: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2680: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2685: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:2684: undefined reference to `queuedPkts'
/usr/lib/nprobe/nprobe.c:2688: undefined
reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2690: undefined reference to `walkHash'
/usr/lib/nprobe/nprobe.c:2694: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2697: undefined reference to `signalCondvar'
/usr/lib/nprobe/nprobe.c:2698: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:2702: undefined reference to `checkNetFlowExport'
/usr/lib/nprobe/nprobe.c:2703: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `shutdown_nprobe':
/usr/lib/nprobe/nprobe.c:2718: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2725: undefined reference to `signalCondvar'
/usr/lib/nprobe/nprobe.c:2726: undefined reference to `signalCondvar'
/usr/lib/nprobe/nprobe.c:2728: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2743: undefined reference to `signalCondvar'
/usr/lib/nprobe/nprobe.c:2745: undefined reference to
`waitCondvar'
/usr/lib/nprobe/nprobe.c:2747: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2750: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2755: undefined reference to `close_dump_file'
/usr/lib/nprobe/nprobe.c:2757: undefined reference to `free_bitmask'
/usr/lib/nprobe/nprobe.c:2758: undefined reference to `free_bitmask'
/usr/lib/nprobe/nprobe.c:2760: undefined reference to `unload_mappings'
/usr/lib/nprobe/nprobe.c:2813: undefined reference to `termPlugins'
/usr/lib/nprobe/nprobe.c:2822: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2826: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2834: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2835: undefined reference to `dumpLogEvent'
/tmp/ccIr39Dc.o: In function `openDevice':
/usr/lib/nprobe/nprobe.c:2881: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2899: undefined
reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2921: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2926: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:2928: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:2957: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `restoreInterface':
/usr/lib/nprobe/nprobe.c:2984: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:2988: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `fetchPackets':
/usr/lib/nprobe/nprobe.c:3023: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3087: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `init_globals':
/usr/lib/nprobe/nprobe.c:3125: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `compileTemplates':
/usr/lib/nprobe/nprobe.c:3178: undefined reference to
`traceEvent'
/usr/lib/nprobe/nprobe.c:3186: undefined reference to `compileTemplate'
/usr/lib/nprobe/nprobe.c:3191: undefined reference to `init_db_table'
/usr/lib/nprobe/nprobe.c:3203: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3204: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3209: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3213: undefined reference to `loadApplProtocols'
/usr/lib/nprobe/nprobe.c:3238: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3242: undefined reference to `setPayloadLength'
/usr/lib/nprobe/nprobe.c:3271: undefined reference to `compileTemplate'
/usr/lib/nprobe/nprobe.c:3276: undefined reference to `compileTemplate'
/usr/lib/nprobe/nprobe.c:3290: undefined reference to `compileTemplate'
/usr/lib/nprobe/nprobe.c:3295: undefined reference to `flowPrintf'
/usr/lib/nprobe/nprobe.c:3303: undefined reference to
`flowPrintf'
/usr/lib/nprobe/nprobe.c:3319: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3325: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3330: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3338: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3341: undefined reference to `compileTemplate'
/usr/lib/nprobe/nprobe.c:3342: undefined reference to `flowPrintf'
/usr/lib/nprobe/nprobe.c:3348: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3358: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3366: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3379: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3384: undefined reference to `init_db_table'
/usr/lib/nprobe/nprobe.c:3392: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3398: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3421:
undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3422: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3426: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:3429: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `compileTemplates':
/usr/lib/nprobe/nprobe.c:3439: undefined reference to `buildActivePluginsList'
/usr/lib/nprobe/nprobe.c:3443: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o: In function `main':
/usr/lib/nprobe/nprobe.c:3529: undefined reference to `initPlugins'
/usr/lib/nprobe/nprobe.c:3531: undefined reference to `osName'
/usr/lib/nprobe/nprobe.c:3531: undefined reference to `version'
/usr/lib/nprobe/nprobe.c:3531: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3545: undefined reference to `createCondvar'
/usr/lib/nprobe/nprobe.c:3546: undefined reference to
`createCondvar'
/usr/lib/nprobe/nprobe.c:3569: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3574: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3586: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3593: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3596: undefined reference to `traceEvent'
/tmp/ccIr39Dc.o:/usr/lib/nprobe/nprobe.c:3607: more undefined references to `traceEvent' follow
/tmp/ccIr39Dc.o: In function `main':
/usr/lib/nprobe/nprobe.c:3791: undefined reference to `dumpLogEvent'
/usr/lib/nprobe/nprobe.c:3795: undefined reference to `daemonize'
/usr/lib/nprobe/nprobe.c:3807: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3816: undefined reference to `dropPrivileges'
/usr/lib/nprobe/nprobe.c:3819: undefined reference to `enablePlugins'
/usr/lib/nprobe/nprobe.c:3820: undefined reference to
`load_mappings'
/usr/lib/nprobe/nprobe.c:3821: undefined reference to `setupPlugins'
/usr/lib/nprobe/nprobe.c:3848: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3859: undefined reference to `createCondvar'
/usr/lib/nprobe/nprobe.c:3859: undefined reference to `createCondvar'
/usr/lib/nprobe/nprobe.c:3863: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3870: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3893: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3897: undefined reference to `createNetFlowListener'
/usr/lib/nprobe/nprobe.c:3907: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3908: undefined reference to `dequeueBucketToExport'
/usr/lib/nprobe/nprobe.c:3923: undefined reference to `traceEvent'
/usr/lib/nprobe/nprobe.c:3941: undefined reference to `ntop_sleep'
/usr/lib/nprobe/nprobe.c:3946: undefined reference to
`traceEvent'
/usr/lib/nprobe/nprobe.c:3947: undefined reference to `traceEvent'
collect2: ld returned 1 exit status
[root [at] Sama nprobe]#



i would thank if anyone could send the debugged nprobe source, so, I can run n modify it. Moreover, It would also be nice if you send me your step by step nprobe installation process.

Regards
Saman

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.