Problems while compiling

M

madhu.bhishma

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
 
G

Grizlyk

Madhu said:
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, for example.
 
O

Ondra Holub

(e-mail address removed) 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).
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top