Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broblem by compiling perl5 #487

p5pRT opened this issue Sep 7, 1999 · 1 comment

Broblem by compiling perl5 #487

p5pRT opened this issue Sep 7, 1999 · 1 comment


Copy link

p5pRT commented Sep 7, 1999

Migrated from (status was 'resolved')

Searchable as RT1329$

Copy link

p5pRT commented Sep 7, 1999


This is my configuration

root@​tws-83​:/tmp/perl5.005_03 # ./myconfig
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  osname=hpux, osvers=10.20, archname=PA-RISC1.1
  uname='hp-ux tws-83 b.10.20 a 9000715 -1 two-user license '
  hint=previous, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
  cc='/opt/gcc/bin/gcc', optimize=' ', gccversion=2.8.1
  ccflags ='-D_HPUX_SOURCE'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
  alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries​:
  ld='ld', ldflags =' -L/usr/local/lib
/usr/lib /usr/lib/pa1.1 /usr/local/lib /lib/pa1.1 /lib /usr/ccs/lib
/usr/include /usr/include/sys /opt/gcc/include/g++
  libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
  libc=/usr/lib/, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking​:
  dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
  cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib

If I try to compile PERL5 I get the following problem.

root@​tws-83​:/tmp/perl5.005_03 # make
  `sh cflags libperl.a mg.o` mg.c
  CCCMD = /opt/gcc/bin/gcc -DPERL_CORE -c -D_HPUX_SOURCE
In file included from
  from perl.h​:373,
  from mg.c​:16​:
warning​: `struct rusage' declared inside parameter list
warning​: its scope is only this definition or declaration,
warning​: which is probably not what you want.
mg.c​: In function `Perl_magic_get'​:
mg.c​:619​: `none' undeclared (first use in this function)
mg.c​:619​: (Each undeclared identifier is reported only once
mg.c​:619​: for each function it appears in.)
mg.c​:619​: parse error before `gary'
mg.c​:620​: `gary' undeclared (first use in this function)
mg.c​: In function `Perl_magic_set'​:
mg.c​:1755​: `none' undeclared (first use in this function)
mg.c​:1755​: parse error before `gary'
mg.c​:1768​: `gary' undeclared (first use in this function)
*** Error exit code 1

How could I solve the problem.

If you need more information please let me know

Kind regards,

Richard Meijn
Afdeling : TTF
Tel. : +31 (0)20-3830845 Fax. : +31
PAC : AA1120 Lokatie :
Foppingadreef 22
E-mail : richard.meijn@​

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant