From kde-solaris Fri Sep 14 12:57:25 2001 From: Vladimir Annenkov Date: Fri, 14 Sep 2001 12:57:25 +0000 To: kde-solaris Subject: Re: [kde-solaris] Compiling KOffice X-MARC-Message: https://marc.info/?l=kde-solaris&m=100047222716444 On Friday 14 September 2001 07:48 am, Mathias Waack wrote: > Hi all, > > I'v got a problem compiling koffice (from CVS tagged > KOFFICE_1_1_RELEASE) > > c++ -shared -nostdlib > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o > /usr/ccs/lib/values-Xa.o > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtbegin.o > .libs/kivio_canvas.o .libs/kivio_doc.o .l > <------------ snip --------------------------> > -Wl,-h -Wl,libkiviopart.so -o .libs/libkiviopart.so > Text relocation remains referenced > against symbol offset in file > _PyUnicode_IsLinebreak 0x630 > /usr/local/lib/python2.1/config/libpython2.1.a(_sre.o) > _PyUnicode_IsLinebreak 0x47e0 > /usr/local/lib/python2.1/config/libpython2.1.a(unicodeobject.o) > _PyUnicode_IsLinebreak 0x624 > /usr/local/lib/python2.1/config/libpython2.1.a(_sre.o) > init_exceptions 0x1f0 > /usr/local/lib/python2.1/config/libpython2.1.a(pythonrun.o) > closedir 0x8dc > /usr/local/lib/python2.1/config/libpython2.1.a(posixmodule.o) > closedir 0x954 > /usr/local/lib/python2.1/config/libpython2.1.a(posixmodule.o) > <--------------- snip -----------------------> > 0xa8 > /usr/local/lib/python2.1/config/libpython2.1.a(marshal.o) > 0x8 > /usr/local/lib/python2.1/config/libpython2.1.a(listobject.o) > 0x4 > /usr/local/lib/python2.1/config/libpython2.1.a(listobject.o) > 0x15c > /usr/local/lib/python2.1/config/libpython2.1.a(_sre.o) > ld: fatal: relocations remain against allocatable but non-writable > sections > collect2: ld returned 1 exit status > make[2]: *** [libkiviopart.la] Error 1 > make[2]: Leaving directory > `/export/q_opt/kde2.2cvs/koffice/kivio/kiviopart' > > Anybody knows whats going wrong here? > > BTW all other parts of koffice compile without problems. > Sun's "ld -h" may not mean the same thing as GNU ld -h. GNU ld "-h" is equivalent to "-soname". You could either wrestle with the Makefile or temporarily hide /usr/ccs/bin/ld and link to GNU ld for this build. ___________________________________________________ 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.