Free Radius Compilation Error on RHEL5.3

Kamal Garg kamal.garg at mobileinternet.co.in
Thu Aug 13 13:38:40 CEST 2009


Hi,

 

I am facing problem while making freeradius-server-2.1.6 on RHEL5.3, however
I am able to successfully build and install the freeradius-server-2.1.6 on
RHEL4.0.

 

Following are the error logs I am getting while building freeradius server
on RHEL5.3.

 

[root at VMWare freeradius-server-2.1.6]# make

gmake[1]: Entering directory `/home/freeradius-server-2.1.6'

Making all in libltdl...

gmake[2]: Entering directory `/home/freeradius-server-2.1.6/libltdl'

/usr/bin/gmake  all-am

gmake[3]: Entering directory `/home/freeradius-server-2.1.6/libltdl'

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-g -O2 -c -o ltdl.lo ltdl.c

mkdir .libs

 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o
.libs/ltdl.o

ltdl.c: In function 'lt_dladderror':

ltdl.c:967: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'tryall_dlopen_module':

ltdl.c:2482: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2483: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2484: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'canonicalize_path':

ltdl.c:2575: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2576: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'argzize_path':

ltdl.c:2639: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2640: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2641: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'foreach_dirinpath':

ltdl.c:2710: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'find_file_callback':

ltdl.c:2750: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2751: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2752: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'try_dlopen':

ltdl.c:3068: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3069: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3095: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3127: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3333: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_dlopenext':

ltdl.c:3477: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_argz_insertinorder':

ltdl.c:3606: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3607: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3608: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_argz_insertdir':

ltdl.c:3636: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3637: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3638: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3672: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'list_files_by_dir':

ltdl.c:3697: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3698: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3699: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3700: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_dlpath_insertdir':

ltdl.c:3993: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3994: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4002: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4007: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4008: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4017: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4032: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4033: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

/usr/include/argz.h: In function 'argz_next':

/usr/include/argz.h:181: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

Preprocessed source stored into /tmp/ccYFkazU.out file, please attach this
to your bugreport.

gmake[3]: *** [ltdl.lo] Error 1

gmake[3]: Leaving directory `/home/freeradius-server-2.1.6/libltdl'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory `/home/freeradius-server-2.1.6/libltdl'

gmake[1]: *** [common] Error 2

gmake[1]: Leaving directory `/home/freeradius-server-2.1.6'

make: *** [all] Error 2

[root at VMWare freeradius-server-2.1.6]# gcc version

gcc: version: No such file or directory

gcc: no input files

 

 

 

Is there any compatibility issues between freeradius and RHEL5.3? 

Is there any way out to successfully build freeradius server on RHEL5.3 ?

 

 

Thanks & Regards,

Kamal

 

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20090813/25c5fa88/attachment.html>


More information about the Freeradius-Devel mailing list