freeradius-server-2.1.10 compiles on HP-UX 11.31 with errors.

Giampiero Torrielli giampiero.torrielli at gmail.com
Tue Nov 23 12:40:27 CET 2010


Hi all,

I compiled and installed freeradius (freeradius-server-2.1.10) on a HPUX
11.31 Itanium V3 system, but I had to make some little code and makefile
modifications.

I would like to tell you these changes

In the file :
freeradius-server-2.1.10/src/modules/rlm_eap/rlm_eap.c
in the new function static int eap_handler_ptr_cmp, the HP CC compiler gives
an error on the returning value type.

diff:

line 111
<   return (a - b);
---
>   return ((int)a - (int)b);


In the file :
freeradius-server-2.1.10/raddb/Makefile
the HP ln command, don't understand the command line format. a '.' should be
add to the end of command lines

diffs:
26c26
<               cd sites-enabled && ln -s ../sites-available/default; \
---
>               cd sites-enabled && ln -s ../sites-available/default .; \
29c29
<               cd sites-enabled && ln -s ../sites-available/inner-tunnel; \
---
>               cd sites-enabled && ln -s ../sites-available/inner-tunnel .;
\
78c78
<               ln -s ../sites-available/default; \
---
>               ln -s ../sites-available/default .; \
82c82
<               ln -s ../sites-available/inner-tunnel; \
---
>               ln -s ../sites-available/inner-tunnel .; \
86c86
<               ln -s ../sites-available/control-socket; \
---
>               ln -s ../sites-available/control-socket .; \


Best regards,
GIampiero.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20101123/51852967/attachment.html>


More information about the Freeradius-Devel mailing list