Operating System - HP-UX
1830031 Members
2501 Online
109998 Solutions
New Discussion

Make error on gv.c for perl 5.8 Perl_amagic_call copy undeclared.

 
Kevin Hansen
Advisor

Make error on gv.c for perl 5.8 Perl_amagic_call copy undeclared.

I've been trying to build perl from the stable sources at cpan for about a week now. I know hp has a depot and procura has some binaries as well but I'm stubborn I guess. I'v got this to work about 2 weeks ago, It took alot of trial and error but I finally got it , even got dbi and dbd oracle to work. For some stupid reason I decided to try to rebuild the whole thing hoping it would be a little happier going on the second time applying the lessons from the first exercise. What a stupid stupid thing to do. Please take a look and offer up any advice. I'm at the end of my rope tying a noose.
Makefile is attached: Other tidbits below.
HP-UX hpapp02 B.11.11 U 9000/800 191424696 unlimited-user license

`sh cflags "optimize=''" gv.o` gv.c
# make > /tmp/make.err
CCCMD = gcc -DPERL_CORE -c -D_XOPEN_SOURCE_EXTENDED -D_HPUX_SOURCE -D_INCLUDE_HPUX_SOURCE -D_INCLUDE_XOPEN_SOURCE_EXTENDED -D_LARGEFILE_SOURCE -Wall
gv.c: In function `Perl_amagic_call':
gv.c:1693: error: `copy' undeclared (first use in this function)
gv.c:1693: error: (Each undeclared identifier is reported only once
gv.c:1693: error: for each function it appears in.)
gv.c:1693: error: parse error before "_amg"
make: *** [gv.o] Error 1

PATH=/u01/app/oracle/product/8.1.7/bin:/opt/perl:.:/usr/local/bin:/usr/local/hppa1.1-hp-hpux11.00/bin:/usr/sbin:/usr/bin:/usr/contrib/bin:/opt/mx/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/sbin:

# gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/specs
Configured with: ../gcc/configure --enable-languages=c,c++ --host=hppa1.1-hp-hpux11.00 --target=hppa1.1-hp-hpux11.00 --with-ld=/usr/ccs/bin/ld --with-gnu-as --enable-libstdcxx-v3 --disable-checking
Thread model: single
gcc version 3.2 20020708 (experimental)

# which make
/usr/local/bin/make
# which ld
/usr/bin/ld