[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTim7eHwkbbOHdXax7dQiMzSAktxjNYBpQjKOwTUy@mail.gmail.com>
Date: Fri, 27 Aug 2010 18:32:03 -0400
From: Someone Something <fordhaivat@...il.com>
To: linux-kernel@...r.kernel.org
Subject: LDD examples
I downloaded the LDD examples
(http://examples.oreilly.com/9780596005900/), and I unzipped the file
and just tried building it with make just to see if it built properly
and here are the errors I get:
setlevel.c:30: error: expected declaration specifiers or '...' before 'type'
setlevel.c:30: error: expected declaration specifiers or '...' before 'bufp'
setlevel.c:30: error: expected declaration specifiers or '...' before 'len'
setlevel.c:30: warning: data definition has no type or storage class
setlevel.c:30: warning: type defaults to 'int' in declaration of '_syscall3'
setlevel.c: In function 'main':
setlevel.c:41: warning: implicit declaration of function 'syslog'
have any of use experienced these errors? Is this book out of date?
Alternatives?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists