Wont compile, fresh source no changes
[root@mail mysqlSendmail]# make
cc -c tuser.c -o tuser.o -DLinux -Wall
cc -c talias.c -o talias.o -DLinux -Wall
talias.c:16: error: static declaration of ‘cUser’
follows non-static declaration
mysqlrad.h:48: error: previous declaration of
‘cUser’ was here
make: *** [talias.o] Error 1
[root@mail mysqlSendmail]#
If I comment out line 48 in mysqlrad.h I get
[root@mail mysqlSendmail]# make
cc -c tuser.c -o tuser.o -DLinux -Wall
In file included from tuser.c:10:
mysqlrad.h:48:2: error: invalid preprocessing directive
#extern
In file included from tuser.c:74:
tuserfunc.h: In function ‘ExttUserCommands’:
tuserfunc.h:385: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h:385: error: (Each undeclared identifier is
reported only once
tuserfunc.h:385: error: for each function it appears in.)
tuserfunc.h: In function ‘ExttUserSelect’:
tuserfunc.h:826: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘ExttUserSelectRow’:
tuserfunc.h:842: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘ExttUserListSelect’:
tuserfunc.h:862: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘ExttUserNavBar’:
tuserfunc.h:937: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘htmlUserTemplatePage’:
tuserfunc.h:1466: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘tUserChangePasswd’:
tuserfunc.h:1486: error: ‘cUser’ undeclared (first
use in this function)
tuserfunc.h: In function ‘tUserChangedPasswdOk’:
tuserfunc.h:1499: error: ‘cUser’ undeclared (first
use in this function)
tuser.c: In function ‘ModtUser’:
tuser.c:612: error: ‘cUser’ undeclared (first use
in this function)
make: *** [tuser.o] Error 1
[root@mail mysqlSendmail]#