Re: problem with compiling base.c

peter jurcovic <> writes:
> when I tried to compile the first simple example gtk program "base.c"
> from Gtk tutorial
> 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.

Your system is broken. A good way to avoid this is to use a
distribution with dependency tracking in the package system.


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