Title: Perl module Event-0.87 failed to compile on AIX 5.1 and Perl 5.6.0 - Please help!

Hi,

The perl module Event-0.87 is failed to compile on the IBM AIX platform.

We are running AIX 5.1.00 (Miantenance Level 4) within integrated Perl 5.6:

This is perl, v5.6.0 built for aix

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

[EMAIL PROTECTED] > perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=aix, osvers=5.0.0.0, archname=aix
    uname='aix shaq 1 5 006044854c00 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D_LARGE_FILES -qlonglong'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-b32'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lC -lC_r -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='  -bE:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lC -lc '


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Nov 22 2000 08:49:49
  @INC:
    /usr/opt/perl5/lib/5.6.0/aix
    /usr/opt/perl5/lib/5.6.0
    /usr/opt/perl5/lib/site_perl/5.6.0/aix
    /usr/opt/perl5/lib/site_perl/5.6.0
    /usr/opt/perl5/lib/site_perl
    .

Here below is all the output during the MAKE phase:

perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Event

make
mkdir blib
mkdir blib/lib
cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm
cp lib/Event/io.pm blib/lib/Event/io.pm
cp lib/Event/group.pm blib/lib/Event/group.pm
cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm
cp lib/Event/var.pm blib/lib/Event/var.pm
cp lib/Event/idle.pm blib/lib/Event/idle.pm
cp lib/Event/type.pm blib/lib/Event/type.pm
cp lib/Event/timer.pm blib/lib/Event/timer.pm
cp lib/Event/typemap blib/lib/Event/typemap
cp lib/Event.pod blib/lib/Event.pod
cp lib/Event.pm blib/lib/Event.pm
cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h
cp lib/Event/signal.pm blib/lib/Event/signal.pm
        /usr/bin/perl "-I/usr/opt/perl5/lib/5.6.0/aix" "-I/usr/opt/perl5/lib/5.6.0" -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "E

vent", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/bin/perl -I/usr/opt/perl5/lib/5.6.0/aix -I/usr/opt/perl5/lib/5.6.0 /usr/opt/perl5/lib/5.6.0/ExtUtils/xsubpp  -typemap /usr/op

t/perl5/lib/5.6.0/ExtUtils/typemap -typemap ./lib/Event/typemap Event.xs > Event.xsc && mv Event.xsc Event.c
        cc -c -Ic -Ilib/Event -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D_LARGE_FILES -qlonglong -O      -DVERSI

ON=\"0.87\"  -DXS_VERSION=\"0.87\"  -I/usr/opt/perl5/lib/5.6.0/aix/CORE  Event.c
"ppport.h", line 43.43: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 3.28: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 21.64: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 63.59: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 65.42: 1506-342 (W) "/*" detected in comment.
"c/idle.c", line 4.25: 1506-342 (W) "/*" detected in comment.
"c/signal.c", line 76.59: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 76.69: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 82.43: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 153.60: 1506-342 (W) "/*" detected in comment.
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Event
Running Mkbootstrap for Event ()
        chmod 644 Event.bs
        LD_RUN_PATH="" ld -o blib/arch/auto/Event/Event.so  -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp -bE:Event.exp

-b noentry -lC -lc  Event.o    
ld: 0711-317 ERROR: Undefined symbol: .Perl_whichsig
ld: 0711-317 ERROR: Undefined symbol: .Perl_rsignal
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.

When I added the option -bnoquiet into the Makefile, I got extra info:

make      
        cc -c -Ic -Ilib/Event -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D_LARGE_FILES -qlonglong -O      -DVERSI

ON=\"0.87\"  -DXS_VERSION=\"0.87\"  -I/usr/opt/perl5/lib/5.6.0/aix/CORE  Event.c
"ppport.h", line 43.43: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 3.28: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 21.64: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 63.59: 1506-342 (W) "/*" detected in comment.
"c/timeable.c", line 65.42: 1506-342 (W) "/*" detected in comment.
"c/idle.c", line 4.25: 1506-342 (W) "/*" detected in comment.
"c/signal.c", line 76.59: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 76.69: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 82.43: 1506-342 (W) "/*" detected in comment.
"c/queue.c", line 153.60: 1506-342 (W) "/*" detected in comment.
Running Mkbootstrap for Event ()
        chmod 644 Event.bs
        LD_RUN_PATH="" ld -o blib/arch/auto/Event/Event.so  -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp -bE:Event.exp

-b noentry -lC -lc -bnoquiet Event.o    
(ld): halt 4
(ld): lrgpage 0
(ld): savename blib/arch/auto/Event/Event.so
(ld): filelist 3 3
(ld): setopt noprogram
(ld): noentry
NOENTRY: There is no entry point.
(ld): lib /usr/lib/libC.a
(ld): lib /usr/lib/libc.a
(ld): i Event.o
INSERT: Shared object libC.a[shr.o]: 408 symbols imported.
INSERT: Shared object libC.a[shr2.o]: 43 symbols imported.
INSERT: Shared object libC.a[shr3.o]: 33 symbols imported.
INSERT: Shared object libC.a[ansi_32.o]: 2445 symbols imported.
INSERT: Shared object libc.a[shr.o]: 2379 symbols imported.
INSERT: Shared object libc.a[meth.o]: 2 symbols imported.
INSERT: Shared object libc.a[aio.o]: 11 symbols imported.
INSERT: Shared object libc.a[pse.o]: 4 symbols imported.
INSERT: Shared object libc.a[dl.o]: 4 symbols imported.
INSERT: Shared object libc.a[pty.o]: 1 symbols imported.
FILELIST: Number of previously inserted files processed: 3
(ld): imports /usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp
IMPORTS: Symbols imported from import file /usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp: 896
(ld): exports Event.exp
EXPORTS: Symbols exported: 1
(ld): resolve
RESOLVE: 638 of 7377 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 73 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 .Perl_whichsig            [1222]  ER PR Event.c(Event.o)
                                   00006db4 .text    R_RBR    [224]   <.boot_signal>
                                   00007008 .text    R_RBR    [230]   <._signal_signal>
 .Perl_rsignal             [1226]  ER PR Event.c(Event.o)
                                   000071fc .text    R_RBR    [232]   <.pe_signal_stop>
                                   000072a4 .text    R_RBR    [234]   <.pe_signal_start>
ER: The return code is 8.
make: 1254-004 The error code from the last command is 8.


Any help to get the problem fixed would be appreciated.
Many thanks

Best regards,
LAM


Reply via email to