Re: simple ioctl problem

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

 



On Wed, Jul 27, 2005 at 12:16:37PM +0000, Vincenzo Mallozzi wrote:
> Now! When I compile device.c things go well but when I try to compile the 
> user-space programm with the command
> 
>      gcc -g -o user user.c
> 
> occurre the errors:
> 
>      user.c:51: error: parse error before "pid_t"
>      user.c:52: error: parse error before "pid_t"
>      user.c:53: error: parse error before "int"
> 
> Where I'm wrong?

Always compile with -Wall, the compiler will tell you what's wrong
(most probably you forgot to include a header file).


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[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