ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx-1.0.2


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx-1.0.2
  • From: Denis F. Latypoff <latypoff@xxxxxxxxx>
  • Date: Tue, 10 May 2011 21:12:19 +0700
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1305036740; bh=NL+P8Uqg9OZVG6PDVHxsGvPUSdLtYqW661++tz7CqPE=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=Cg4mlsYI6v6i1WgEV0BOjNNfH+fooxxdSFku1bZpO4957/l67Cs89MpLIfT77w4lF hFZzBhC72rcliWTZQQObl1UU+69/DQSgh/T2INZVZdmm+Hh6vEAfqPysrFXrsXw7ll 0QOHEDQMFFD91E+5ZWOeZjvh+VhpCaaf1Cvmk29g=
  • In-reply-to: <20110510122922.GC90700@xxxxxxxxx>
  • References: <20110510122922.GC90700@xxxxxxxxx>

10.05.2011, 19:29, "Igor Sysoev" <igor@xxxxxxxxx>:
> éÚÍÅÎÅÎÉÑ × nginx 1.0.2 šššššššššššššššššššššššššššššššššššššššššš10.05.2011
>
> šššš*) äÏÂÁ×ÌÅÎÉÅ: ÔÅÐÅÒØ ÒÁÚÄÅÌÑÅÍÙÅ ÚÏÎÙ É ËÜÛÉ ÉÓÐÏÌØÚÕÀÔ ÓÅÍÁÆÏÒÙ POSIX.
>

÷ centos ÓÅÍÁÆÏÒÙ × libpthread.

[root@gostats nginx-1.0.2]# cat sem.c
#include <semaphore.h>
int
main (void)
{
    sem_t  sem;
    if (sem_init(&sem, 1, 0) == -1)
        return 1;
    sem_destroy(&sem);
    return 0;
}
[root@gostats nginx-1.0.2]# gcc sem.c
/tmp/ccMUxgLl.o: In function `main':
sem.c:(.text+0x17): undefined reference to `sem_init'
sem.c:(.text+0x2e): undefined reference to `sem_destroy'
collect2: ld returned 1 exit status
[root@gostats nginx-1.0.2]# gcc -lpthread sem.c
[root@gostats nginx-1.0.2]# ./a.out && echo $?
0


-- 
br, Denis F. Latypoff.

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.