On Mon, Sep 19, 2005 at 01:10:00PM -0700, Alan Olsen wrote:
> I am trying to build Perl 5.8.7 on AIX 5.2.
> 
> I can build Perl as long as I do not define "use 64-bit all".  If I try and
> build a version with full 64-bit support I get the following error somewhere
> down in the compile:
> 
>           CCCMD =
>  cc_r -DPERL_CORE -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem
> =-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/inclu
> de -q64 -DUSE_64_BIT_ALL -q64 -O
> cc_r -brtl -bdynamic -bmaxdata:0x80000000 -L/usr/local/lib -q64 -b64 -o
> miniperl_nonshr miniperlmain.o \
>     opmini.o
> libperl_nonshr.a -lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd
> ld: 0711-317 ERROR: Undefined symbol: .flock
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: *** [miniperl_nonshr] Error 8
> 
> Any idea what is going on here?  I am building with threads, but building
> without threads gives the same error.

Hi,

This is actually supposed to work.  It might help to know the exact
Configure arguments you are using, as well as the compiler version
and operating system patch maintenance level.  Try

oslevel -r

to determine the AIX level.  

There are a number of different compilers around, try something like 

lslpp -l | grep -i compiler

to find out what you have.

Regards,
-- 
$_ = "Campo Weijerman [rfc822://nl.ibm.com/]" and tr-[:]/-<@>-d and print;

Reply via email to