Hello all,

I have been trying to search for answers from the mail archive, but failed. So 
have to turn to you all:
With
>CFLAGS=-m32 LDFLAGS=-m32 ./configure
>make
Most of the modules are compiled successfully except perl come with net-snmp, 
stop for incompatible objects.
Looking into the compilation log, 32bit FLAG is applied for the modules other 
than perl.
Perl/Makefile reads
LDDLFLAGS = -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
OPTIMIZE = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
Actually, Makefiles under perl are marked with -m64.

I was able to complete the build by replace all -m64 with -m32, but I'm 
wondering what's wrong with my compilation configuration, and the fix.
Thanks all.

LI Baoqian
ALCATEL-LUCENT SHANGHAI BELL

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to