Making all in liblock
cc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c lockfcntl.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c lockdaemon.c
lockdaemon.c:484: illegal expression, found `void'
lockdaemon.c:242: parse error in conditional expression
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[1]: *** [lockdaemon.o] Error 1
make: *** [all-recursive] Error 1

=====
Here are the offending lines:

    239 static RETSIGTYPE sigexit(int signum)
    240 {
    241     kill(getpid(), SIGKILL);
    242 #if     RETSIGTYPE != void
    243     return (0);
    244 #endif
    245 }

It turns out that RETSIGTYPE is, in fact, void, so I got rid of the preprocessor 
stuff.  I want it to work on my machine.  The maintainers can do the fancy fix.


    239 static RETSIGTYPE sigexit(int signum)
    240 {
    241     kill(getpid(), SIGKILL);
    243     return ;
    245 }



-- 
------------------------------------------------------------------------
                                                               Dan White
------------------------------------------------------------------------
"Sometimes  I  think  the  surest  sign  that  intelligent  life exists
 elsewhere  in the universe is that none of it has tried to contact us."
                                                 Calvin (Bill Watterson)

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to