[parisc-linux] Type declaration missing

Karsten Merker karsten@excalibur.cologne.de
Sat, 3 Feb 2001 14:06:17 +0100


Hallo everyone,

I have just tried to compile the current cvs-snapshot (Sat Feb 3 11:27:29
CET 2001) with support for smbfs. The result:

[cwd is fs/smbfs]
hppa-linux-gcc -D__KERNEL__
-I/mnt/filebase/builds/parisc-20010203/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
-D__linux__ -pipe -fno-strength-reduce -mno-space-regs
-mfast-indirect-calls -mschedule=7200 -mdisable-fpregs
-fno-strict-aliasing -ffunction-sections  -DSMBFS_PARANOIA  -c -o ioctl.o
ioctl.c
ioctl.c: In function `smb_ioctl':
ioctl.c:31: `__kernel_old_uid_t' undeclared (first use in this function)
ioctl.c:31: (Each undeclared identifier is reported only once
ioctl.c:31: for each function it appears in.)
make[3]: *** [ioctl.o] Fehler 1

In fact __kernel_old_uid_t is not declared for the hppa-architecture. The
declaration should be in include/asm-parisc/posix_types.h, I am just
unsure what the correct declaration looks like. Has hppa-linux always been
using 32Bit UIDs? If yes, __kernel_old_uid_t should be defined to be the
same as __kernel_uid_t, or am I missing something here?

Greetings,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.