alloca.h does not exist in FreeBSD.

julien julien-nagios at touche.fr.st
Fri Nov 3 15:09:47 CET 2006


same things on OpenBSD 4.0 for 1.4.5


config.log:
configure:35754: checking for working alloca.h
configure:35775: gcc -o conftest -g -O2   -L. conftest.c  >&5
conftest.c:125:20: alloca.h: No such file or directory
configure:35781: $? = 1


compile:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins     -g
-O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o
mountlist.c;  then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po";
else rm -f ".deps/mountlist.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins     -g
-O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c;
then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f
".deps/regex.Tpo"; exit 1; fi
In file included from regex.c:55:
regex_internal.h:458:20: alloca.h: No such file or directory
*** Error code 1

same thing than jason, usage discouraged:
http://www.openbsd.org/cgi-bin/man.cgi?query=alloca&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html


commenting #include in lib/regex_internal.h solve the problem, so a #if
seems needed.


Regards

		Julien


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list