Re: compiler application error

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

 



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@xxxxxxxxxxxx>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux