undefined reference to 'boot_DynaLoader'

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default undefined reference to 'boot_DynaLoader'

    Hi,

    I tried embedding perl into C, and inserted these coz i had an error prior to this one
    ************************************************** *********************************************
    static void xs_init _((void));
    EXTERN_C void boot_DynaLoader _((CV* cv));
    EXTERN_C void boot_Socket _((CV* cv));

    EXTERN_C void
    xs_init()
    {
    char *file = __FILE__;
    /* DynaLoader is a special case */
    newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
    newXS("Socket::bootstrap", boot_Socket, file)
    }
    ************************************************** ************************************************** **
    there had been problems in compiling which reads:

    undefined reference to 'boot_DynaLoader'
    undefined reference to 'boot_Socket'

    anyone? help, very much appreciated. thanks.


    ---------------------------------
    Do you Yahoo!?
    Yahoo! SiteBuilder - Free web site building tool. Try it!
    Karen Guest

  2. Similar Questions and Discussions

    1. #26082 [Fbk->Opn]: undefined reference to `php_pcre_version'
      ID: 26082 User updated by: alietss at yahoo dot com Reported By: alietss at yahoo dot com -Status: Feedback...
    2. undefined reference to errno
      I've upgraded to Slackware 9.1, which includes gcc-3.2.3, and I'm having problems linking (in this case) Art Kagel's utils2_ak programs with...
    3. #25538 [Csd->Bgs]: undefined reference
      ID: 25538 Updated by: sniper@php.net Reported By: carlo dot beccaria at sys-net dot it -Status: Closed...
    4. #25538 [Opn->Csd]: undefined reference
      ID: 25538 User updated by: carlo dot beccaria at sys-net dot it Reported By: carlo dot beccaria at sys-net dot it -Status: ...
    5. #25538 [NEW]: undefined reference
      From: carlo dot beccaria at sys-net dot it Operating system: linux PHP version: 5CVS-2003-09-15 (dev) PHP Bug Type: *Compile...
  3. #2

    Default Re: undefined reference to 'boot_DynaLoader'

    Karen wrote:
    > Hi,
    >
    > I tried embedding perl into C, and inserted these coz i had an error prior
    > to this one
    >
    ************************************************** *********************************************
    > static void xs_init _((void));
    > EXTERN_C void boot_DynaLoader _((CV* cv));
    > EXTERN_C void boot_Socket _((CV* cv));
    where do you get this from?

    david
    --
    sub'_{print"@_ ";* \ = * __ ,\ & \}
    sub'__{print"@_ ";* \ = * ___ ,\ & \}
    sub'___{print"@_ ";* \ = * ____ ,\ & \}
    sub'____{print"@_,\n"}&{_+Just}(another)->(Perl)->(Hacker)
    David Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139