Wednesday, July 02, 2008

 

generic_confd make error: confd.h: No such file or directory

Q: I'm trying my first attempt at building the Element reference platform for confd. In ref_platforms/generic_confd, I get instead:

+++ Compiling confd_proxy.c
confd_proxy.c:81:19: confd.h: No such file or directory
make[3]: *** [obj/linux-x86/confd_proxy.o] Error 1
make[3]: Leaving directory `/home/jmir/Element/Releases/2.3.1/element_2.3.1/src/northbound/confd_proxy'
make[2]: *** [libs] Error 1

A: You must first install confd software on your system, then set up a softlink to the confd root within your Element tree. This is described in the ConfD Support Guide in the section Building Element with ConfD Support.

Q: Okay, I did all that, but I still get the same error...

A: Note that the "arch" designation for your softlink may confuse some who are used to seeing linux-x86 directories all over their build. While this is normal for Element object directories, the ones under confd (and the one required for this softlink) should be x86 instead. E.g. he command to set up the softlink within element_2.3.0 pointing to confd-2.4.1 looks like:

ln -s /home/jmir/tail-f/Releases/2.4.1/confd-2.4.1 /home/jmir/Element/Releases/2.3.0/element_2.3.0/confd/x86

Labels: , ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?

free web hit counter
free invisible web counter