Re: compiler application error



Dnia 29-04-2005, pią o godzinie 00:26 -0700, nguyen tuan nghia napisał:
> Why i can't compiler this program.

[snip]

> bash-2.05b# gcc -c libskindetect.c -o libskindetect
> `pkg-config --cflags --libs
> gtk+-2.0 glib-2.0`
> gcc: --export-dynamic: linker input file unused
> because linking not done

[snip]

You're using -c option to gcc which tells the compiler to not link
resulting program, only to compile source into .o files. It has told you
that, too :). Remove -c flag to make it compile and link.

Cheers,
Maciej

-- 
Maciej Katafiasz <ml mathrick org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]