This definitely helps me get further along the path.  It correctly forces
Sun Studio 12 and successfully generates a 64bit libnetsnmp.so file. But
make now crashes further in the net-snmp  build.  Looks like right after
reporting "running Mkbootstrap for NetSNMP::default_store()", make crashes,
now complaining "libnetsnmp.so: wrong ELF class: ELFCLASS64".

Anyway, at least it seems to have built a 64-bit Solaris 10 libnetsnmp.so,
which is what I need for my project.

I'm now debugging an issue with my OIDS stuffed into a PDU looking like
they're zeroed (using Wireshark) on my 64bit Solaris build.  This same issue
does *not* exist on my 64bit Windows build.

Thanks again, and any further suggestions are welcome.  As well, I'll report
any progress I make...

On Tue, Mar 2, 2010 at 5:43 PM, Thomas Anders
<thomas.and...@blue-cable.de>wrote:

> Mike Walker wrote:
> > My problem now is just how to set CFLAGS="-xtarget=native
> > -xarch=native64" for building net-snmp.
> >
> > If I set it via "configure" (i.e.: "./configure CFLAGS="-xtarget=native
> > -xarch=native64"), then configure stops with errors relating to "c
> > compiler cannot generate executables".
>
> That's the proper way to set CFLAGS. What compiler and version are you
> using? Please note you need Sun's compiler (cc) for these options to work.
>
>  ./configure CC=cc CFLAGS="-xtarget=native -xarch=native64" ...
>
>
> +Thomas
>
>
> ------------------------------------------------------------------------------
> 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-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
------------------------------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to