Re: linux/module.h does not exist

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

 



On Sun, Aug 22, 2010 at 1:48 PM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:

>
> uhum? AFAIK sys call table is not exported in 2.6.x.... so even if
> your code is perfectly compiled and produced valid .ko kernel module,
> I doubt it will work.

> Unless I missed something in recent development....
>
> Regarding the missing __NR_exit, I think you forgot to include
> asm/unistd.h.
find /usr -name unistd.h
http://pastebin.com/NRib2tB6
which one?
> And try to include asm/syscalls
find /usr/ -name syscalls*


/usr/src/alsa/alsa-driver-1.0.21/include/syscalls_26.h
/usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/syscalls.h
/usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls_32.h
/usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls.h
/usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls_64.h
/usr/src/linux-headers-2.6.28-11/arch/sparc/include/asm/syscalls.h
/usr/src/linux-headers-2.6.28-11/arch/powerpc/include/asm/syscalls.h
/usr/src/linux-headers-2.6.28-11/include/linux/syscalls.h



which one?

Once again original link from where I got the above program
http://techblog.aasisvinayak.com/a-voyage-to-kernel-first-24-parts/
https://docs.google.com/fileview?id=0B2A4urYOAf6POTI1OGE1MjctM2UyMC00OGUzLThlNDUtZDBhOWFjY2Y1MDUz&hl=en

page 48 of pdf.
Left hand side
I believe the author did not miss any thing?

-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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