From: Davi F. <da...@li...> - 2001-01-09 12:00:42
|
Aí, André, fiz o que você me passou, mas não deu muito resultado não, pelo menos eu acho ehehe. --- [davi@dewey lc_gtk]$ gdb linuxcall GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux"... (gdb) bt No stack. (gdb) q [davi@dewey lc_gtk]$ --- Quando eu tento compilar dá o seguinte erro: --- [davi@dewey lc_gtk]$ make clean rm -f *.o rm -f linuxcall [davi@dewey lc_gtk]$ make cc -g -Wall -O2 -Wunused -Wmissing-prototypes -Wmissing-declarations -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -c -o interface.o interface.c cc -g -Wall -O2 -Wunused -Wmissing-prototypes -Wmissing-declarations -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -c -o work.o work.c gcc -g -Wall -O2 -Wunused -Wmissing-prototypes -Wmissing-declarations -I/usr/include -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lX11 -lImlib -lart_lgpl work.o interface.o -o linuxcall /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: ** [linuxcall] Erro 1 [davi@dewey lc_gtk]$ --- Abraços, --- Davi Tavares Ferreira |