undefined symbol identification problem

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default Re: undefined symbol identification problem

    [email]hpy_azizy@yahoo.com[/email] (ehab) wrote in message news:<b4f59294.0307220019.53d57117@posting.google. com>...
    > There is undefined problem in my programs . How can I reach it ?
    >
    > # gcc part09_iti_r01_ch09_ver01_file_processing_file_del etions_TV_Rental_bills.c
    > Undefined first referenced
    > symbol in file
    > update /var/tmp/cckNzwjb.o
    > ld: fatal: Symbol referencing errors. No output written to a.out
    > collect2: ld returned 1 exit status
    > #
    1. Why to name the file as such a long name? It doesn't conform to the
    brief style of C!

    2. update must haven't occured in the file! Otherwise, I can't imagine
    what happened!
    Kevin Wan Guest

  2. Similar Questions and Discussions

    1. GD-1.38: Undefined symbol: .__fixsfsi
      Hi ! Try to compile GD-1.38 under AIX 5.1 and run into the following error when running make: Undefined symbol: .__fixsfsi I did install...
    2. Undefined symbol perl_get_sv
      I'm trying to use the LibXML module on our Web server, but I get the undefined symbol error. I don't seem to have a perl shared library on the...
    3. Undefined symbol?
      Hey there, Wasn't sure which mailing list to send this to but maybe someone can point me in the right direction. When perl is invoked (presumably...
    4. undefined symbol in GTop.so
      I'm trying to ultimately get Apache::VMonitor running on a server running turbolinx server 8. I'm stuck on GTop, which Apache::VMonitor requires....
    5. Undefined symbol in gcc & c++
      Dear All, I built the following little C program into a library (libtt.a) with gcc: /* Filename: tt1.c */ #include <stdio.h> int foo() {...
  3. #2

    Default Re: undefined symbol identification problem

    [email]hpy_azizy@yahoo.com[/email] (ehab) wrote in message news:<b4f59294.0307220019.53d57117@posting.google. com>...
    > There is undefined problem in my programs . How can I reach it ?
    >
    > # gcc part09_iti_r01_ch09_ver01_file_processing_file_del etions_TV_Rental_bills.c
    > Undefined first referenced
    > symbol in file
    > update /var/tmp/cckNzwjb.o
    > ld: fatal: Symbol referencing errors. No output written to a.out
    > collect2: ld returned 1 exit status
    > #
    1. Why to name the file as such a long name? It doesn't conform to the
    brief style of C!

    2. update must haven't occured in the file! Otherwise, I can't imagine
    what happened!
    Kevin Wan Guest

  4. #3

    Default Re: undefined symbol identification problem

    [email]hpy_azizy@yahoo.com[/email] (ehab) wrote:
    # There is undefined problem in my programs . How can I reach it ?

    Open the file in an edittor and look for all occurences of the string 'update'
    and verify you are indeed defining it somewhere. If you are expecting it to be
    defined in a library, you need to include the library when you link.

    # # gcc part09_iti_r01_ch09_ver01_file_processing_file_del etions_TV_Rental_bills.c
    # Undefined first referenced
    # symbol in file
    # update /var/tmp/cckNzwjb.o
    # ld: fatal: Symbol referencing errors. No output written to a.out
    # collect2: ld returned 1 exit status
    # #
    #
    #

    --
    Derk Gwen [url]http://derkgwen.250free.com/html/index.html[/url]
    Where do you get those wonderful toys?
    Derk Gwen Guest

  5. #4

    Default Re: undefined symbol identification problem

    [email]hpy_azizy@yahoo.com[/email] (ehab) wrote:
    # There is undefined problem in my programs . How can I reach it ?

    Open the file in an edittor and look for all occurences of the string 'update'
    and verify you are indeed defining it somewhere. If you are expecting it to be
    defined in a library, you need to include the library when you link.

    # # gcc part09_iti_r01_ch09_ver01_file_processing_file_del etions_TV_Rental_bills.c
    # Undefined first referenced
    # symbol in file
    # update /var/tmp/cckNzwjb.o
    # ld: fatal: Symbol referencing errors. No output written to a.out
    # collect2: ld returned 1 exit status
    # #
    #
    #

    --
    Derk Gwen [url]http://derkgwen.250free.com/html/index.html[/url]
    Where do you get those wonderful toys?
    Derk Gwen 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