Hi all,

Im trying to compile and install FREERADIUS0.3 on a HP-UX 11.0
Im using gcc3.0 and gmake.

The problem is the following:
----------------------------------------------------------------------------
------
gcc  -g -O2 -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG -I../include     -c -o
raduse.o raduse.c
In file included from raduse.c:27:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of t
he previous definition
In file included from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/sys/types.h:11,
                 from
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:33,
                 from raduse.c:26:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/sys/_inttypes.h:38
: warning: empty declaration
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/sys/_inttypes.h:42
: warning: empty declaration
raduse.c: In function `listnas':
raduse.c:93: structure has no member named `ut_tv'
raduse.c: In function `fillstruct':
raduse.c:151: structure has no member named `ut_tv'
raduse.c:183: structure has no member named `ut_tv'
raduse.c:192: structure has no member named `ut_tv'
make[4]: *** [raduse.o] Error 1
make[4]: Leaving directory `/users/npmsi/freeradius-0.3/src/main'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/users/npmsi/freeradius-0.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/users/npmsi/freeradius-0.3/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/users/npmsi/freeradius-0.3'
make: *** [all] Error 2
----------------------------------------------------------------------------
-------------------------------------------------------------------

If one take a look at "raduse.c" line 93 the following appears:

                fread(&ut, UTSIZE, 1, fp);
                if (ut.ut_time < stop)
                        break;

There is no "ut_tv" member... The same with the other lines... What could be
wrong here?

Thanks,
Luis.

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

Reply via email to