I am trying to link against the DynaLoader.a library and get relocation errors.
Is the library created without -KPIC or -fPIC ?
Text relocation remains referenced
against symbol offset in file
<unknown> 0x9
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
my_cxt 0x16
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
my_cxt 0x1d
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
<unknown> 0x22
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/DynaLoader/DynaLoader.a(DynaLoader.o)
The version I use is:
pkginfo -l SUNWperl584core
PKGINST: SUNWperl584core
NAME: Perl 5.8.4 (core)
CATEGORY: system
ARCH: i386
VERSION: 11.11,REV=2007.08.24.14.15
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Perl 5.8.4 programming language (core)
PSTAMP: elpaso20070824141945
INSTDATE: Oct 14 2007 11:38
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 567 installed pathnames
20 shared pathnames
1 linked files
115 directories
38 executables
9193 blocks used (approx)
Thank you
Markus
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]