multiple definition of `__malloc_initialize_hook'

Andreas Jaeger aj@suse.de
Mon Apr 1 07:56:00 GMT 2002


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



More information about the Libc-hacker mailing list