[CLAM] SMSTools linking problems

Maarten De Boer mdeboer at iua.upf.es
Fri Jul 23 00:51:44 PDT 2004


> I was able to link it by adding these libraries to the
> Makefile.vars file, in the LIBRARIES_RELEASE column:
>  -lGL\
>  -lGLU\
>  -lfltk_gl\
>  -lfltk_images
> I don't know if this is kosher or not, but it worked for me.

This will only work until you regenerate the Makefile.vars (typically
with a make depend). A more proper way to fix it is to edit


Look for the lines starting with $(USE_FTLK?
in the LIBRARIES_DEBUG and LIBRARIES_RELEASE settings, and add the
required libraries there.

After editing the system-linux.cfg file, you will have to regenerate
the Makefile.vars file (make depend in the project's build directory)

But the _real_ solution would be to find out why the configure script
does not properly detect that these libraries are required... We are
working on a complete rewrite of the configure script, which hopefully
solves this, and other, configure problems.


More information about the clam-users mailing list