Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #37841] build faild in src/embed.c line 373 MAP_FAILED undeclared

3 views
Skip to first unread message

David Dyck

unread,
Dec 5, 2005, 2:03:31 AM12/5/05
to bugs-bi...@rt.perl.org
# New Ticket Created by David Dyck
# Please include the string: [perl #37841]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37841 >


---
osname= linux
osvers= 2.4.32
arch= i686-linux
cc= cc
---
Flags:
category=core
severity=critical
ack=no
---
checked out todays version and found the following build error:

src/embed.c: In function `Parrot_readbc':
src/embed.c:373: `MAP_FAILED' undeclared (first use in this function)
src/embed.c:373: (Each undeclared identifier is reported only once
src/embed.c:373: for each function it appears in.)


---
Summary of my parrot 0.4.0 (r10344) configuration:
configdate='Sun Dec 4 21:24:13 2005'
Platform:
osname=linux, archname=i686-linux
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/usr/local/bin/perl
Compiler:
cc='cc', ccflags='-DDEBUGGING -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-ldl -lm -lpthread'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -L/usr/local/lib -fPIC',
load_ext='.so', ld_load_flags='-shared -L/usr/local/lib -fPIC'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8

---
Environment:
HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH PERL5_CPANPLUS_CONFIG SHELL

Leopold Toetsch

unread,
Dec 5, 2005, 9:34:09 AM12/5/05
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com

On Dec 5, 2005, at 8:03, David Dyck (via RT) wrote:

> checked out todays version and found the following build error:
>
> src/embed.c: In function `Parrot_readbc':
> src/embed.c:373: `MAP_FAILED' undeclared (first use in this function)

Strange. Which linux and libc version is this?

Anyway, I've checked in r10346, which defines it to -1, if it isn't yet.

HTH,
leo

David Dyck

unread,
Dec 5, 2005, 10:35:10 AM12/5/05
to Leopold Toetsch via RT

this is an older slackware derivative with one of the last libc5 systems,
May 13 1998 libc.so.5 -> libc.so.5.4.44*
Feb 1 1998 libc.so.5.4.44*
but it does use recent (2.4.32) kernel header files.

On Mon, 5 Dec 2005 at 06:34 -0800, Leopold Toetsch via RT <parrotbug-follow...:

Will Coleda via RT

unread,
Jun 6, 2008, 10:00:46 AM6/6/08
to perl6-i...@perl.org

Going through old tickets...

It looks like leo's fix 2.5 years ago should have resolved the issue; If
you're still having trouble building a recent parrot with this system,
please re-open this ticket (if it's the same issue), or file a new one.

Thanks!

0 new messages