I am completely new to Inline and don't know C very well.
Has anyone seen this type of error before?


>>perl -MInline=INFO hell.pl

<-----------------------Information
Section----------------------------------->

Information about the processing of your Inline C code:

Your source code needs to be compiled. I'll use this build directory:
/home/bbcannon/inlineC/hw/_Inline/build/hell_pl_54ea

and I'll install the executable as:
/home/bbcannon/inlineC/hw/_Inline/lib/auto/hell_pl_54ea/hell_pl_54ea.so

The following Inline C function(s) have been successfully bound to Perl:
        void my_hello()

<-----------------------End of Information
Section---------------------------->
ld.so.1: perl: fatal: relocation error: 
file
/home/bbcannon/inlineC/hw/_Inline/lib/auto/hell_pl_54ea/hell_pl_54ea.so: 
symbol hello: referenced symbol not found
Killed

Here is my perl script:

#!/usr/local/bin/perl 

use Inline (C => DATA => 
            INC => '/home/bbcannon/inlineC/hw',
            LIBS => '-lhello');  

my_hello();

__END__
__C__

#include <hello.h>

void my_hello() 
{
   hello();
}


Thanks...Brady Cannon

Reply via email to