Skip to contentSkip to conversation

Type declaration missing

parisc-linux Karsten Merker 2 participants 2 messages Feb 3, 2001 – Feb 7, 2001

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
#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.
#1 lore raw
Quoted 5 lines · Karsten Merker

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?

Missing something it seems. Me too though. I would have defined __kernel_old_uid_t the same as __kernel_uid_t.

Matthew Wilcox thinks both include/linux/smb_fs.h and include/linux/ncp_fs.h should be audited and ifdef out it's compatibility code. He volunteered to put it on his TODO list. I'm sure he'll take patches though. :^)

thanks,
grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253