Eamon Daly <[EMAIL PROTECTED]> writes:
>Hi, everyone. I'm in a minor panic trying to compile GTop on
>a Red Hat Linux 7.2 box. When I compile, I get the error:
>
>  Please specify prototyping behavior for Server.xs (see perlxs manual)

That does not _need_ fixing.

>
>Subsequently, running anything with "use GTop" results in:
>
>  Can't load
>'/usr/local/lib/perl5/site_perl/5.8.1/i686-linux/auto/GTop/GTop.so' for
>module GTop:
>/usr/local/lib/perl5/site_perl/5.8.1/i686-linux/auto/GTop/GTop.so: undefined
>symbol: glibtop_global_server at
>/usr/local/lib/perl5/5.8.1/i686-linux/DynaLoader.pm line 229.
>
>I've tried using several different libgtop libraries (1.0.6,
>1.0.12, 1.0.13) and they all yield the same build and
>execute errors. 

I have no idea what libgtop is - but if they all fail, chances are it isn't
them, but the way you are (not) linking them.

Does 

nm -A .../libgtop* | grep glibtop_global_server

show the symbol ?

Does Makefile.PL step give any diagnostics?
What does generated Makefile show for LIBS = ?

Who owns the GTop module these days? (STAS copied as he owns it in CPAN).
The Makefile.PL is quite complex, and the README terse.
It looks like you need glib-config in your path and/or several ENV
variables set for it to build.

Reply via email to