Re: insmod problem - Regarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux