Re: kernel compile error

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

 



my system call program headers are -

#include <sys/time.h>
#include <linux/kernel.h>
#include <linux/mm.h>

and the relevant lines from my top Makefile
specifying the kernel path are :

TOPDIR   := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)

HPATH     = $(TOPDIR)/include
FINDHPATH  =$(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
Hope I have given the info. asked by you, Hemant.

Regards,
Nitin
>
> You are perhaps mixing headers from libc and kernel together. They are
> not supposed to be used like that. Post the header definitions of your
> sys_call program.
>
> Also post the relevant part of src/config/Makefile that has the path
> to kernel source.
>
> ./h
> --
> Operating Systems and Computer Architecture Research  - University of Cincinnati
> http://www.ececs.uc.edu/~mohapth
>

--
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