UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor sprabhu
Visitor
245 Views
Registered: ‎09-04-2014

Petalinux 2017.1 - How to add mod_auth_radius to apache

I am trying to add Radius authentication support to Apache. For this, I am trying to build mod_auth_radius. Based on the information provided on the FreeRadius site, I have added the following to the apache bbappend file:

 

EXTRA_OECONF += "--with-module=mod_auth_radius:${WORKDIR}/mod_auth_radius.c"

 

This adds the mod_auth_radius to the configure option. However, when I try to build, I am getting an error:

 

 make[2]: Entering directory '/home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/build/modules/mod_auth_radius'
| make[2]: *** No rule to make target 'all'.  Stop.
| make[2]: Leaving directory '/home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/build/modules/mod_auth_radius'
| make[1]: *** [/home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/build/build/rules.mk:75: all-recursive] Error 1
| make[1]: Leaving directory '/home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/build/modules'
| make: *** [/home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/build/build/rules.mk:75: all-recursive] Error 1
| ERROR: Function failed: do_compile (log file is located at /home/sushil/workspace/myPetaLinux/petalinux2017dot1/build/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/apache2/2.4.23-r0/temp/log.do_compile.3268)
ERROR: Task (/home/sushil/pkg/petalinux/components/yocto/source/arm/layers/meta-webserver/recipes-httpd/apache2/apache2_2.4.23.bb:do_compile) failed with exit code '1'

 

Please let me know how I can build  mod_auth_radius.

 

Thanks,

Sushil

 

0 Kudos