ПРОЕКТЫ 


  АРХИВ 


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: undefined reference to `crypt_r'



On Tue, Nov 06, 2007 at 03:27:25PM +0200, Дмитрий Леоненко wrote:

> > [root@smoothwall nginx-0.5.32]# ./configure --prefix=/usr
> > --conf-path=/etc/nginx --error-log-path=/var/log/nginx --pid-path=/var/run
> > --without-http_ssi_module --without-http_geo_module
> > --without-http_map_module --without-http_limit_zone_module
> > checking for OS
> >  + Linux 2.4.33.3 i686
> > checking for C compiler ... found
> >  + using GNU C compiler
> >  + gcc version: 3.3.5
> > checking for gcc -pipe switch ... found
> > checking for gcc variadic macros ... found
> > checking for C99 variadic macros ... found
> > checking for unistd.h ... found
> > checking for inttypes.h ... found
> > checking for limits.h ... found
> > checking for sys/filio.h ... not found
> > checking for Linux specific features
> > grep: /usr/include/linux/version.h: No such file or directory
> > checking for epoll ... not found
> > checking for sendfile() ... found
> > checking for sendfile64() ... found
> > checking for sys/prctl.h ... found
> > checking for prctl(PR_SET_DUMPABLE) ... found
> > checking for sched_setaffinity() ... not found
> > checking for nobody group ... found
> > checking for poll() ... found
> > checking for /dev/poll ... not found
> > checking for kqueue ... not found
> > checking for crypt() ... not found
> > checking for crypt() in libcrypt ... not found
> > checking for PCRE library ... not found
> > checking for PCRE library in /usr/local/ ... not found
> > checking for PCRE library in /usr/include/pcre/ ... not found
> > checking for PCRE library in /usr/pkg/ ... not found
> > checking for PCRE library in /opt/local/ ... not found
> > checking for zlib library ... found
> > checking for int size ... 4 bytes
> > checking for long size ... 4 bytes
> > checking for long long size ... 8 bytes
> > checking for void * size ... 4 bytes
> > checking for uint64_t ... found
> > checking for sig_atomic_t ... found
> > checking for sig_atomic_t size ... 4 bytes
> > checking for socklen_t ... found
> > checking for in_addr_t ... found
> > checking for in_port_t ... found
> > checking for rlim_t ... found
> > checking for uintptr_t ... uintptr_t found
> > checking for system endianess ... little endianess
> > checking for size_t size ... 4 bytes
> > checking for off_t size ... 8 bytes
> > checking for time_t size ... 4 bytes
> > checking for setproctitle() ... not found
> > checking for pread() ... found
> > checking for pwrite() ... found
> > checking for strerror_r() ... found but is not working
> > checking for gnu style strerror_r() ... found
> > checking for localtime_r() ... found
> > checking for posix_memalign() ... found
> > checking for memalign() ... found
> > checking for sched_yield() ... found
> > checking for mmap(MAP_ANON|MAP_SHARED) ... found
> > checking for mmap("/dev/zero", MAP_SHARED) ... found
> > checking for System V shared memory ... found
> > checking for struct msghdr.msg_control ... found
> > checking for ioctl(FIONBIO) ... found
> > checking for struct tm.tm_gmtoff ... found

> Вот такая вот беда. Кто значет, как это пофиксить - буду очень благодарен

А что это за Линукс ?
Можно попробовать так:

./configure --with-cc-opt="-D NGX_HAVE_GNU_CRYPT_R=0" ...


-- 
Игорь Сысоев
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.