I tried to compile the program "pybliographer" under hp-ux. I get the
following warning,
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** 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.
(some compiling output)
Followed by the error message
gcc -fpic -I/user/developr/pybliographer-1.0.0/compiled/../bibtex
-I/opt/glib/lib/glib/include -I/opt/glib/include -I/opt/recode/include
-I.. -g -O2 -I/user/developr/python/include/python1.5
-I/user/developr/python/include/python1.5 -DHAVE_CONFIG_H -c
/user/developr/pybliographer-1.0.0/compiled/bibtexmodule.c
ld -b bibtexmodule.o ../bibtex/.libs/libbibtex.a -L/opt/glib/lib
-lglib -L/opt/recode/lib -lrecode ../intl/libintl.a -o
_bibtexmodule.sl
ld: DP relative code in file ../bibtex/.libs/libbibtex.a(bibtex.o) -
shared library must be position
independent. Use +z or +Z to recompile.
gmake[2]: *** [_bibtexmodule.sl] Error 1
I could't find a compiler option +z or +Z for gcc
Is there anyone who could explain to me what's going wrong ?
I appreciate any help
Regards
Frank
I suppose you should be investigating whether this package has any HPUX version
dependencies, whether it expects you to use gcc built --with-gnu-as or using
the HPUX as, whether your message is simply a warning or is preventing further
progress...
Tim Prince
tpr...@computer.org
Didn't I already answer a similar question this morning? :-)
+z = -fpic
+Z = -fPIC
PIC = position independant code
Best regards,
Lutz
--
Lutz Jaenicke Lutz.J...@iee.TU-Berlin.DE
TU Berlin http://www.iee.TU-Berlin.DE/personen/jaenicke/
Institut fuer Elektrische Energietechnik Tel. +49 30 314-24552
Einsteinufer 11, D-10587 Berlin Fax. +49 30 314-21133