LIST_END doesn't exist at queue.h

From: Josep Pujadas i Jubany <josep_at_bellera.cat>
Date: Sun, 27 May 2007 23:07:39 +0200
Hello!

I can't compile snort2c (http://snort2c.sourceforge.net/) on FreeBSD 6.2 ...

# make 
Warning: Object directory not changed from 
original /usr/home/super/snort_pf/snort2c-0.2/snort2c 
cc -O2 -fno-strict-aliasing -pipe  -Wall -Werror -g -O2  -c parser.c 
parser.c: In function `s2c_parse_free_wl': 
parser.c:283: warning: implicit declaration of function `LIST_END' 
parser.c:283: warning: comparison between pointer and integer 
*** Error code 1 

Stop in /usr/home/super/snort_pf/snort2c-0.2/snort2c. 

The package is designed for working with OpenBSD, where LIST_END exists 
for queue.h

http://nixdoc.net/man-pages/OpenBSD/LIST_END.3.html

I looked at my /usr/include/sys/queue.h and at man queue and LIST_END is not 
supported.

Any idea?

Thanks,

Josep Pujadas
Received on Sun May 27 2007 - 19:38:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC