[omniORB] RE: [omniNotify] OmniNotify build troubles on SPARC/Solaris 2.6.

Robert E. Gruber gruber@research.att.com
Mon, 12 Feb 2001 11:21:44 -0500


I have been using Sun's CC to do the Solaris builds.  I will check whether I
can duplicate your problem using g++ (which we use successfully on Linux
boxes).

-- Bob


-----Original Message-----
From: owner-omninotify-list@uk.research.att.com
[mailto:owner-omninotify-list@uk.research.att.com]On Behalf Of Rob van
der Leek
Sent: Friday, February 09, 2001 5:49 AM
To: omniorb-list@uk.research.att.com;
omninotify-list@uk.research.att.com
Subject: [omniNotify] OmniNotify build troubles on SPARC/Solaris 2.6.


Hello list,

I'm having trouble building OmniNotify1.1beta on SPARC/Solaris 2.6. I
have build OmniORB 3.02 succesfully on the same host. This is the make
output:

+ g++ -shared -Wl,-h,libCOSNotifyBOA3.so.0 -o
shared/libCOSNotifyBOA3.so.0.2 -L.
./../../../lib/sun4_sosV_5.6 shared/corba_wrappers_impl.o
shared/RDIDebug.o shar
ed/RDITime.o shared/Filter_i.o shared/FilterAdmin_i.o
shared/RDITypeMap.o shared
/RDIFileSys.o shared/RDIConfig.o shared/RDIFileIO.o shared/RDILog.o
shared/RDIPa
rser_y.o shared/RDIParser_l.o shared/RDIRVM.o shared/RDIEval.o
shared/RDIStaticE
val.o shared/RDIDynamicEval.o shared/RDIConstraint.o shared/RDIOpSeq.o
shared/Ch
annelAdmin_i.o shared/ProxyConsumer.o shared/EventChannel_i.o
shared/ProxySuppli
er.o shared/RDIChannelUtil.o shared/RDIEventQueue.o
shared/CosEventProxy.o share
d/CosNotification.o shared/omniNotify.o shared/RDIOplocks.o
shared/CosNotificati
onDynSK.o shared/TimeBaseDynSK.o shared/RDITestTypesDynSK.o -lomniORB3
-lomniDyn
amic3 -ltcpwrapGK -lomnithread -lpthread -lposix4 -lsocket -lnsl
Text relocation remains                         referenced
    against symbol                  offset      in file
istream::get(char *, int, char)     0x2304
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iostream.o)
istream::get(char *, int, char)     0x237c
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iostream.o)
ostream::flush(void)                0x38
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(osform.o)
ostream::flush(void)                0x19c
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iostream.o)
ostream::flush(void)                0x23c
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iostream.o)
ostream::flush(void)                0x2f0
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iostream.o)
...
...
...
<unknown>                           0x81c
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iovfprintf.o)
<unknown>                           0x818
/usr/local/lib/gcc-lib/sparc-sun
-solaris2.5.1/2.95.1/libstdc++.a(iovfprintf.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
make[1]: *** [shared/libCOSNotifyBOA3.so.0.2] Error 1

I've never seen such a link error, is it a misconfiguration at my side?
Hope someone can clarify it to me.

Host properties are:
$ uname -a
SunOS atlantis 5.6 Generic_105181-23 sun4u sparc

$ g++ --version
2.95.1

$ ld --version
ld version 2.7 (with BFD 2.7)

TIA, rob.

------------------------------------------------------------------------
To unsubscribe, send a message to majordomo@uk.research.att.com
with the line (in the message body): unsubscribe omninotify-list
See: http://www.research.att.com/~ready/omniNotify/nfy_keep_in_touch.html
------------------------------------------------------------------------