[Snort-users] Fwd: Snort issue with snortsam

Ashraf Ali ashrafali.ibs at ...11827...
Mon Apr 8 02:02:11 EDT 2013


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 help..

Regards,
Ashraf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130408/e2a16b41/attachment.html>


More information about the Snort-users mailing list