Re: sys_sem* undefined
From: Randy.Dunlap
Date: Wed Aug 25 2004 - 11:18:18 EST
On Wed, 25 Aug 2004 12:50:20 +0100 (BST) Arne Henrichsen wrote:
| Hi,
|
| I am running kernel 2.6.8 and have noticed that in
| linux/sem.h the function declarations for sys_semop,
| sys_semop etc have been removed (as far as I can see
| from 2.6.4 onwards). Now when I compile my code I get
| the sys_sem* undefined warning messages. Which header
| file do I need to include now to get this support?
grep(1) finds sys_semop here:
./linux/syscalls.h:446:asmlinkage long sys_semop(int semid, struct sembuf __user
*sops,
Yes, include/linux/syscalls.h contains syscall prototypes.
| Also when I want to load my module with insmod it
| cannot find these symbols.
syscalls aren't called by name, so that's no surprise.
--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/