Compiling problem with gtk+-1.2.10



Hi ,

I try to compile gtk+-1.2.10 with glib-1.2.10. When entering the
direcory in gdk.
the following problem occured.
.............................................................................................................

-lXext -lX11 -lm -lc  -Wl,-soname -Wl,libgdk-1.2.so.0 -o
.libs/libgdk-1.2.so.0.9.1
/usr/lib/libgmodule.so(*ABS*+0x2c9c): multiple definition of `_DYNAMIC'
/skiff/local/arm-linux/lib/crti.o(.dynamic+0x0): first defined here
/usr/lib/libgmodule.so: In function `_init':
/usr/lib/libgmodule.so(.init+0x0): multiple definition of `_init'
/skiff/local/arm-linux/lib/crti.o(.init+0x0): first defined here
/usr/lib/libgmodule.so: In function `_fini':
/usr/lib/libgmodule.so(.fini+0x0): multiple definition of `_fini'
/skiff/local/arm-linux/lib/crti.o(.fini+0x0): first defined here
/usr/lib/libgmodule.so(*ABS*+0x2c18): multiple definition of
`_GLOBAL_OFFSET_TABLE_'
/skiff/local/arm-linux/lib/crti.o(.got.plt+0x0): first defined here
/usr/lib/libglib.so: In function `atexit':
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `_DYNAMIC'
/skiff/local/arm-linux/lib/crti.o(.dynamic+0x0): first defined here
/usr/lib/libglib.so: In function `_init':
/usr/lib/libglib.so(.init+0x0): multiple definition of `_init'
/skiff/local/arm-linux/lib/crti.o(.init+0x0): first defined here
/usr/lib/libglib.so: In function `atexit':
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `__bss_start'
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `_fini'
/skiff/local/arm-linux/lib/crti.o(.fini+0x0): first defined here
/usr/lib/libglib.so: In function `atexit':
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `_edata'
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `_GLOBAL_OFFSET_TABLE_'
/skiff/local/arm-linux/lib/crti.o(.got.plt+0x0): first defined here
/usr/lib/libglib.so: In function `atexit':
/tmp/22394-i386/BUILD/glibc-2.2.3/stdlib/atexit.c:33: multiple
definition of `_end'
collect2: ld returned 1 exit status
make[2]: *** [libgdk.la] Error 1
make[2]: Leaving directory `/home/midori/Gtk/gtk+-1.2.10/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/midori/Gtk/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2
------------------------------------------------------------------------------------------------------------

It looks like shared library problem. Actually, my
libXext(/skiff/local/lib/libXext.so.6)  is
not dynamic linking,  like
# ldd /skiff/local/arm-linux/lib/libXext.so.6
        not a dynamic executable

I think it may be wrong.  The XFree86 was compiled and installed in this
system before glib
and  gtk+ without problems. And  there seems to be the correct compiled
options like  -fPIC,
-shared within the Makefile.
All I think  would be wrong?
I don't know where and how I have to correct.   Would anyone help me?


Regards,

Doly





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