problem with compiling base.c



Hi,

when I tried to compile the first simple example gtk program "base.c"
from Gtk tutorial http://www.gtk.org/tutorial/gtk_tut-2.html

using
gcc base.c -o base `gtk-config --cflags --libs`
(as recommened on that page) I get this messages:

/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw'
/usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init'
collect2: ld returned 1 exit status

I use Slackware 7.0 and my idea is, that it has a serious mess in
libraries.

I would be very grateful for any help.






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