Thread: Undefined reference when building gtk applications

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Registered User
    Join Date
    Sep 2019
    Posts
    15
    Quote Originally Posted by stahta01 View Post
    Are you really trying to build GIMP 2.6.0 from 2009 ?

    Tim S.
    That was the case. I changed it to the 2.6.12, because configure's gtk detection test looks a bit more organized for my personal taste.

    Anyway, I finally had enough time to give a good look in configure's gtk detection test and found at least one "if" clause that is not evaluating as true, and for me it looks like it should:

    Code:
    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args;
    this should evaluate as true I believe. However, it is clearly not doing so. The values of the variables on the line all seems correct to me:

    Code:
    $PKG_CONFIG
    evaluates to:
    Code:
    /usr/bin/pkg-config
    Code:
    $pkg_config_args
    evaluates to:
    Code:
    gtk+-2.0 gthread-2.0
    and
    Code:
    $min_gtk_version:
    evaluates to:
    Code:
    2.12.5
    as I am passing
    Code:
    /media/34GB/Arquivos-de-Programas-Linux/Gtk+-2.24.20/lib/pkgconfig/
    to the
    Code:
    PKG_CONFIG_PATH
    env variable, the if clause should be evaluating to true, isn't?
    Last edited by colt; 04-15-2023 at 08:00 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. undefined reference to ...
    By DeletedUserAccount in forum C Programming
    Replies: 16
    Last Post: 01-28-2011, 02:27 PM
  2. Undefined reference ?
    By Holymanus in forum C Programming
    Replies: 6
    Last Post: 01-07-2011, 09:15 AM
  3. Undefined reference?
    By Tirith in forum C Programming
    Replies: 8
    Last Post: 08-11-2009, 02:39 PM
  4. undefined reference....
    By najwani in forum C Programming
    Replies: 0
    Last Post: 04-06-2009, 10:05 PM
  5. undefined reference
    By B_Love in forum C++ Programming
    Replies: 6
    Last Post: 09-26-2005, 08:13 AM

Tags for this Thread