Date: Thu, 13 Oct 2005 13:38:54 +0800 From: lin shane <bsdmaillist@gmail.com> To: freebsd-questions@freebsd.org Subject: How to call my system call by it's name? Message-ID: <a9a261f90510122238n52625b84n@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, Recent I add a simple system call - syshello() to my kernel. Then recompile the kernel. And I can call my system call by: syscall(455,parameter); But how do I do if I want call it by: syshello(parameter); Actually I recompile /usr/src/lib, but after doing that, I nearly cannot do anything! Becasue my screen always shows: /libexec/ld-elf.so.1: /lib/libc.so.5: Undefined symbol "SYS_syshello" Help me! Plase, thanks in advance. ^_^
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9a261f90510122238n52625b84n>