FAQ
Hi.

I try to compiled Perl 5.6.1 on a AIX 4.3.2.0 box.
I use GCC 3.0.2. The configuration step pass
successfully, but not the compilation.

Here are the output:

---------------------------------------------
# cd perl-5.6.1
# sh Configure -de -Dcc=gcc
<...everything seems correct...>
# /usr/local/bin/make
<...various compilation lines...>
`sh cflags libperl.a pp_sys.o` pp_sys.c
CCCMD = gcc -DPERL_CORE -c -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE
-fno-strict-aliasing -I/usr/local/include
-D_LARGE_FILES -O
pp_sys.c: In function `Perl_pp_gmtime':
pp_sys.c:4129: warning: assignment makes pointer
from integer without a cast
pp_sys.c:4131: warning: assignment makes pointer
from integer without a cast
pp_sys.c:4140: dereferencing pointer to
incomplete type
pp_sys.c:4141: dereferencing pointer to
incomplete type
pp_sys.c:4142: dereferencing pointer to
incomplete type
pp_sys.c:4143: dereferencing pointer to
incomplete type
pp_sys.c:4144: dereferencing pointer to
incomplete type
pp_sys.c:4145: dereferencing pointer to
incomplete type
pp_sys.c:4146: dereferencing pointer to
incomplete type
pp_sys.c:4150: dereferencing pointer to
incomplete type
pp_sys.c:4151: dereferencing pointer to
incomplete type
pp_sys.c:4152: dereferencing pointer to
incomplete type
pp_sys.c:4153: dereferencing pointer to
incomplete type
pp_sys.c:4154: dereferencing pointer to
incomplete type
pp_sys.c:4155: dereferencing pointer to
incomplete type
pp_sys.c:4156: dereferencing pointer to
incomplete type
pp_sys.c:4157: dereferencing pointer to
incomplete type
pp_sys.c:4158: dereferencing pointer to
incomplete type
make: *** [pp_sys.o] Error 1
---------------------------------------------

The output of ./myconfig is:
---------------------------------------------
Summary of my perl5 (revision 5.0 version 6
subversion 1) configuration:
Platform:
osname=aix, osvers=4.3.2.0, archname=aix
uname='aix messagerie 3 4 00915a704c00 '
config_args='-de -Dcc=gcc'
hint=recommended, useposix=true,
d_sigaction=undef
usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef
uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef
uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE
-fno-strict-aliasing -I/usr/local/include
-D_LARGE_FILES ',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='3.0.2',
gccosandvers='aix4.3.2.0'
intsize=4, longsize=4, ptrsize=4,
doublesize=8, byteorder=4321
d_longlong=undef, longlongsize=,
d_longdbl=undef, longdblsize=
ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-L/usr/local/lib -b32'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm
-lc -lcrypt -lbsd -lPW -liconv
perllibs=-lbind -lnsl -ldl -lld -lm -lc
-lcrypt -lbsd -lPW -liconv
libc=/lib/libc.a, so=a, useshrplib=false,
libperl=libperl.a
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Xlinker
-bE:/usr/local/lib/perl5/5.6.1/aix/CORE/perl.exp'
cccdlflags='-fpic', lddlflags=' -bhalt:4
-bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -b noentry -lc
-L/usr/local/lib'
---------------------------------------------

Could you help me ?

Joel


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr

Search Discussions

  • Andy Dougherty at Dec 21, 2001 at 7:37 pm

    On Fri, 21 Dec 2001, [Iso-8859-1] Joel saunier wrote:

    Hi.

    I try to compiled Perl 5.6.1 on a AIX 4.3.2.0 box.
    I use GCC 3.0.2. The configuration step pass
    successfully, but not the compilation.

    Here are the output:

    ---------------------------------------------
    # cd perl-5.6.1
    # sh Configure -de -Dcc=gcc
    <...everything seems correct...>
    # /usr/local/bin/make
    <...various compilation lines...>
    `sh cflags libperl.a pp_sys.o` pp_sys.c
    CCCMD = gcc -DPERL_CORE -c -D_ALL_SOURCE
    -D_ANSI_C_SOURCE -D_POSIX_SOURCE
    -fno-strict-aliasing -I/usr/local/include
    -D_LARGE_FILES -O
    pp_sys.c: In function `Perl_pp_gmtime':
    pp_sys.c:4129: warning: assignment makes pointer
    from integer without a cast
    pp_sys.c:4131: warning: assignment makes pointer
    from integer without a cast
    pp_sys.c:4140: dereferencing pointer to
    incomplete type
    Odd. Your system seems to have trouble using 'struct tm'. I don't see
    anything special that perl is doing here that might be causing trouble.
    Are you sure your gcc is installed and working correctly? Can you compile
    a simple non-perl program using struct tm?

    --
    Andy Dougherty doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042
  • dmcbride@cpan.org via RT at Apr 24, 2012 at 4:39 am
    Seeing as AIX 4.3 is out of service, and perl 5.6 is long out of support,
    and perl 5.14.2 compiles with xlC on AIX 6, I vote to close this.

    ---
    via perlbug: queue: perl5 status: stalled
    https://rt.perl.org:443/rt3/Ticket/Display.html?id=8110

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedDec 21, '01 at 4:09p
activeApr 24, '12 at 4:39a
posts3
users3
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase