Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #25770

Re: undefined reference to symbol '_end'

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: undefined reference to symbol '_end'
Date 2012-09-02 14:33 -0700
Organization None to speak of
Message-ID <ln4nnggle3.fsf@nuthaus.mib.org> (permalink)
References <k20gei$v4e$1@speranza.aioe.org>

Show all headers | View raw


Eric <nospam@nospam.com> writes:
> I am getting the following linker error, however I do not have any _end 
> function or variable in my code.
>
> Can anyone help?
>
> Thanks
>
> /usr/bin/ld: /usr/lib64/libphobos2.a(memory_350_620.o): undefined 
> reference to symbol '_end'
> /lib64/libcom_err.so.2: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status

I get 145 hits on a Google search for "undefined reference to symbol '_end'".
It's likely one or more of them will point you in the right direction.

It appears to be related to /lib64/libcom_err.so.2, whatever that is.

A good approach is to narrow down your program to the smallest example
that reproduces the problem.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
    Will write code for food.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

undefined reference to symbol '_end' Eric <nospam@nospam.com> - 2012-09-02 20:44 +0000
  Re: undefined reference to symbol '_end' Ian Collins <ian-news@hotmail.com> - 2012-09-03 09:01 +1200
    Re: undefined reference to symbol '_end' Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-09-02 22:43 +0100
  Re: undefined reference to symbol '_end' Keith Thompson <kst-u@mib.org> - 2012-09-02 14:33 -0700
    Re: undefined reference to symbol '_end' Angel <angel+news@spamcop.net> - 2012-09-02 22:07 +0000
  Re: undefined reference to symbol '_end' Vincenzo Mercuri <vincenzo.mercuri@yahoo.it> - 2012-09-03 00:52 +0200

csiph-web