Re: Try to add a system call but compilation error occured

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

 



Hi,

I have added #include <linux/shm.h> into the code and now I am getting the following error. Kindly help me out.
_________________________________________________________________________
[root@localhost linux-2.6.18.2]# make all
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  CC      ipc/mycall.o
In file included from ipc/mycall.c:4:
include/linux/ipc.h:59: error: expected specifier-qualifier-list before ʽspinlock_tʼ
make[1]: *** [ipc/mycall.o] Error 1
make: *** [ipc] Error 2
[root@localhost linux-2.6.18.2]#
_________________________________________________________________

Regards,

----- Original Message ----
From: Avishay Traeger <atraeger@xxxxxxxxxxxxx>
To: Irfan Ahmed <ahm_irf@xxxxxxxxx>
Cc: kernelnewbies@xxxxxxxxxxxx
Sent: Saturday, April 28, 2007 8:41:31 AM
Subject: Re: Try to add a system call but compilation error occured

On Fri, 2007-04-27 at 23:20 -0700, Irfan Ahmed wrote:
> Hi,
>
> I have tried to add a system call in Fedora Linux 6. I have attached a
> file where the steps are written
> its URL is
> http://nd.edu/~ablaich/system_call_implementation_a_blaich.txt
>
> During compilation of the kernel I got the following error.
>
> Can any body help me or suggest me any solution.

<snip>

Can you post the source code?  It's a bit tough trying to fix
compilation errors by guessing at what you did.

Also, did you #include <linux/shm.h>?

Avishay


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



Send instant messages to your online friends http://uk.messenger.yahoo.com

[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