Error in ovdb.c

The Doctor doctor at doctor.nl2k.ab.ca
Sat Feb 12 12:45:46 UTC 2011


As I try to build, this is what happens:


Script started on Sat Feb 12 05:37:56 2011
gallifrey.nk.ca//usr/source/inn-CURRENT-20110212$ gmake && gmake test
cd include   && gmake all
gmake[1]: Entering directory `/usr/source/inn-CURRENT-20110212/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/source/inn-CURRENT-20110212/include'
cd lib       && gmake all
gmake[1]: Entering directory `/usr/source/inn-CURRENT-20110212/lib'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/source/inn-CURRENT-20110212/lib'
cd storage   && gmake library
gmake[1]: Entering directory `/usr/source/inn-CURRENT-20110212/storage'
/usr/bin/gcc -g -O2 -Wall  -I../include  -I.  -I/usr//include  -c -o ovdb/ovdb.o ovdb/ovdb.c
ovdb/ovdb.c: In function `client_connect':
ovdb/ovdb.c:290: parse error before "if"
ovdb/ovdb.c:254: warning: unused variable `p'
ovdb/ovdb.c:261: warning: unused variable `banner'
ovdb/ovdb.c:262: warning: unused variable `fds'
ovdb/ovdb.c:263: warning: unused variable `timeout'
ovdb/ovdb.c: At top level:
ovdb/ovdb.c:297: parse error before "while"
ovdb/ovdb.c:299: parse error before '&' token
ovdb/ovdb.c:303: warning: type defaults to `int' in declaration of `r'
ovdb/ovdb.c:303: `fds' undeclared here (not in a function)
ovdb/ovdb.c:303: `timeout' undeclared here (not in a function)
ovdb/ovdb.c:303: initializer element is not constant
ovdb/ovdb.c:303: warning: data definition has no type or storage class
ovdb/ovdb.c:305: parse error before "if"
ovdb/ovdb.c:308: parse error before string constant
ovdb/ovdb.c:308: warning: type defaults to `int' in declaration of `syswarn'
ovdb/ovdb.c:308: conflicting types for `syswarn'
../include/inn/messages.h:32: previous declaration of `syswarn'
ovdb/ovdb.c:308: warning: data definition has no type or storage class
ovdb/ovdb.c:309: warning: type defaults to `int' in declaration of `close'
ovdb/ovdb.c:309: warning: parameter names (without types) in function declaration
ovdb/ovdb.c:309: warning: data definition has no type or storage class
ovdb/ovdb.c:310: warning: type defaults to `int' in declaration of `clientfd'
ovdb/ovdb.c:310: redefinition of `clientfd'
ovdb/ovdb.c:210: `clientfd' previously defined here
ovdb/ovdb.c:310: warning: data definition has no type or storage class
ovdb/ovdb.c:311: parse error before "return"
ovdb/ovdb.c:315: warning: type defaults to `int' in declaration of `close'
ovdb/ovdb.c:315: warning: parameter names (without types) in function declaration
ovdb/ovdb.c:315: warning: data definition has no type or storage class
ovdb/ovdb.c:316: warning: type defaults to `int' in declaration of `clientfd'
ovdb/ovdb.c:316: redefinition of `clientfd'
ovdb/ovdb.c:310: `clientfd' previously defined here
ovdb/ovdb.c:316: warning: data definition has no type or storage class
ovdb/ovdb.c:317: parse error before "return"
ovdb/ovdb.c:320: warning: type defaults to `int' in declaration of `r'
ovdb/ovdb.c:320: redefinition of `r'
ovdb/ovdb.c:303: `r' previously defined here
ovdb/ovdb.c:320: `banner' undeclared here (not in a function)
ovdb/ovdb.c:320: `p' undeclared here (not in a function)
ovdb/ovdb.c:320: `p' undeclared here (not in a function)
ovdb/ovdb.c:320: initializer element is not constant
ovdb/ovdb.c:320: warning: data definition has no type or storage class
ovdb/ovdb.c:321: parse error before "if"
ovdb/ovdb.c:324: parse error before string constant
ovdb/ovdb.c:324: warning: type defaults to `int' in declaration of `syswarn'
ovdb/ovdb.c:324: warning: data definition has no type or storage class
ovdb/ovdb.c:325: warning: type defaults to `int' in declaration of `close'
ovdb/ovdb.c:325: warning: parameter names (without types) in function declaration
ovdb/ovdb.c:325: warning: data definition has no type or storage class
ovdb/ovdb.c:326: warning: type defaults to `int' in declaration of `clientfd'
ovdb/ovdb.c:326: redefinition of `clientfd'
ovdb/ovdb.c:316: `clientfd' previously defined here
ovdb/ovdb.c:326: warning: data definition has no type or storage class
ovdb/ovdb.c:327: parse error before "return"
ovdb/ovdb.c:334: warning: type defaults to `int' in declaration of `close'
ovdb/ovdb.c:334: warning: parameter names (without types) in function declaration
ovdb/ovdb.c:334: warning: data definition has no type or storage class
ovdb/ovdb.c:335: warning: type defaults to `int' in declaration of `clientfd'
ovdb/ovdb.c:335: redefinition of `clientfd'
ovdb/ovdb.c:326: `clientfd' previously defined here
ovdb/ovdb.c:335: warning: data definition has no type or storage class
ovdb/ovdb.c:336: parse error before "return"
gmake[1]: *** [ovdb/ovdb.o] Error 1
gmake[1]: Leaving directory `/usr/source/inn-CURRENT-20110212/storage'
gmake: *** [all-storage] Error 2
gallifrey.nk.ca//usr/source/inn-CURRENT-20110212$ exit
exit

Script done on Sat Feb 12 05:38:21 2011
-- 
Member - Liberal International	This is doctor at nl2k.ab.ca Ici doctor at nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! 
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
Birthdate 29 Jan 1969 Redhill Surrey England UK



More information about the inn-workers mailing list