Problems compiling application Gtk1.2
- From: Flavio Alberto Lopes Soares <flavio maqplas com br>
- To: GTK List <gtk-list gnome org>
- Subject: Problems compiling application Gtk1.2
- Date: Mon, 17 May 2004 14:04:03 -0300
Hello all,
I'm using Debian Unstable and some days ago I had a problem without
solution with a program that I make in last year, the interface program
was created by Glade, and now when I attempt to compile this I have
these messages :
flavio flavio:~/Projetos/ihmserial_$ make
make all-recursive
make[1]: Entrando no diretório `/home/flavio/Projetos/ihmserial_'
Making all in intl
make[2]: Entrando no diretório `/home/flavio/Projetos/ihmserial_/intl'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/flavio/Projetos/ihmserial_/intl'
Making all in po
make[2]: Entrando no diretório `/home/flavio/Projetos/ihmserial_/po'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/flavio/Projetos/ihmserial_/po'
Making all in macros
make[2]: Entrando no diretório `/home/flavio/Projetos/ihmserial_/macros'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/home/flavio/Projetos/ihmserial_/macros'
Making all in src
make[2]: Entrando no diretório `/home/flavio/Projetos/ihmserial_/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c ihmserial.c
ihmserial.c: In function `file_operation':
ihmserial.c:1049: warning: deprecated use of label at end of compound
statement
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c serial.c
serial.c: In function `abre_com':
serial.c:171: warning: implicit declaration of function `memset'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c interface.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g
-O2 -Wall -Wunused -c callbacks.c
gcc -g -O2 -Wall -Wunused -o ihmserial main.o support.o ihmserial.o
serial.o interface.o callbacks.o -rdynamic -L/usr/lib -L/usr/X11R6/lib
-rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
-lgmodule -ldl -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd
-laudiofile -lm -ldb-3 -lglib
/usr/lib/libgdk_imlib.so: undefined reference to `XShmDetach'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPixmapFormat'
/usr/X11R6/lib/libXi.so: undefined reference to `XextAddDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineRectangles'
/usr/lib/libgdk.so: undefined reference to `XShapeGetRectangles'
/usr/X11R6/lib/libXi.so: undefined reference to `XextFindDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineMask'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreateImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPutImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmAttach'
/usr/X11R6/lib/libXi.so: undefined reference to `XextCreateExtension'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryVersion'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryExtension'
/usr/X11R6/lib/libXi.so: undefined reference to `XextRemoveDisplay'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetEventBase'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreatePixmap'
/usr/X11R6/lib/libXi.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[2]: ** [ihmserial] Erro 1
make[2]: Saindo do diretório `/home/flavio/Projetos/ihmserial_/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/flavio/Projetos/ihmserial_'
make: ** [all-recursive-am] Erro 2
flavio flavio:~/Projetos/ihmserial_$ cd src
flavio flavio:~/Projetos/ihmserial_/src$ gcc -g -O2 -Wall -Wunused -o
ihmserial main.o support.o ihmserial.o serial.o interface.o callbacks.o
-rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11
-lgnome -lgnomesupport -lesd -laudiofile -lm -ldb-3 -lglib
/usr/lib/libgdk_imlib.so: undefined reference to `XShmDetach'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPixmapFormat'
/usr/X11R6/lib/libXi.so: undefined reference to `XextAddDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineRectangles'
/usr/lib/libgdk.so: undefined reference to `XShapeGetRectangles'
/usr/X11R6/lib/libXi.so: undefined reference to `XextFindDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineMask'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreateImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPutImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmAttach'
/usr/X11R6/lib/libXi.so: undefined reference to `XextCreateExtension'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryVersion'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryExtension'
/usr/X11R6/lib/libXi.so: undefined reference to `XextRemoveDisplay'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetEventBase'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreatePixmap'
/usr/X11R6/lib/libXi.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
flavio flavio:~/Projetos/ihmserial_/src$ gcc -g -O2 -Wall -Wunused -o
ihmserial main.o support.o ihmserial.o serial.o interface.o callbacks.o
-rdynamic -L/usr/lib -L/usr/X11R6 -rdynamic -lgnomeui -lart_lgpl
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11
-lgnome -lgnomesupport -lesd -laudiofile -lm -ldb-3 -lglib
/usr/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status
flavio flavio:~/Projetos/ihmserial_/src$ gcc -g -O2 -Wall -Wunused -o
ihmserial main.o support.o ihmserial.o serial.o interface.o callbacks.o
-rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -ldl -lXi -lXext -lX11
-lgnome -lgnomesupport -lesd -laudiofile -lm -ldb-3 -lglib
/usr/lib/libgdk_imlib.so: undefined reference to `XShmDetach'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPixmapFormat'
/usr/X11R6/lib/libXi.so: undefined reference to `XextAddDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineRectangles'
/usr/lib/libgdk.so: undefined reference to `XShapeGetRectangles'
/usr/X11R6/lib/libXi.so: undefined reference to `XextFindDisplay'
/usr/lib/libgdk.so: undefined reference to `XShapeCombineMask'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreateImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmPutImage'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmAttach'
/usr/X11R6/lib/libXi.so: undefined reference to `XextCreateExtension'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryVersion'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmQueryExtension'
/usr/X11R6/lib/libXi.so: undefined reference to `XextRemoveDisplay'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmGetEventBase'
/usr/lib/libgdk_imlib.so: undefined reference to `XShmCreatePixmap'
/usr/X11R6/lib/libXi.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
flavio flavio:~/Projetos/ihmserial_/src$ ls -l /usr/lib/libgdk_imlib.so
libgdk_imlib.so libgdk_imlib.so.1 libgdk_imlib.so.1.9.14
flavio flavio:~/Projetos/ihmserial_/src$ ls -l /usr/lib/libgdk_imlib.so*
lrwxrwxrwx 1 root root 22 2004-05-13 11:20
/usr/lib/libgdk_imlib.so -> libgdk_imlib.so.1.9.14
lrwxrwxrwx 1 root root 22 2003-10-14 18:27
/usr/lib/libgdk_imlib.so.1 -> libgdk_imlib.so.1.9.14
-rw-r--r-- 1 root root 141872 2003-10-14 12:16
/usr/lib/libgdk_imlib.so.1.9.14
flavio flavio:~/Projetos/ihmserial_/src$ ls -l /usr/lib/libgdk.so*
lrwxrwxrwx 1 root root 19 2004-05-14 15:54
/usr/lib/libgdk.so -> libgdk-1.2.so.0.9.1
flavio flavio:~/Projetos/ihmserial_/src$ ls -l /usr/X11R6/lib/libXi
libXi.a libXinerama_pic.a libXi.so.6
libXinerama.a libXi.so libXi.so.6.0
flavio flavio:~/Projetos/ihmserial_/src$ ls -l /usr/X11R6/lib/libXi.so*
lrwxrwxrwx 1 root root 10 2004-04-30 10:06
/usr/X11R6/lib/libXi.so -> libXi.so.6
lrwxrwxrwx 1 root root 12 2004-04-30 10:06
/usr/X11R6/lib/libXi.so.6 -> libXi.so.6.0
-rw-r--r-- 1 root root 28048 2004-04-28 15:23
/usr/X11R6/lib/libXi.so.6.0
flavio flavio:~/Projetos/ihmserial_/src$
I reinstalled many libs as examples libgtk-1.2-dev, xlibs-dev, etc and I
don't have solution for this
Someone have a solution
PS : this occurs with Gtk2 programs too.
Thanks for any help
--
Flavio Alberto Lopes Soares
flavio maqplas com br
MAQPLAS Indústria e Comércio de Máquinas LTDA
http://www.maqplas.com.br
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]