Hello.
About the build error (I was building the latest 5.7.2 version of Net-SNMP).
I saw this error on two machines, both Debian, latest up-to-date stable
releases, kernel 3.2.0-4-rt-amd64. GCC 4.7.2. The error was repeating,
cleaning up and running make twice didn't help.

Today I performed some checks again. On one machine, where the library was
installed, the error didn't appear again (I think because the linker found
the libs in system paths and I had no time to thorouthly clean up the
system from the installed components).
But on another PC I've got linking error. Here I attach the results in
archive, bad_make_result.txt is from "make -j2", good_make_result.txt is a
simple "make" result. The error is repeating every time when I clean up the
build and run make over and over. So it's kinda permanent.

But as I can remember, this linking error is different from that I got on
the first machine. The first error was linker could not find
libnetsnmpagent.la, I remember this well because I wasted some hours trying
to "fix" this error, adding paths to the linker parameters in command lline
manually. I also looked for answer on the net and found this thread with
similar problem:
http://lists.gnu.org/archive/html/ltib/2010-08/msg00086.html
Then I accidentally decided to try to build the library on my motebook that
has weak CPU, so I used simple "make", without parallel building, And it
worked like a charm. That's what I repeated on other machines and it also
worked.

This might be the quirk of GNU autotools or GCC, too. But I haven't seen
any troubles with this toolset, I build a lot of things.

That's it.


Sincerely, Yana A. Kireyonok





2014-02-27 17:04 GMT+06:00 Niels Baggesen <n...@users.sourceforge.net>:

> On Wed, Feb 26, 2014 at 02:12:53PM +0600, Yana A Kireyonok (aka Iron Bug)
> wrote:
> > Also would be a good point to add to build instructions of the library a
> > note that the library cannot be built in parallel (make -j<processors>).
>
> It would be better to make sure it works :-)
>
> > Because when tried to be built it in parallel, it fails with strange
> errors
> > about missing links and it's not obvious to users that the cause is just
> > the parallel building.
>
> I routinely build with "make -j4", and I dont remember seeing any problems.
>
> What version and OS is this? Can you provide a log of the failure?
>
> /Niels
>
> --
> Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
> The purpose of computing is insight, not numbers   ---   R W Hamming
>

Attachment: make_results.tar.bz2
Description: BZip2 compressed data

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to