[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Trying to compile KDE 2 on HP-UX, need help
From:       "ZECHA,HOLGER \(HP-Germany,ex1\)" <holger_zecha () hp ! com>
Date:       2000-12-04 8:32:20
[Download RAW message or body]

Hello,

After a long long time, while I've been involved in some other projects I've
now some time left to compile KDE 2 on HP-UX.
During the compilation of kdesupport I get the following error:

++ -DDW_DEVELOPMENT_VERSION -DHAVE_CONFIG_H -I. -I. -D_REENTRANT -O2
-fno-excep
tions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Ww
rite-strings -Wno-long-long -fno-builtin -c binhex.cpp  -fPIC -DPIC -o
.libs/bin
hex.o
binhex.cpp:135: warning: `inline' is not at beginning of declaration
/bin/sh ../libtool --mode=link g++  -O2 -fno-exceptions -fno-check-new -Wall
-pe
dantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -f
no-builtin  -o libmimelib.la -rpath /opt/kde-2/lib -version-info 1:1
protocol.lo
 address.lo addrlist.lo body.lo bodypart.lo boyermor.lo datetime.lo
disptype.lo
dw_cte.lo dw_date.lo dw_mime.lo entity.lo field.lo fieldbdy.lo group.lo
headers.
lo mailbox.lo mboxlist.lo mechansm.lo mediatyp.lo message.lo msgcmp.lo
msgid.lo
nntp.lo param.lo pop.lo smtp.lo string.lo text.lo token.lo uuencode.lo
binhex.lo

** Warning: This library needs some functionality provided by
-L/opt/qt-2.2.1/l
ib.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lstdc++.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
g++ -shared -fPIC -Wl,+h -Wl,libmimelib.sl.1   .libs/protocol.o
.libs/address.o
.libs/addrlist.o .libs/body.o .libs/bodypart.o .libs/boyermor.o
.libs/datetime.o
 .libs/disptype.o .libs/dw_cte.o .libs/dw_date.o .libs/dw_mime.o
.libs/entity.o
.libs/field.o .libs/fieldbdy.o .libs/group.o .libs/headers.o .libs/mailbox.o
.li
bs/mboxlist.o .libs/mechansm.o .libs/mediatyp.o .libs/message.o
.libs/msgcmp.o .
libs/msgid.o .libs/nntp.o .libs/param.o .libs/pop.o .libs/smtp.o
.libs/string.o
.libs/text.o .libs/token.o .libs/uuencode.o .libs/binhex.o  -lm -lc   -o
.libs/l
ibmimelib.sl.1.1
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/ld: DP relative code in
file /o
pt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/libstdc++.a(iostream.o) -
shared
library must be position
    independent.  Use +z or +Z to recompile.
collect2: ld returned 1 exit status
make[3]: *** [libmimelib.la] Error 1
make[3]: Leaving directory `/opt/development/kdesupport-2.0/mimelib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/development/kdesupport-2.0/mimelib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/development/kdesupport-2.0'
make: *** [all-recursive-am] Error 2

But all my libraries I use are shared libraries. What kind of modification
do I have to do in the libtool script ?

Kindly regards

Holger
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic