On Fri, May 19, 2000 at 10:21:18AM +1000, [EMAIL PROTECTED] wrote:
> I wasn't sure whether or not to send this specific info through
> [EMAIL PROTECTED] or straight to you.
perl-loop is good.
> I've got a couple undefined symbols on my AIX box. This box has the latest
> maintenance.
>
> Can you advise? I'm willing to take orders if need be.
>
> Perl:
>
> root@rio:/opt/dev/perl/CPAN/.test/Event-0.77> perl -V
> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
> Platform:
> osname=aix, osvers=4.3.3.3, archname=aix-thread-multi
> uname='aix rio 3 4 000344214c00 '
> config_args=''
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=define use5005threads=undef useithreads=define
> usemultiplicity=define
> useperlio=undef d_sfio=undef uselargefiles=define
> use64bitint=undef use64bitall=undef uselongdouble=undef
> usesocks=define
> Compiler:
> cc='cc_r', optimize='-O', gccversion=
> cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=16384 -DNEED_PTHREAD_INIT -DSOCKS -I/usr/local/include'
> ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=16384 -DNEED_PTHREAD_INIT -DSOCKS -I/usr/local/include -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 =' -L/usr/local/lib -b32'
> libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
> libs=-lbind -lnsl -ldbm -ldl -lld -lm -lC_r -lpthreads -lc -lcrypt
> -lbsd -lPW -liconv -lsocks5
> libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -bE:/opt/Perl/lib/perl5/5.6.0/aix-thread-multi/CORE/perl.exp'
> cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
> -bE:$(BASEEXT).exp -b noentry -lC_r -lpthreads -lc -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
> USE_SOCKS PERL_IMPLICIT_CONTEXT
> Built under aix
> Compiled at May 18 2000 15:11:38
> @INC:
> /opt/Perl/lib/perl5/5.6.0/aix-thread-multi
> /opt/Perl/lib/perl5/5.6.0
> /opt/Perl/lib/perl5/site_perl/5.6.0/aix-thread-multi
> /opt/Perl/lib/perl5/site_perl/5.6.0
> /opt/Perl/lib/perl5/site_perl
> .
>
> Undefined Symbols:
>
> root@rio:/opt/dev/perl/CPAN/.test/Event-0.77> make
> LD_RUN_PATH="" ld -o blib/arch/auto/Event/Event.so -bhalt:4
> -bM:SRE -bI:/opt/Perl/lib/perl5/5.6.0/aix-thread-multi/CORE/perl.exp
> -bE:Event.exp -b noentry -lC_r -lpthreads -lc -L/usr/local/lib 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.
I'm not an AIX expert, but it appears that those two symbols are not in
perl's export list. Either you can comment out the symbols in
Event/c/signal.c or you can figure out how to add them to perl's export
list.
--
"Never ascribe to malice that which can be explained by stupidity."
via, but not speaking for Deutsche Bank