Bug 35809

Summary: dbsearengine module does not compile correctly without libtool modification.
Product: kbabel Reporter: moisha
Component: generalAssignee: Stanislav Visnovsky <visnovsky>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description moisha 2001-12-05 17:10:32 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kbabel
Version:           KDE 2.2.2 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          8
OS:                Solaris
OS/Compiler notes: gcc 2.95.2  ld (standard /usr/ccs/bin)

The compile of libdb.a into the module requires -mimpure-text be passed to gcc in order to be compiled correctly.  Otherwise the following error occurs:

ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [libdbsearchengine.la] Error 1
make[1]: Leaving directory `/home/mveygman/kde/2.2.2/kdesdk-2.2.2/kbabel/kbabeldict/modules/dbsearchengine'
make: *** [all-recursive] Error 1


(Submitted via bugs.kde.org)
Comment 1 Stanislav Visnovsky 2002-03-11 12:31:07 UTC
It should work now (at least using gcc 2.95.3).

Stanislav