Problems while compiling

Discussion in 'C++' started by madhu.bhishma@gmail.com, Jan 29, 2007.

  1. Guest

    HI,

    I am encountering problems while trying to compile programs.

    The error says :
    [sbox-surya: ~] > gcc interface.c `pkg-config --cflags --libs gtk+-2.0
    hildon-libs`

    /scratchbox/compilers/i386-gcc-3.3.2-uclibc-snapshot-20040229/lib/gcc-
    lib/i386-linux-uclibc/3.3.2/../../../../i386-linux-uclibc/bin/ld:
    cannot find -lhildonwidgets
    collect2: ld returned 1 exit status

    Regards,
    Madhu
    , Jan 29, 2007
    #1
    1. Advertising

  2. Grizlyk Guest

    Madhu wrote:
    > cannot find -lhildonwidgets
    > collect2: ld returned 1 exit status


    It is not C++ standard library. You can ask for your OS, library or compiler
    related group, news:gnu.g++.help for example.
    --
    Maksim A Polyanin
    Grizlyk, Jan 29, 2007
    #2
    1. Advertising

  3. Ondra Holub Guest

    napsal:
    > HI,
    >
    > I am encountering problems while trying to compile programs.
    >
    > The error says :
    > [sbox-surya: ~] > gcc interface.c `pkg-config --cflags --libs gtk+-2.0
    > hildon-libs`
    >
    > /scratchbox/compilers/i386-gcc-3.3.2-uclibc-snapshot-20040229/lib/gcc-
    > lib/i386-linux-uclibc/3.3.2/../../../../i386-linux-uclibc/bin/ld:
    > cannot find -lhildonwidgets
    > collect2: ld returned 1 exit status
    >
    > Regards,
    > Madhu


    There is probably wrong definition of hildon libraries in pkg-config.
    Try to specify paths to it manualy. I do not know these libraries, so
    I do not know where they are stored, but it is usualy /usr/lib or /usr/
    local/lib or /usr/lib64 or /usr/local/lib64 (although it may be
    elsewhere).
    Ondra Holub, Jan 29, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Susan Baker
    Replies:
    2
    Views:
    800
    kelvSYC
    Jun 26, 2005
  2. Garrett Cooper
    Replies:
    0
    Views:
    542
    Garrett Cooper
    Feb 24, 2009
  3. Garrett Cooper
    Replies:
    0
    Views:
    487
    Garrett Cooper
    Feb 24, 2009
  4. Lon Baker
    Replies:
    1
    Views:
    214
    Csaba Henk
    Mar 21, 2005
  5. ashish
    Replies:
    8
    Views:
    303
    Peter J. Holzer
    Nov 26, 2006
Loading...

Share This Page