[kde-solaris] 64 bit KDE

Stefan Teleman kde-solaris@mail.kde.org
Wed Feb 26 04:24:00 2003


try passing -I${WORKSHOP_ROOT}/include/CC/Cstd  to the compiler
and -lCrun -lCstd to the linker.

also check your compiler template flags. i use -instances=extern 
-template=wholeclass,extdef -verbose=template

On Tuesday 25 February 2003 17:25, Benjamin S Carrell wrote:
> Has anyone successfully compiled kde in 64 bits (using
> -xarch=v9(a/b)?  I am compiling kde with Sun Workshop 5 on an Ultra
> 60 running Solaris 8. Compiling arts fails during the linking of
> mcop.  From the errors, it looks like it doesn't see the C
> libraries.  When adding the flag -L/usr/lib/sparcv9, it still fails
> with the same error, so if anyone has some insight to help me, I
> would appreciate it.
>
>
> Thanks,
> Ben Carrell
>
>
>
> The error follows:
>
> make  all-recursive
> Making all in libltdl
> Making all in mcop
> /bin/bash ../libtool --silent --mode=link --tag=CXX CC  -fast
> -xarch=v9a -o libmcop.la -rpath /opt/build/src/kde/lib
> -no-undefined -version-info 1:0 buffer.lo connection.lo core.lo
> dispatcher.lo  iomanager.lo object.lo socketconnection.lo
> tcpconnection.lo  unixconnection.lo tcpserver.lo unixserver.lo
> objectmanager.lo  factory.lo idlfilereg.lo ifacerepo_impl.lo
> mcoputils.lo  startupmanager.lo md5.lo md5auth.lo referenceclean.lo
> datapacket.lo asyncstream.lo notification.lo flowsystem.lo
> extensionloader.lo tmpglobalcomm.lo mcopconfig.lo connect.lo 
> reference.lo type.lo trader_impl.lo dynamicrequest.lo anyref.lo 
> loopback.lo debug.lo delayedreturn.lo thread.lo  dynamicskeleton.lo
> -lsocket  -lnsl ../libltdl/libltdlc.la
> CC: Warning: Option -zdefs passed to ld, if ld is invoked, ignored
> otherwise Undefined                       first referenced
>  symbol                             in file
> std::basic_ostream<char,std::char_traits<char>
>
> >&std::operator<<(std::basic_ostream<char,std::char_traits<char>
> > >&,const
>
> char*) .libs/dispatcher.o
> std::__RTTI__1nDstdJbad_alloc_
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o [Hint: static member std::__RTTI__1nDstdJbad_alloc_
> should be defined in the program ,see Annotated Reference Manual
> (ARM) Section 9.4]
>
> std::basic_ostream<char,std::char_traits<char>
>
> >&std::basic_ostream<char,std::char_traits<char>
> >
> >::operator<<(std::basic_ostream<char,std::char_traits<char>
> >
> >&(*)(std::basic_ostream<char,std::char_traits<char> >&))
> > .libs/dispatcher.o
>
> std::basic_ifstream<char,std::char_traits<char>
> >::basic_ifstream(const char*,int,long) .libs/mcopconfig.o
> std::exception::__vtbl          .libs/buffer.o
> [Hint: try checking whether the first non-inlined, non-pure virtual
> function of class std::exception is defined]
>
> std::__RTTI__1nDstdMlength_error_
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: static member
> std::__RTTI__1nDstdMlength_error_ should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::ios_base::__sync_with_stdio .libs/dispatcher.o
> [Hint: static member std::ios_base::__sync_with_stdio should be
> defined in the program ,see Annotated Reference Manual (ARM)
> Section 9.4]
>
> std::__RTTI__1nDstdLlogic_error_
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_p/p5sENCG
>tegVU0sKcQaPp.o [Hint: static member
> std::__RTTI__1nDstdLlogic_error_ should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::__RTTI__1nDstdIios_baseHfailure_
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o [Hint: static member
> std::__RTTI__1nDstdIios_baseHfailure_ should be defined in the
> program ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::out_of_range::__vtbl
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: try checking whether the first non-inlined,
> non-pure virtual function of class std::out_of_range is defined]
>
> std::basic_ostream<char,std::char_traits<char>
>
> >&std::basic_ostream<char,std::char_traits<char> >::put(char)
>
> .libs/dispatcher.o
> bool __Crun::ex_skip()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o std::logic_error::__vtbl
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: try checking whether the first non-inlined,
> non-pure virtual function of class std::logic_error is defined]
>
> std::logic_error::~logic_error()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_p/p5sENCG
>tegVU0sKcQaPp.o void __Crun::ex_chk_unexpected()  .libs/buffer.o
> std::__RTTI__1nDstdMout_of_range_
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: static member
> std::__RTTI__1nDstdMout_of_range_ should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::ctype<char>::id
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o [Hint: static member std::ctype<char>::id should be
> defined in the program ,see Annotated Reference Manual (ARM)
> Section 9.4]
>
> std::basic_ifstream<char,std::char_traits<char>
> >::~basic_ifstream() .libs/mcopconfig.o
> __rwstd::__rwse_PosBeyondEndOfString
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_b/b1S-7D0
>77O3P1zsrEWjW.o [Hint: static member
> __rwstd::__rwse_PosBeyondEndOfString should be defined in the
> program ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >::__nullref
>
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: static member
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >::__nullref should be defined in the program ,see Annotated
> >:: Reference Manual
>
> (ARM) Section 9.4]
>
> __rwstd::rwse_failbit_set
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o [Hint: static member __rwstd::rwse_failbit_set
> should be defined in the program ,see Annotated Reference Manual
> (ARM) Section 9.4]
>
> void operator delete(void*)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o
> __rwstd::except_msg_string::except_msg_string(unsigned,...)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o __rwstd::__rwse_InvalidSizeParam
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_5/5rzwEGm
>wS99KqhWQ10rr.o [Hint: static member
> __rwstd::__rwse_InvalidSizeParam should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> void __Crun::pure_error()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_4/4nYx58p
>yjMbzoGbb1OlA.o void __Crun::ex_clean()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o std::bad_alloc::__vtbl
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o [Hint: try checking whether the first non-inlined,
> non-pure virtual function of class std::bad_alloc is defined]
>
> __rwstd::facet_imp*std::locale::__make_explicit(const
> std::locale::id&,bool,int,__rwstd::facet_imp*(*)(int,const
> char*,unsigned long))const
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o __rwstd::__rwse_ResultLenInvalid
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: static member
> __rwstd::__rwse_ResultLenInvalid should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> void*operator new[](unsigned long)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o void __Crun::ex_rethrow()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o void __Crun::ex_rethrow_q()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >&std::basic_string<char,std::char_traits<char>,std::allocator<char
> >>
> >
> >::operator=(const
>
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >&)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_X/X3EcUZm
>3_9b1c2S3ESyy.o std::cerr                      .libs/dispatcher.o
> [Hint: static member std::cerr should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::cout                      .libs/dispatcher.o
> [Hint: static member std::cout should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::logic_error::~logic_error #Nvariant 1()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o std::ctype<char>::ctype(const
> std::ctype_base::mask*,bool,unsigned long)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o std::length_error::~length_error()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o std::basic_ostream<char,std::char_traits<char>
>
> >&std::basic_ostream<char,std::char_traits<char>
> > >::operator<<(long)
>
> .libs/dispatcher.o
> void
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >::__clone() .libs/dispatcher.o
>
> __rwstd::__rwse_UnexpectedNullPtr
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_p/p5sENCG
>tegVU0sKcQaPp.o [Hint: static member
> __rwstd::__rwse_UnexpectedNullPtr should be defined in the program
> ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >::basic_string(const char*,const std::allocator<char>&)
>
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o __rwstd::rwse_badbit_set
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o [Hint: static member __rwstd::rwse_badbit_set should
> be defined in the program ,see Annotated Reference Manual (ARM)
> Section 9.4]
>
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >&std::basic_string<char,std::char_traits<char>,std::allocator<char
> >>
> >
> >::append(const
>
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >&) .libs/buffer.o
> std::basic_ostream<char,std::char_traits<char>
>
> >&std::basic_ostream<char,std::char_traits<char> >::flush()
>
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o std::out_of_range::~out_of_range()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o std::ios_base::failure::~failure()
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o void __Crun::ex_throw(void*,const
> __Crun::static_type_info*,void(*)(void*))
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o std::ios_base::failure::failure(const
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >&)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o __rwstd::rwse_eofbit_set
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o [Hint: static member __rwstd::rwse_eofbit_set should
> be defined in the program ,see Annotated Reference Manual (ARM)
> Section 9.4]
>
> void operator delete[](void*)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o __rwstd::__rwse_StringIndexOutOfRange
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: static member
> __rwstd::__rwse_StringIndexOutOfRange should be defined in the
> program ,see Annotated Reference Manual (ARM) Section 9.4]
>
> std::ctype_byname<char>::ctype_byname(const char*,unsigned long)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_T/TTuPlkk
>gUghUzDFgT3z_.o
> std::basic_string<char,std::char_traits<char>,std::allocator<char>
>
> >&std::basic_string<char,std::char_traits<char>,std::allocator<char
> >>
> >
> >::operator=(const char*)
>
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_F/F_1Ub_m
>wLtlUChbIOZLN.o std::length_error::__vtbl
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_t/tytnl9w
>oOG7-SBHhvYfl.o [Hint: try checking whether the first non-inlined,
> non-pure virtual function of class std::length_error is defined]
>
> void*operator new(unsigned long)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o void std::vector<bool,std::allocator<bool>
>
> >::__insert_aux(std::vector<bool,std::allocator<bool>
> >:: >::iterator,bool)
>
> .libs/buffer.o
> void*__Crun::ex_alloc(unsigned long)
> /opt/build/src/kde/arts-1.1/mcop/.libs/SunWS_cache/CC_obj_C/CM_Spo8
>A_isexdMcHmI8.o ld: fatal: Symbol referencing errors. No output
> written to .libs/libmcop.so.1.0.0
> *** Error code 1
> make: Fatal error: Command failed for target `libmcop.la'
> Current working directory /opt/build/src/kde/arts-1.1/mcop
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /opt/build/src/kde/arts-1.1
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management: 
> http://mail.kde.org/mailman/listinfo/kde-solaris. Archives:
> http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman@nyc.rr.com                          -Monty Python