----- Original Message ----- 
From: "Paul Hampson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 18, 2003 5:08 PM
Subject: RE: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error


> > From: Guillermo Delmastro
> > Sent: Saturday, 19 July 2003 1:16 AM
>
> > But now, after doing gmake, I get this errors:
>
> > gmake[4]: Entering directory `/usr/local/freeradius-0.9.0-pre3/src/main'
> > gcc  -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG  -I../include   -c radiusd.c
> > radiusd.c: In function `main':
> > radiusd.c:309: structure has no member named `sa_sigaction'
> These lines should only be compiled if HAVE_SIGACTION is defined...
> Does src/include/autoconf.h have it as defined or undefined?

#define HAVE_SIGACTION 1

>
> Have a look at your configure logs, and see what the result of
> "checking for sigaction" was.

configure:7190: checking for sigaction

>
> Maybe sigaction and co are defined differently on your system
> than on the system the code was tested on...
>
> Hmm, looking at the code and definition, that's crazy talk...
> What _is_ line 309 of src/main/radiusd.c
> As far as I can see, it shouldn't be looking for an sa_sigaction
> member.
>
> > radiusd.c: At top level:
> > radiusd.c:106: warning: `got_child' defined but not used
>
> This is because got_child is only used when HAVE_PTHREAD_H is defined,
> so I guess its definition could also be #ifdef'd around...
>
> > radiusd.c:117: warning: `needs_child_cleanup' defined but not used
>
> And _this_ is used only if HAVE_PTHREAD_H or ALLOW_CHILD_FORKS
> are defined.
>
> So the last two aren't problems.
>
>
1234567891123456789212345678931234567894123456789512345678961234567897123456
7898
> --
> =========================================================
> Paul "TBBle" Hampson
> Bubblesworth Pty Ltd (ABN: 51 095 284 361)
> [EMAIL PROTECTED]
>
> This is a one line proof...if we start
> sufficiently far to the left.
> -- Cambridge University Math Department
> ---------------------------------------------------------
> Random signature generator 3.0 by Paul "TBBle" Hampson
> =========================================================
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to