1824078 Members
2751 Online
109668 Solutions
New Discussion юеВ

Perl 5.8.8 make errors.

 
Patrick Ware_1
Super Advisor

Perl 5.8.8 make errors.

I am attmpting to compile perl 5.8.8 on an Itanium 11.23 system. I did the configure, and went to do the make, and here is what the make errors out on below. Can anyone point me in the right direction?


ld: Unsatisfied symbol "Perl_newSViv" in file C.o
ld: Unsatisfied symbol "_memcpy" in file C.o
ld: Unsatisfied symbol "Perl_safesysmalloc" in file C.o
ld: Unsatisfied symbol "Perl_Tstack_sp_ptr" in file C.o
ld: Unsatisfied symbol "Perl_sv_setiv" in file C.o
ld: Unsatisfied symbol "Perl_sv_setref_iv" in file C.o
ld: Unsatisfied symbol "Perl_sv_free" in file C.o
ld: Unsatisfied symbol "Perl_form" in file C.o
ld: Unsatisfied symbol "Perl_hv_store_ent" in file C.o
ld: Unsatisfied symbol "Perl_get_hv" in file C.o
ld: Unsatisfied symbol "Perl_get_sv" in file C.o
ld: Unsatisfied symbol "Perl_Tmarkstack_ptr_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Iregex_pad_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Irunops_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Isv_yes_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Ttainted_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Top_ptr" in file C.o
ld: Unsatisfied symbol "Perl_despatch_signals" in file C.o
ld: Unsatisfied symbol "Perl_Tstack_base_ptr" in file C.o
ld: Unsatisfied symbol "Perl_Gthr_key_ptr" in file C.o
ld: Unsatisfied symbol "strcmp" in file C.o
ld: Unsatisfied symbol "Perl_Isig_pending_ptr" in file C.o
ld: Unsatisfied symbol "pthread_getspecific" in file C.o
ld: Unsatisfied symbol "Perl_sv_2pv_flags" in file C.o
ld: Unsatisfied symbol "Perl_croak" in file C.o
25 errors.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Perl 5.8.8 make errors.

This seems bogus. _memcpy and strcmp are in libc.so.1.

Where are the other symbols defined? You can search with:
$ nm -pxAN *.o *.a *.so | fgrep -e Perl_newSViv
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.8 make errors.

What compiler did you use?

What arguments did you pass to Configure?

/3gl/CPAN/perl-current 102 > grep -i -e cc.*version -e ccflags -e ld.*fla
gs -e config_ config.sh
ccflags='-D_POSIX_C_SOURCE=199506L -D_REENTRANT -milp32 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion=''
gccversion='4.2.1'
lddlflags='-b -L/usr/lib/hpux32 -L/pro/local/lib'
ldflags='-L/usr/lib/hpux32 -L/pro/local/lib'
ldflags_uselargefiles=''
yaccflags=''
config_arg0='./Configure'
config_args='-des -Dcc=gcc -Dusedevel -Duseithreads'
config_argc=4
config_arg1='-des'
config_arg2='-Dcc=gcc'
config_arg3='-Dusedevel'
config_arg4='-Duseithreads'
PERL_CONFIG_SH=true
toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'

Somehow I fear a C++ compiler. I don't know why :)

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Patrick Ware_1
Super Advisor

Re: Perl 5.8.8 make errors.

I installed the ANSIC compiler, but I don't think the "make" command is sourcing it.

root@server:/root> which make
/usr/bin/make
root@server:/root> ll /usr/bin/make
lr-xr-xr-t 1 root sys 17 Sep 20 10:49 /usr/bin/make -> /usr/ccs/bin/make

What should I be sourcing? This?:

/opt/ansic/bin/cc

H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.8 make errors.

HP C-ANSI-C is good!
HP's make is not, but you should be able to use it.

'make' is not the compiler, it is just a `tool' to build something based on a set of rules as described in a Makefile.
The Makefile for perl is generated by Makefile.SH which is controlled by Configure.

So, can you issue the command I used, and show me the output?

BTW any reason you want to build perl yourself instead of using one of the many good prebuilt binaries?

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Patrick Ware_1
Super Advisor

Re: Perl 5.8.8 make errors.

I am wanting to install Perl DBI DBD for Oracle, and DBD for mysql. If you have a better way, than by all means, feel free to share. :)
Tim Nelson
Honored Contributor

Re: Perl 5.8.8 make errors.

This is just a curiosity...

Why don't you just use the perl 5.8.8 delivered already compiled by HP ? (software.hp.com)
Save your time to work out the issues with compiling the DBI modules ?

Patrick Ware_1
Super Advisor

Re: Perl 5.8.8 make errors.

It's been so long since I've had to install this, that I am a little out of touch. If it has all that included, then that is what I will do. Where is it at?
H.Merijn Brand (procura
Honored Contributor

Re: Perl 5.8.8 make errors.

It should be on your Application CD/DVD's, but you can also get it for free on the official HP website:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

I think it already includes DBI

if you get a depot, make sure it is not compressed anymore, put it in e.g. /tmp, and issue

# swinstall -s /tmp/pelr0name-you-got.sd

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn