[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kernelnewbies
Subject:    Re: insmod problem - Regarding
From:       Jim Bauer <jfbauer () nfr ! com>
Date:       2003-05-28 19:16:26
[Download RAW message or body]

On Wed, 2003-05-28 at 14:54, Vijay Venkata wrote:
> Hi
> I am trying to install a module I wrote using "insmod" on "linux-2.4.18-19.8.0" and I get the
> following error.
> 
> This is the first linux kernel module that I have written.
> 
> Do I need to do a mknod before I do an insmod ? 

no

> 
> ***ERROR BEGIN****
> # insmod queryDevice.o
> 
> queryDevice.o: unresolved symbol open
> queryDevice.o: unresolved symbol close
> queryDevice.o: unresolved symbol puts
> queryDevice.o: unresolved symbol printf
> queryDevice.o: unresolved symbol strerror
> queryDevice.o: unresolved symbol ioctl


Uh, these are user-space routines.  You can't call them from
kernel-land.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic