Re: compiler application error
- From: Maciej Katafiasz <ml mathrick org>
- To: nguyen tuan nghia <nghiak46cb yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: compiler application error
- Date: Sat, 30 Apr 2005 12:47:37 +0200
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]