On 11 Jan 2002 05:56:08 -0000, [EMAIL PROTECTED] (Kondreddy Rama Koti
Reddy) wrote:

>2) when i try to generate exe from .pl files with 
>perllcc -o <exename> <sourcename>=0D=0AIt's giving the following error. 
>
>
>/tmp/ccdiyw10.o: In function `xs_init': 
>/tmp/ccdiyw10.o(.text+0x33b9): undefined reference to `boot_DynaLoader' 
>collect2: ld returned 1 exit status 
>ERROR: In compiling code for test.pl.c ! 
>
>I am using redhat linux 7.1 . 
>what's is the problem, and how can i solve it. 


For a quick fix, just put the line                                              
                                                                                
    use DynaLoader;                                                             
                                                                                
at line 393 of perlcc, so that it reads                                         
                                                                                
        ...                                                                     
        print $fd <<"EOF";                                                      
        use DynaLoader;                                                         
        use FileHandle;                                                         
        my \$fh3  = new FileHandle("> $incfile")                                
        ...                                                                     

                                                        

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to