[devel] bacula-2.2.5-alt2: i586 rebuild failed

Slava Semushin =?iso-8859-1?q?slava=2Esemushin_=CE=C1_gmail=2Ecom?=
Пт Ноя 2 09:47:25 MSK 2007


2007/11/2, Vitaly Kuznetsov <vitty / altlinux.ru>:
[...]
> attribs.c: In function 'void encode_stat(char*, FF_PKT*, int)':
> attribs.c:211: error: 'struct stat' has no member named 'st_flags'
> attribs.c: In function 'int decode_stat(char*, stat*, int32_t*)':
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:306: error: 'struct stat' has no member named 'st_flags'
> attribs.c:308: error: 'struct stat' has no member named 'st_flags'
> attribs.c: In function 'bool set_attributes(JCR*, ATTR*, BFILE*)':
> attribs.c:480: error: 'struct stat' has no member named 'st_flags'
> attribs.c:480: error: 'chflags' was not declared in this scope
> make[1]: *** [attribs.o] Error 1
[...]

Это у вас как-то неправильно проверки сработали и в результате под
Линуксом пытается компилироваться код для *BSD. Поля st_flags под
Линуксом нет, равно как и ф-ции chflags() для манипулирования этим
полем. Смотрите в код и выясняйте почему так произошло.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru


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