develooper Front page | perl.perl5.porters | Postings from September 2012

5.17.4 fails to build on OpenBSD 5.1

Thread Next
From:
Steven Schubiger
Date:
September 24, 2012 05:50
Subject:
5.17.4 fails to build on OpenBSD 5.1
Message ID:
20120924125018.GA10316@mail.refcnt.dyndns.org
bash-4.2$ uname -a
OpenBSD cpansmoke3 5.1 GENERIC.MP#188 i386

bash-4.2$ ./Configure -des -Dusedevel -Dusethreads -Dprefix=/home/sts/cpansmoke/perl-5.17.4
...

bash-4.2$ make
`sh  cflags "optimize='-O2'" perlmini.o`  -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB perlmini.c
	  CCCMD =  cc -DPERL_CORE -c -pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include  -std=c89 -O2 -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings 
`sh  cflags "optimize='-O2'" opmini.o`  -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c
	  CCCMD =  cc -DPERL_CORE -c -pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include  -std=c89 -O2 -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings 
op.c: In function 'Perl_report_redefined_cv':
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
op.c:11575: warning: passing argument 1 of 'S_CvGV' discards qualifiers from pointer target type
`sh  cflags "optimize='-O2'" miniperlmain.o`  miniperlmain.c
	  CCCMD =  cc -DPERL_CORE -c -pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include  -std=c89 -O2 -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings 
`sh  cflags "optimize='-O2'" malloc.o`  malloc.c
	  CCCMD =  cc -DPERL_CORE -c -pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include  -std=c89 -O2 -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -Wwrite-strings 
malloc.c: In function 'morecore':
malloc.c:1714: error: 'my_perl' undeclared (first use in this function)
malloc.c:1714: error: (Each undeclared identifier is reported only once
malloc.c:1714: error: for each function it appears in.)
*** Error code 1

Stop in /home/sts/src/perl-5.17.4 (line 92 of /usr/share/mk/sys.mk).

-- 
If the human brain were so simple that we could understand it,
we would be so simple that we couldn't.
    -- Emerson M. Pugh

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About