Re: Включение дебага, 1.2.0 не собирается

Anton Yuzhaninov citrin на citrin.ru
Ср Апр 25 13:05:20 UTC 2012


On 04/25/12 16:27, vsharun wrote:
> src/os/unix/ngx_freebsd_init.c: In function 'ngx_debug_init':
> src/os/unix/ngx_freebsd_init.c:80: error: '_malloc_options' undeclared
> (first use in this function)
> src/os/unix/ngx_freebsd_init.c:80: error: (Each undeclared identifier is
> reported only once
> src/os/unix/ngx_freebsd_init.c:80: error: for each function it appears
> in.)
> *** [objs/src/os/unix/ngx_freebsd_init.o] Error code 1
>
> FreeBSD HEAD amd64 от 25.04.2012
> clang/gcc штатные - эффект одинаковый

see /usr/src/UPDATING

20120417:
         The malloc(3) implementation embedded in libc now uses sources imported
         as contrib/jemalloc.  The most disruptive API change is to
         /etc/malloc.conf.  If your system has an old-style /etc/malloc.conf,
         delete it prior to installworld, and optionally re-create it using the
         new format after rebooting.  See malloc.conf(5) for details
         (specifically the TUNING section and the "opt.*" entries in the MALLCTL
         NAMESPACE section).

Насколько понимаю _malloc_options удалили этим же импортом.

-- 
  Anton Yuzhaninov



Подробная информация о списке рассылки nginx-ru