Menu

#17 make errors in mysqlSendmail

mysqlSendmail
open
nobody
5
2006-01-07
2006-01-07
dlpreston
No

mysqlSendmail wont compile on Fedora Core4, 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]#

Discussion

  • dlpreston

    dlpreston - 2006-01-07
    • summary: make errors --> make errors in mysqlSendmail
     
  • Admin Role

    Admin Role - 2006-01-10

    Logged In: YES
    user_id=61124

    See this thread:

    https://sourceforge.net/forum/message.php?msg_id=3514113

     
  • Admin Role

    Admin Role - 2006-01-10

    Logged In: YES
    user_id=61124

    Your bug has been assigned.

    How quickly it is acted on depends on several factors. The most
    important are:
    1. How detailed you were in describing your problem.
    2. Background information like OS and Databases.
    3. Including the circumstances which will reproduce the errors.
    4. The potential number of users effected by this bug.
    5. How serious the bug is ( operational versus cosmetic ).

    Please keep the assigned bug number for reference. If you later
    post a patch, please also reference this bug number.

    Thank you for your help! Good software requires good bug reports.

     

Log in to post a comment.