----- Original Message -----
From: "Alexander Barkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Joerg Behrens" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 4:47 PM
Subject: Re: Compiling errors with the latest mnogo 3.1.1.x CVS
[..]
> There is "-lpthread" among others, however not in expected place.
> -lpthread should be in the end:
>
> gcc -g -O2 -DUDM_CONF_DIR=\"/usr/local/mnogocvs/etc\"
> -DUDM_VAR_DIR=\"/usr/local/mnogocvs/var\" -o search.cgi search.o
> search_tl.o .libs/libudmsearch.a -L/usr/local/mysql/lib/mysql
> -lmysqlclient -lm -lz -static -L/usr/local/mysql/lib/mysql -lmysqlclient
> -lm -lz -lpthread

Ahh.. after make some minor changes in
'/mnogosearch/src/parser.c:258: the use of `tmpnam' is dangerous, better use
`mkstemp' and rebuild with 'make distclean' its works. :)

I must addes 3 time the '-lpthread' at the end of the gcc calls.

Thanks.

Joerg Behrens


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to