?



I am pretty new with gtk-programming and I have a problem I cant solve.
When I compiling my code I dont get any complaints about the code,
instead I recieve this:

gcc -Wall -g `gnome-config --cflags gnomeui` -c geasyedit.c
gcc `gnome-config --libs gnomeui` geasyedit.o -o geasyedit
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [geasyedit] Error 1

Whats wrong?

/Peter




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