lkml.org 
[lkml]   [2010]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectLDD examples
From
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?


\
 
 \ /
  Last update: 2010-08-28 00:35    [W:0.061 / U:4.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site