Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

__eh_alloc

7 views
Skip to first unread message

Paulo Cortes

unread,
May 24, 1999, 3:00:00 AM5/24/99
to
Hi

I am compiling some ugly code, and I got a linker error,
about an unknown function called __eh_alloc. Somebody knows where
is defined and what it does?. I looked for it in almost every
include place in my linux system, but I couldn't found it. Thanks
in advance.

Paulo
--
"Jamas te des por vencido!.... Never Give up!..."
Paulo Cortes Associated Computer Science Engineer
pco...@aoc.nrao.edu National Radio Astronomy Observatory
Phone; (505) 8357246 http://www.nrao.edu/~pcortes

Ben Pfaff

unread,
May 24, 1999, 3:00:00 AM5/24/99
to
Paulo Cortes <pco...@nrao.edu> writes:

I am compiling some ugly code, and I got a linker error,
about an unknown function called __eh_alloc. Somebody knows where
is defined and what it does?. I looked for it in almost every
include place in my linux system, but I couldn't found it. Thanks
in advance.

It's the Canadian version of alloc, which is only found in Canadian
versions of Linux. Try looking on ftp.ca.linux.org for a Canadian
glibc, eh?
--
"I ran it on my DeathStation 9000 and demons flew out of my nose." --Kaz

Jack Klein

unread,
May 25, 1999, 3:00:00 AM5/25/99
to
On Mon, 24 May 1999 17:10:04 -0600, Paulo Cortes <pco...@nrao.edu>
wrote in comp.lang.c:

> Hi


>
> I am compiling some ugly code, and I got a linker error,
> about an unknown function called __eh_alloc. Somebody knows where
> is defined and what it does?. I looked for it in almost every
> include place in my linux system, but I couldn't found it. Thanks
> in advance.
>

> Paulo

<Jack>

It certainly isn't part of the C language. If you think it is part of
Linux, ask in a Linux newsgroup.

</Jack>
--
Do not email me with questions about programming.
Post them to the appropriate newsgroup.
Followups to my posts are welcome.


Kaz Kylheku

unread,
May 25, 1999, 3:00:00 AM5/25/99
to
On 24 May 1999 22:26:22 -0400, Ben Pfaff <pfaf...@msu.edu> wrote:

>Paulo Cortes <pco...@nrao.edu> writes:
>
> I am compiling some ugly code, and I got a linker error,
> about an unknown function called __eh_alloc. Somebody knows where
> is defined and what it does?. I looked for it in almost every
> include place in my linux system, but I couldn't found it. Thanks
> in advance.
>
>It's the Canadian version of alloc, which is only found in Canadian
>versions of Linux. Try looking on ftp.ca.linux.org for a Canadian
>glibc, eh?

Sounds like he is compiling some C++ that uses exception handling.
This requires run-time support in libgcc.a, which might be missing.
Maybe the compiler is misconfigured or something.

>"I ran it on my DeathStation 9000 and demons flew out of my nose." --Kaz

By the way, that was an intentional allusion to the DECStation. :)

Rick Dearman

unread,
May 26, 1999, 3:00:00 AM5/26/99
to
Paulo Cortes wrote:

> Hi


>
> I am compiling some ugly code, and I got a linker error,
> about an unknown function called __eh_alloc. Somebody knows where
> is defined and what it does?. I looked for it in almost every
> include place in my linux system, but I couldn't found it. Thanks
> in advance.
>

> Paulo
> --
> "Jamas te des por vencido!.... Never Give up!..."
> Paulo Cortes Associated Computer Science Engineer
> pco...@aoc.nrao.edu National Radio Astronomy Observatory
> Phone; (505) 8357246 http://www.nrao.edu/~pcortes

Try one of these:

news:comp.unix.programmer
news:gnu.gcc.help
news:linux.dev.c-programming

Peter Shaggy Haywood

unread,
May 29, 1999, 3:00:00 AM5/29/99
to
Groovy hepcat Paulo Cortes was jivin' on Mon, 24 May 1999 17:10:04
-0600 in comp.lang.c.
__eh_alloc's a cool scene! Dig it!

> I am compiling some ugly code, and I got a linker error,
>about an unknown function called __eh_alloc. Somebody knows where
>is defined and what it does?. I looked for it in almost every
>include place in my linux system, but I couldn't found it. Thanks
>in advance.

It isn't a standard function. Maybe it's part of the RTL of your
compiler, and you have forgotten to link part of this in. Or maybe it
is from an external library you don't have or have forgotten to link
in. Who knows?
--

----- Dig the EVEN NEWER, MORE IMPROVED news sig!! -----

-------------- Shaggy was here! ---------------
http://aardvark.apana.org.au/~phaywood/
============= Ain't I'm a dawg!! ==============


0 new messages