Re: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
- 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
RE: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
> From: Alan DeKok > Sent: Saturday, 19 July 2003 7:15 AM > "Paul Hampson" <[EMAIL PROTECTED]> wrote: > > 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. > I don't recall if -pre3 had it fixed, but the fix will be in 0.9.0 *baps self* Sorry for the confusion. I was looking at the CVS tree from which 0.9.0-pre3 was spawned... but not for _time_ at which 0.9.0-pre3 was spawned. -- = 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
Re: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
"Paul Hampson" <[EMAIL PROTECTED]> wrote: > 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. I don't recall if -pre3 had it fixed, but the fix will be in 0.9.0 The solution was "the entire world isn't Linux". Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
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? Have a look at your configure logs, and see what the result of "checking for sigaction" was. 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. 12345678911234567892123456789312345678941234567895123456789612345678971234567898 -- = 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
Re: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
Thanks Ross !!! 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' radiusd.c: At top level: radiusd.c:106: warning: `got_child' defined but not used radiusd.c:117: warning: `needs_child_cleanup' defined but not used gmake[4]: *** [radiusd.o] Error 1 gmake[4]: Leaving directory `/usr/local/freeradius-0.9.0-pre3/src/main' gmake[3]: *** [common] Error 1 gmake[3]: Leaving directory `/usr/local/freeradius-0.9.0-pre3/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/local/freeradius-0.9.0-pre3/src' gmake[1]: *** [common] Error 1 gmake[1]: Leaving directory `/usr/local/freeradius-0.9.0-pre3' gmake: *** [all] Error 2 Is this a problem from this version? Or am I doing something wrong? Guillermo - Original Message - From: "Ross Reed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2003 6:06 PM Subject: RE: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error > Make sure you are using gmake and not make. I had the same problem. If you > cant use gmake, you will need to paste the contents of Make.inc into you > Makefile, but I don't recommend it. > > Ross Reed > > -Original Message- > From: Guillermo Delmastro [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 17, 2003 4:01 PM > To: [EMAIL PROTECTED] > Subject: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error > > > Hi > I'm trying to install freeradius-0.9.0-on BSDI4.3 doing: > > ./configure > make > make install > > but when i do make, i get the following: > > "Makefile", line 10: Need an operator > Fatal errors encountered -- cannot continue > > and line 10 is: > > include Make.inc > > Can anybody help me? > > Thanks > > Guillermo > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
Make sure you are using gmake and not make. I had the same problem. If you cant use gmake, you will need to paste the contents of Make.inc into you Makefile, but I don't recommend it. Ross Reed -Original Message- From: Guillermo Delmastro [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 4:01 PM To: [EMAIL PROTECTED] Subject: Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error Hi I'm trying to install freeradius-0.9.0-on BSDI4.3 doing: ./configure make make install but when i do make, i get the following: "Makefile", line 10: Need an operator Fatal errors encountered -- cannot continue and line 10 is: include Make.inc Can anybody help me? Thanks Guillermo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Freeradius-0.9.0-pre3 on BSDI4.3, Makefile error
Hi I'm trying to install freeradius-0.9.0-on BSDI4.3 doing: ./configure make make install but when i do make, i get the following: "Makefile", line 10: Need an operator Fatal errors encountered -- cannot continue and line 10 is: include Make.inc Can anybody help me? Thanks Guillermo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html