Re: ./configure conftest.c permission denied

Leo Lin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear Bart,
 
I tried your suggestion, and also performed a distclean before re-configuring, and it worked!  Thanks!  Below, is the script I created per your suggestion,
 
#! /usr/bin/bash
 
echo "Cleaning Make ..."
echo 
make clean
echo
echo "Cleaning Configure ..."
echo
make distclean
echo 
echo "Configuring ..."
echo
./configure --with-mib-modules="llc_snmpagent" --with-default-snmp-version="1" --with-sys-contact="[email protected]" --with-sys-location="llc" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --disable-manuals --without-perl-modules --disable-embedded-perl || exit $?
echo
echo "Make ..."
echo
make || exit $?
echo 
echo "Make Install ..."
echo
make install && echo "Installation Completed!!!" || exit $?


--- On Tue, 9/21/10, Bart Van Assche <[email protected]> wrote:


From: Bart Van Assche <[email protected]>
Subject: Re: ./configure conftest.c permission denied
To: "Leo Lin" <[email protected]>
Cc: "Abraham Varricatt" <[email protected]>, "Net-snmp-users" <[email protected]>
Date: Tuesday, September 21, 2010, 3:08 AM


On Tue, Sep 21, 2010 at 10:06 AM, Leo Lin <[email protected]> wrote:


master.o: In function `real_init_master`: 




master.c: 55: undefined reference to ___stack_chk_guard

I have never seen such an error message myself during any of the many times I built Net-SNMP on Cygwin.

Have you already tried to run "make clean" before rebuilding ? The above probably indicates that master.c was compiled with the flag -fstack-protector and that you are now building without.

Bart.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.