* multiple definition of `__malloc_initialize_hook'
@ 2002-04-01 7:56 Andreas Jaeger
2002-04-03 18:30 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Jaeger @ 2002-04-01 7:56 UTC (permalink / raw)
To: GNU libc hacker
Building a static only glibc for i686-linux I get this error with
glibc mainline:
/builds/glibc/static/libc.a(malloc.o): In function `malloc_init_state':
/usr/src/cvs/libc/malloc/malloc.c:2188: multiple definition of `__malloc_initialize_hook'
/builds/glibc/static/locale/localedef.o:/usr/src/cvs/libc/locale/programs/localedef.c:151: first defined here
collect2: ld returned 1 exit status
make[2]: *** [/builds/glibc/static/locale/localedef] Error 1
How can we fix this?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: multiple definition of `__malloc_initialize_hook'
2002-04-01 7:56 multiple definition of `__malloc_initialize_hook' Andreas Jaeger
@ 2002-04-03 18:30 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-04-03 18:30 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
On Mon, 2002-04-01 at 07:56, Andreas Jaeger wrote:
> How can we fix this?
I've checked in a patch. The problem was that weak_variable was assumed
to be defined by the glibc headers which isn't the case.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-04 2:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-01 7:56 multiple definition of `__malloc_initialize_hook' Andreas Jaeger
2002-04-03 18:30 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).