I need an advice
- From: Igor Furlan <IFurlan zilog com>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: I need an advice
- Date: Fri, 22 May 1998 21:16:25 -0700
I am trying to compile and link few files from
directory /gtk+-1.0.0/gtk. For example I am
trying to compile "gtkcolorsel.c".
I do the following :
gcc `gtk-config --cflags` `gtk-config --libs` gtkcolorsel.c -o
gtkcolorsel
and I get:
/tools/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/crt1.o: In
function `_start':
/tools/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/crt1.o(.text+0x5c)
: undefined reference to `main'
make: *** [filesel] Error 1
Any advice ??
> Sincerely
>
> Igor
>
P.S> I am working with GTK 3-5 days and with C perhaps 3-4 weeks
:((((
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]