CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Unable to create sub named "" at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm

 



karthiksharu
New User

Apr 24, 2010, 9:47 PM

Post #1 of 2 (1775 views)
Unable to create sub named "" at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm Can't Post

Hi i am getting this error,
Unable to create sub named "" at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm
when I convert my perl to binary using perlcc.
The script 'test.pl' goes like this,

Code
#!/usr/bin/perl 
require LWP::UserAgent;
use JSON;

perl test.pl -> Runs without any problems.
But, when I do
perlcc -o testing.o test.pl
and
./testing.o I get the error

Unable to create sub named "" at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 99.

Any help will be greatly appreciated.

Thanks


FishMonger
Veteran / Moderator

Apr 25, 2010, 7:31 AM

Post #2 of 2 (1758 views)
Re: [karthiksharu] Unable to create sub named "" at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm [In reply to] Can't Post

Cross posted and answered at http://forums.devshed.com/perl-programming-6/unable-to-create-sub-named-at-usr-lib64-perl5-5t-698384.html

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives