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 with compiling perl5 #496

Closed
p5pRT opened this issue Sep 8, 1999 · 1 comment
Closed

Broblem with compiling perl5 #496

p5pRT opened this issue Sep 8, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Sep 8, 1999

Migrated from rt.perl.org#1338 (status was 'resolved')

Searchable as RT1338$

@p5pRT
Copy link
Author

p5pRT commented Sep 8, 1999

From Richard.Meijn@nl.abnamro.com

This is my configuration

root@​tws-83​:/tmp/perl5.005_03 # ./myconfig
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:
  Platform​:
  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
  Compiler​:
  cc='/opt/gcc/bin/gcc', optimize=' ', gccversion=2.8.1
  cppflags='-D_HPUX_SOURCE'
  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
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
-L/usr/include/sys'
  libpth=/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
/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/libc.sl, 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
-L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include
-L/usr/include/sys'

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
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h​:231,
  from perl.h​:373,
  from mg.c​:16​:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: `struct rusage' declared inside parameter list
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
warning​: its scope is only this definition or declaration,
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h​:102​:
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
(0)20-6289682
PAC : AA1120 Lokatie :
Foppingadreef 22
E-mail : richard.meijn@​nl.abnamro.com

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

No branches or pull requests

1 participant