<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Op 18-12-14 om 09:18 schreef Christian
      Hartmann:<br>
    </div>
    <blockquote cite="mid:54928DE2.7000101@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi Marc,<br>
        <br>
        unfortunately I am a (enthusiastic) User<br>
        but not an expert.<br>
        where should I exactly add "-lm"?<br>
        <br>
      </div>
    </blockquote>
    <br>
    add -lm to the line:<br>
    <pre class="moz-signature" cols="72"><i>cc -O3 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/harfbuzz -I/usr/include/gimp-2.0   -o noise-generator plugin.o noise.o events.o interface.o colour.o poisson_gui.o gauss_gui.o uniform_gui.o laplace_gui.o lorentz_gui.o -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0

and execute it to see if it is right ..

Is there no variable LIBS or INCLUD_LIBS or something like that?  -lm should be added there..



Marc</i>
--
 The "Penguin" has arrived - and he's not going away - ever.
What's on Shortwave guide: choose an hour, go!
<a class="moz-txt-link-freetext" href="http://shortwave">http://shortwave</a> dot tk
700+ Radio Stations on SW <a class="moz-txt-link-freetext" href="http://swstations">http://swstations</a> dot tk
300+ languages on SW <a class="moz-txt-link-freetext" href="http://radiolanguages">http://radiolanguages</a> dot tk
</pre>
  </body>
</html>