On Thu, Apr 25, 2002 at 04:02:08PM -0500, Chuck Milam wrote:
> 
> 
> gcc -Wall -I. -I/usr/local/include -I/usr/include -I/usr/include/pcap 
> -I/usr/include/pcap/net `libnet-config --defines`   -c -o detect.o 
> detect.c
> detect.c: In function `thread_init':
> detect.c:124: parse error before `{'
> detect.c:125: parse error before `{'
> make: *** [detect.o] Error 1
> 
[snip]
> 
> void thread_init()
> {
>   tag = 0;
>   th_mutex = PTHREAD_MUTEX_INITIALIZER;
>   local_mutex = PTHREAD_COND_INITIALIZER;
> }
> 
Grep /usr/include for thread_init. It might be already defined inline
somewhere.

florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020425/21f3a4ae/attachment.pgp