building 32-bit net-snmp on x86_64-bit kernel Linux

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OFFE973D03.DE3DC90E-ON852576F8.00696281-852576F8.0069628C@bnymellon.com>
Hello,

I am trying to build 32bit version of net-snmp on redhat linux x86_64 platform.

Here are the platform and gcc version.

Target: x86_64-redhat-linux

gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

I am able to built 64-bit version of net-snmp successfully on 64-bit kernel and 32-bit version of net-snmp on 32-bit kernel.

However - my requirement is to build 32-bit version of net-snmp on 64-bit kernel. When I tried i am getting a lot of linking errors.

I tried setting CFLAGS=-m32 to configure script - but it didn't help. Configure script generating makefiles with -m64 for sub modules like : agents. Don't know how to fix it.

Please let me know how to configure and build 32-bit version on x86_64 platform.

Thanks in advance.

Prakash

The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.