[samba.spec], quota.h, spinlock.h

Paweł Sikora pluto w ds14.agh.edu.pl
Czw, 29 Sty 2004, 22:03:16 CET


nie budowalo smbd/quotas.c sie przez brak definicji spinlock_t.
dorzucilem na probe #include <asm/spinlock.h> do quota.h
ale sie wysypalo nieco dalej na wstawkach assemblerowych.

Compiling smbd/quotas.c
In file included from /usr/include/linux/quota.h:47,
                 from smbd/quotas.c:65:
/usr/include/asm/spinlock.h: In function `_raw_spin_lock':
/usr/include/asm/spinlock.h:122: error: parse error before 
"LOCK_SECTION_START"
/usr/include/asm/spinlock.h: In function `_raw_read_lock':
/usr/include/asm/spinlock.h:174: error: parse error before 
"LOCK_SECTION_START"
/usr/include/asm/spinlock.h:174: error: parse error before string constant
/usr/include/asm/spinlock.h: In function `_raw_write_lock':
/usr/include/asm/spinlock.h:182: error: parse error before 
"LOCK_SECTION_START"
/usr/include/asm/spinlock.h:182: error: parse error before string constant
smbd/quotas.c: In function `get_smb_linux_vfs_quota':
smbd/quotas.c:135: error: storage size of `D' isn't known
make: *** [smbd/quotas.o] 

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke



Więcej informacji o liście dyskusyjnej pld-devel-pl