Problem building libORBit-2 on Solaris8 (sun4u) with gcc
- From: Michael Leimenmeier <michael leimenmeier vodafone com>
- To: orbit-list gnome org
- Subject: Problem building libORBit-2 on Solaris8 (sun4u) with gcc
- Date: Mon, 04 Apr 2005 12:33:59 +0200
Hi folks,
I try to build ORBit-2 on a Sun Ultra 10 with gcc, but when it comes to
linking the services/name misses Symbols from the other libs in the
ORBit package, like the giop_* Symbols and other.
My guess is that these symbols should be linked to libORBit-2.so too,
but I don't have a reference system to look at. )-:
Please forgive me if the same problem has been discussed before or if
I'm too dumb to see the trees in the forest. (:
The used tools are the gcc in combination with the Solaris Linker.
The same error is although with ORBit-2.2.12.0 which was a default for
garnome.
--- snip ---
Making all in services
make[3]: Entering directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services'
Making all in name
make[4]: Entering directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services/name'
make all-am
make[5]: Entering directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services/name'
/bin/bash ../../../libtool --mode=link gcc -g -O2 -o name-client-2
name-client.o name-support.o ../../../src/orb/libORBit-2.la
libORBitCosNaming-2.la -lm -L/opt/VFD2tools/gnome2.0/lib -lglib-2.0
-lnsl -lsocket -lresolv -lnsl -lsocket
gcc -g -O2 -o .libs/name-client-2 name-client.o
name-support.o ../../../src/orb/.libs/libORBit-2.so
-L/opt/VFD2tools/gnome2.0/lib -L/usr/X11R6/lib
-L/usr/ucblib ./.libs/libORBitCosNaming-2.so /kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/orb/.libs/libORBit-2.so /opt/VFD2tools/gnome2.0/lib/libgmodule-2.0.so -ldl /opt/VFD2tools/gnome2.0/lib/libpopt.so /opt/VFD2tools/gnome2.0/lib/libgobject-2.0.so /opt/VFD2tools/gnome2.0/lib/libgthread-2.0.so -lm /opt/VFD2tools/gnome2.0/lib/libglib-2.0.so -lresolv -lnsl -lsocket -R/opt/VFD2tools/gnome2.0/lib
ld: warning:
file /kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/orb/.libs/libORBit-2.so: linked to ../../../src/orb/.libs/libORBit-2.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
giop_thread_request_push ../../../src/orb/.libs/libORBit-2.so
giop_thread_key_add ../../../src/orb/.libs/libORBit-2.so
giop_thread_same_key ../../../src/orb/.libs/libORBit-2.so
giop_shutdown ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_use_locate_reply ../../../src/orb/.libs/libORBit-2.so
giop_thread_self ../../../src/orb/.libs/libORBit-2.so
giop_thread_new_check ../../../src/orb/.libs/libORBit-2.so
ORBit_option_parse ../../../src/orb/.libs/libORBit-2.so
giop_thread_get_main ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_use_reply ../../../src/orb/.libs/libORBit-2.so
giop_thread_request_push_key ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_write ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_unuse ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_unuse ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_align ../../../src/orb/.libs/libORBit-2.so
ORBit_genuid_init ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_get ../../../src/orb/.libs/libORBit-2.so
giop_thread_set_main_handler ../../../src/orb/.libs/libORBit-2.so
giop_init ../../../src/orb/.libs/libORBit-2.so
giop_connection_get_type ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_use_encaps ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_get_objkey ../../../src/orb/.libs/libORBit-2.so
giop_thread_key_release ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_get_opname ../../../src/orb/.libs/libORBit-2.so
CORBA_Policy_destroy ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_use_encaps_buf ../../../src/orb/.libs/libORBit-2.so
giop_thread_io ../../../src/orb/.libs/libORBit-2.so
giop_recv_list_setup_queue_entry_async ../../../src/orb/.libs/libORBit-2.so
giop_recv_list_setup_queue_entry ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_use ../../../src/orb/.libs/libORBit-2.so
giop_main_run ../../../src/orb/.libs/libORBit-2.so
giop_version_ids ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_append_string ../../../src/orb/.libs/libORBit-2.so
giop_server_new ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_append ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_append_aligned ../../../src/orb/.libs/libORBit-2.so
ORBit_sequence_CORBA_octet_dup ../../../src/orb/.libs/libORBit-2.so
ORBit_genuid_buffer ../../../src/orb/.libs/libORBit-2.so
giop_recv_list_destroy_queue_entry ../../../src/orb/.libs/libORBit-2.so
giop_send_buffer_use_request ../../../src/orb/.libs/libORBit-2.so
giop_recv_buffer_get_request_id ../../../src/orb/.libs/libORBit-2.so
giop_recv_set_limit ../../../src/orb/.libs/libORBit-2.so
ORBit_Policy_new ../../../src/orb/.libs/libORBit-2.so
giop_connection_initiate ../../../src/orb/.libs/libORBit-2.so
giop_connection_try_reconnect ../../../src/orb/.libs/libORBit-2.so
ld: fatal: Symbol referencing errors. No output written
to .libs/name-client-2
collect2: ld returned 1 exit status
make[5]: *** [name-client-2] Error 1
make[5]: Leaving directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services/name'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services/name'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src/services'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/kias/devel/src/garnome-2.8.2.1/platform/ORBit2/work/main.d/ORBit2-2.12.1'
make: *** [all] Error 2
--- snap ---
Sorry again if I missed any vital information, but it's my first post on
a mailing list, so please be merciful with any mistakes I've made. (-:
Thanx a lot in advance!
Greetings,
Lemmy.
--
Michael Leimenmeier <michael leimenmeier vodafone com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]