[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Compile problem with Freeradius-01
From:       "Joydeep" <joydeep.raha () bplmail ! com>
Date:       2001-07-26 13:20:09
[Download RAW message or body]

Hello,

         I am not being able to compile freeradius-0.1 on my HP-UX server 11.00 \
version. I am using gcc to compile it. While running ./configure  \
--prefix=/user/local( i have created this directory manually on server) there is no \
error. After this, while running make, i am getting quite a lot of warnings ending \
with some errors which are pasted below for your kind persusal: radzap.c:94: warning: \
`radutmp_unlock' defined but not used gcc  -g -O2 -Wall -D_GNU_SOURCE -Wshadow \
-Wpointer-arith -Wcast-qual 

-Wcast-ali
gcc  -g -O2 -Wall -D_GNU_SOURCE -Wshadow -Wpointer-arith -Wcast-qual 

-Wcast-alic
raduse.c: In function `listnas':
raduse.c:91: structure has no member named `ut_xtime'
raduse.c: In function `fillstruct':
raduse.c:147: structure has no member named `ut_xtime'
raduse.c:178: structure has no member named `ut_xtime'
raduse.c:187: structure has no member named `ut_xtime'
make[4]: *** [raduse.o] Error 1
make[4]: Leaving directory `/future/freeradius/freeradius-0.1/src/main'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/future/freeradius/freeradius-0.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/future/freeradius/freeradius-0.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/future/freeradius/freeradius-0.1'
make: *** [all] Error 2

                                 I have downloaded the latest make utility too \
make-3.79 and tried to compile it but without any success.I have also checked the \
raduse.c file /src/main wherein i found that ut_xtime is declared only once but not \
in the two functions 'listnas' and 'fillstruct' which the error points to. This \
raduse.c file is original and as it is after untar. Can anyone opine what is causing \
these errors to come?

regards
Joydeep
System Admin
bplnet


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I 
am not being able to compile freeradius-0.1 on my HP-UX server 11.00 version. I 
am using gcc to compile it. While running ./configure&nbsp; 
--prefix=/user/local( i have created this directory manually on server) there is 
no error.</FONT></DIV>
<DIV><FONT face=Arial size=2>After this, while running make, i am getting quite 
a lot of warnings ending with some errors which are pasted below for your kind 
persusal:</FONT></DIV>
<DIV><FONT face=Arial size=2>radzap.c:94: warning: `radutmp_unlock' defined but 
not used<BR>gcc&nbsp; -g -O2 -Wall -D_GNU_SOURCE -Wshadow -Wpointer-arith 
-Wcast-qual </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Wcast-ali<BR>gcc&nbsp; -g -O2 -Wall -D_GNU_SOURCE 
-Wshadow -Wpointer-arith -Wcast-qual </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Wcast-alic<BR>raduse.c: In function 
`listnas':<BR>raduse.c:91: structure has no member named `ut_xtime'<BR>raduse.c: 
In function `fillstruct':<BR>raduse.c:147: structure has no member named 
`ut_xtime'<BR>raduse.c:178: structure has no member named 
`ut_xtime'<BR>raduse.c:187: structure has no member named `ut_xtime'<BR>make[4]: 
*** [raduse.o] Error 1<BR>make[4]: Leaving directory 
`/future/freeradius/freeradius-0.1/src/main'<BR>make[3]: *** [common] Error 
1<BR>make[3]: Leaving directory 
`/future/freeradius/freeradius-0.1/src'<BR>make[2]: *** [all] Error 
2<BR>make[2]: Leaving directory 
`/future/freeradius/freeradius-0.1/src'<BR>make[1]: *** [common] Error 
1<BR>make[1]: Leaving directory `/future/freeradius/freeradius-0.1'<BR>make: *** 
[all] Error 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I \
 have downloaded the latest make utility too make-3.79 and tried to compile it 
but without any success.I have also checked the raduse.c file /src/main wherein 
i found that ut_xtime is declared only once but not in the two functions 
'listnas' and 'fillstruct' which the error points to. This raduse.c file is 
original and as it is after untar.</FONT></DIV>
<DIV><FONT face=Arial size=2>Can anyone opine what is&nbsp;causing these errors 
to come?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Joydeep</FONT></DIV>
<DIV><FONT face=Arial size=2>System Admin</FONT></DIV>
<DIV><FONT face=Arial size=2>bplnet</FONT></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic