Find the answer to your Linux question:
Results 1 to 3 of 3
root@artos-laptop:~/habesh# /opt/Artos_toolchain_1.3/bin/arm-linux-gcc -o test2 base.c `pkg-config --cflags --libs gtk+-2.0` /opt/Artos_toolchain_1.3/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status it compiled for linux succesfully and can execute. i try to ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Location
    Bangalore
    Posts
    5

    lgtk-x11-2.0 error

    root@artos-laptop:~/habesh# /opt/Artos_toolchain_1.3/bin/arm-linux-gcc -o test2 base.c `pkg-config --cflags --libs gtk+-2.0`
    /opt/Artos_toolchain_1.3/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: cannot find -lgtk-x11-2.0
    collect2: ld returned 1 exit status


    it compiled for linux succesfully and can execute. i try to cross compile gtk program for ARM board. but it results in this error.

  2. #2
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    121
    Quote Originally Posted by habeshkumar View Post
    /opt/Artos_toolchain_1.3/bin/../lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: cannot find -lgtk-x11-2.0
    The linker cannot find a file called libgtk-x11-2.0.so (or libgtk-x11-2.0.a) in its search path. Check that (i) you've really built this shared library and (ii) it's in the linker's search path (you can pass extra paths with -L; see gcc(1)).

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Location
    Bangalore
    Posts
    5

    lgtk-x11

    thanks for u r reply.

    can u tell me to get the package for lgtk-x11-2.0 to rectify the error. i am being a beginner for this. my mail id is of habeshkumar@gmail.com u can help me please.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...