Home page logo
/

snort logo Snort mailing list archives

Snort issue with snortsam
From: Ashraf Ali <ashrafali.ibs () gmail com>
Date: Mon, 8 Apr 2013 11:26:26 +0530

Hi Team,


First of all thanks for Snort the best IDS.

i have any issue compliling the snorsam , i have dowloaded the
snortsam-src-2.70.tar.gz and extracted in /usr/local/src folder and tried
to run the file as per the instruction.

./makesnortsam.sh
and i got the following error :
-------------------------------------------------------------------------------
Building SnortSam (release)
-------------------------------------------------------------------------------
snortsam.c: In function ‘reloadhistory’:
snortsam.c:2302:12: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c: In function ‘CISCOACLCheck’:
ssp_ciscoacl.c:647:7: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c: In function ‘CISCOACLBlock’:
ssp_ciscoacl.c:447:7: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c:557:11: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_fwexec.c: In function ‘FWExecBlock’:
ssp_fwexec.c:120:8: warning: ignoring return value of ‘system’, declared
with attribute warn_unused_result [-Wunused-result]
/tmp/ccDAQuBO.o: In function `getout':
snortsam.c:(.text+0x1dd6): undefined reference to `pthread_cancel'
/tmp/ccDAQuBO.o: In function `queuehandler':
snortsam.c:(.text+0x3c3a): undefined reference to `pthread_create'
snortsam.c:(.text+0x3d07): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
-------------------------------------------------------------------------------
Building SnortSam (debug)
-------------------------------------------------------------------------------
snortsam.c: In function ‘reloadhistory’:
snortsam.c:2302:12: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c: In function ‘CISCOACLCheck’:
ssp_ciscoacl.c:647:7: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c: In function ‘CISCOACLBlock’:
ssp_ciscoacl.c:447:7: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_ciscoacl.c:557:11: warning: ignoring return value of ‘fgets’, declared
with attribute warn_unused_result [-Wunused-result]
ssp_fwexec.c: In function ‘FWExecBlock’:
ssp_fwexec.c:120:8: warning: ignoring return value of ‘system’, declared
with attribute warn_unused_result [-Wunused-result]
/tmp/ccNuNY50.o: In function `getout':
snortsam.c:(.text+0x1e75): undefined reference to `pthread_cancel'
/tmp/ccNuNY50.o: In function `queuehandler':
snortsam.c:(.text+0x3f2a): undefined reference to `pthread_create'
snortsam.c:(.text+0x3ff7): undefined reference to `pthread_create'
collect2: ld returned 1 exit status
Done.


and no snortsam binary is created , what could be the problem.

waiting for  reply ....
pls reply..

Regards,
Ashraf
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault