error when doing make build...
Julian Leyh <[email protected]> Tue, 21 Sep 2004 23:39:39 +0200
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Organization | NERV |
| Message-ID | <[email protected]> |
hi..
i tried to update the system from source.
when doing 'make build' in /usr/src it seems to do fine.
but at the compilation of the perl library i get following error:
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating makefile...
`sh cflags "optimize='-O2'" miniperlmain.o` -DPIC -fPIC miniperlmain.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include -O2 -Wall
/bin/sh config_h.SH
Extracting config.h (with variable substitutions)
`sh cflags "optimize='-O2'" perly.o` -DPIC -fPIC perly.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include -O2 -Wall
cc -o libperl.so.10.0 -shared -fPIC perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o -lm -lutil -lc
/usr/bin/ld: perl.o: relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC
perl.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/local/src/gnu/usr.bin/perl/obj (line 224 of Makefile).
*** Error code 1
Stop in /usr/local/src/gnu/usr.bin/perl (line 576 of /usr/local/src/gnu/usr.bin/perl/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/local/src/gnu/usr.bin.
*** Error code 1
Stop in /usr/local/src/gnu.
*** Error code 1
Stop in /usr/local/src.
*** Error code 1
Stop in /usr/local/src (line 72 of Makefile).
did i do something wrong?
if you need more information, please contact me.
cu
JRL
--
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.