Welcome! Log In Create A New Profile

Advanced

Re: FreeBSD & Linux disk AIO support

Лазовский Вадим
September 07, 2009 06:24PM
Igor Sysoev пишет:
> On Wed, Aug 26, 2009 at 11:59:05AM +0400, Dmitriy Timokhin wrote:
>
>> 2009/8/26 Igor Sysoev <is@rambler-co.ru>:
>>> Скорее всего, glibc старая. Насколько я понимаю, это дистрибутив, где
>>> руками поставили ядро поновее ?
>>>
>> Не обязательно -- например, в debian/lenny ядро уже с eventfd (2.6.26),
>> а glibc ещё без (2.7).
>
> Новый патч.
>
>
>

Прошу прощения,

>
> gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -O3 -march=native -mtune=native -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
> -o objs/src/os/unix/ngx_linux_aio_read.o \
> src/os/unix/ngx_linux_aio_read.c
> src/os/unix/ngx_linux_aio_read.c:109: error: redefinition of 'io_submit'
> src/os/unix/ngx_linux_aio_read.c:18: error: previous definition of 'io_submit' was here
> src/os/unix/ngx_linux_aio_read.c:116: error: redefinition of 'ngx_file_aio_read'
> src/os/unix/ngx_linux_aio_read.c:25: error: previous definition of 'ngx_file_aio_read' was here
> make[1]: *** [objs/src/os/unix/ngx_linux_aio_read.o] Error 1
> make[1]: Leaving directory `/usr/src/nginx-0.8.10'
> make: *** [build] Error 2

Это из-за двойного наложения патча. Сейчас все собралось - только ; добавил.
Subject Author Posted

Re: FreeBSD & Linux disk AIO support

Лазовский Вадим September 07, 2009 06:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready