compile problem on Solaris



Greetings,

I'm having problems compiling ORBit2 on Solaris.  I'm attempting 2.13.2,
on the following machine:

# uname -srmpi 
SunOS 5.9 sun4u sparc SUNW,Sun-Blade-1500

If additional information about my system is needed to debug, please
inform.


Here is the output of make (GNU make 3.80):

Making all in name
make[4]: Entering directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/services/name'
make  all-am
make[5]: Entering directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/services/name'
/bin/bash ../../../libtool --mode=link gcc  -Werror-implicit-function-declaration -std=gnu89 -g -O2   -o name-client-2  name-client.o name-support.o ../../../src/orb/libORBit-2.la libORBitCosNaming-2.la -lm -threads -L/store/snacks/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -liconv   -lnsl -lsocket -lresolv -lnsl -lsocket 
gcc -Werror-implicit-function-declaration -std=gnu89 -g -O2 -o .libs/name-client-2 name-client.o name-support.o -threads  ../../../src/orb/.libs/libORBit-2.so -L/store/snacks/lib -L/store/lib -L/usr/openwin/lib ./.libs/libORBitCosNaming-2.so /ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/orb/.libs/libORBit-2.so -lpopt -lm /store/snacks/lib/libgobject-2.0.so /store/snacks/lib/libgthread-2.0.so /store/snacks/lib/libgmodule-2.0.so -ldl /store/snacks/lib/libglib-2.0.so /store/snacks/lib/libiconv.so -lresolv -lnsl -lsocket -R/usr/local/lib -R/store/snacks/lib
ld: warning: file /ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/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 `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/services/name'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/services/name'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src/services'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ifi/fenris/q00/steinab/snacks/ORBit2-2.13.2'
make: *** [all] Error 2


I've seen some reports of the same problem on the web, for example

<URL: http://www.unixgroups.com/showthread.php?t=48407&goto=nextoldest >

No solution has been offered.

The same occurs on a number of different versions lower than this one.
The highest version to successfully compile is 2.7.0.  I seem to need at
least 2.9.2, although the latest release would naturally be preferred.



Any ideas?


TIA, Steinar B.


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