develooper Front page | perl.perl5.porters | Postings from December 2001

Re: [ID 20011221.002] Perl 5.6.1: compilation pb on AIX 4.3.2

Thread Previous
From:
Andy Dougherty
Date:
December 21, 2001 11:37
Subject:
Re: [ID 20011221.002] Perl 5.6.1: compilation pb on AIX 4.3.2
Message ID:
Pine.SOL.4.10.10112211432020.17464-100000@maxwell.phys.lafayette.edu
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


Thread Previous


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