Can'nt compile Socket pgm! 
Author Message
 Can'nt compile Socket pgm!

Please help.

I can'nt compile pgm like below.
Is it bad my implementation of Perl?

12:16:36 ~/ip $ cat s1.pl
#!/usr/bin/perl
#################################################
# TCP
#################################################
use Socket qw(SOCK_STREAM);
use Socket qw(INADDR_ANY);
use Socket qw(inet_ntoa);
use Socket qw(inet_aton);
use Socket qw(PF_INET);
print "test socket.\n";
exit (0);
#########
12:16:39 ~/ip $ perl -wc s1.pl
Can't find 'boot_Socket' symbol in
/opt/perl5/lib/PA-RISC1.1/5.00401/auto/Socket
/Socket.sl
 at s1.pl line 5
BEGIN failed--compilation aborted at s1.pl line 5.
12:16:45 ~/ip $
--



Tue, 17 Apr 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. start a background pgm from a Perl/cgi pgm

2. compiling ActivePerl with gcc on NT (Socket.pm issue)

3. perlcc won't compile Socket calls

4. can't compile Socket.so

5. Why doesn't this Sendmail pgm work?

6. need cgi pgm'er to take over project

7. do does'nt do anything with compiled Perl - Activestate PDK - PERLAPP - (error message do Failed)

8. Error Msg using IO::Socket (on NT) as shown in Advanced Perl O'Reilly Book

9. Where's Socket.pm for NT?

10. IO::Socket::INET - error 10048 - can't bind to socket

11. parsing canned response

12. question about canned perl script

 

 
Powered by phpBB® Forum Software