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
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
> 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.
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. :)
> 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
> 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!! ==============