Emacs-19.28 compilation error on Linux1.1.79/libc.so.4.6.27

Emacs-19.28 compilation error on Linux1.1.79/libc.so.4.6.27

Post by Ludo Vangilberg » Thu, 02 Feb 1995 19:40:00


What the subject line does not say is that it goes wrong right from the
start! Look at the following log of "make":

Producing `src/paths.h' from `src/paths.h.in'.
src/paths.h is unchanged
cd lib-src; make  all  \
  CC='gcc' CFLAGS='-g -O ' CPPFLAGS='' \
  LDFLAGS='' MAKE='make '
make[1]: Entering directory `/home/noun/ludo/Organize/Sysop/Maintenance/emacs-19.28/lib-src'
gcc -D_BSD_SOURCE    -Demacs -DHAVE_CONFIG_H    -I. -I../src -I/home/noun/ludo/Organize/Sysop/Maintenance/emacs-19.28/lib-src -I/home/noun/ludo/Organize/Sysop/Maintenance/emacs-19.28/lib-src/../src   -g -O  -o test-distrib /home/noun/ludo/Organize/Sysop/Maintenance/emacs-19.28/lib-src/test-distrib.c
__load.o(.text+0x1a): undefined reference to `mcount'
__load.o(.text+0x4a): undefined reference to `mcount'
__load.o(.text+0x7a): undefined reference to `mcount'
__load.o(.text+0xba): undefined reference to `mcount'
__load.o(.text+0x17f): undefined reference to `mcount'
__brk.o(.text+0x1a): more undefined references to `mcount' follow
make[1]: *** [test-distrib] Error 1
make[1]: Leaving directory `/home/noun/ludo/Organize/Sysop/Maintenance/emacs-19.28/lib-src'
make: *** [lib-src] Error 1

What is going on here?


Ludo Vangilbergen
KU Leuven                                
Centre for Computational Linguistics
Maria Theresiastraat 21
B-3000 Leuven          
Tel: ++32/16/32.50.94


1. /lib/libc.so.4.5.26 and /lib/libc.so.4.6.27

: I recently upgraded to GCC 2.6.2 which requires the c library version
: 4.6.27.  So I installed this, and it stuck libc.so.4.6.27 in my /lib
: directory.  But libc.so.4.5.26 still exists there, and when I run gcc, it
: says 'using incompatible library 'lib/libc.so.4.5.26'.  I mistakenly
: removed 4.5.26 and had big problems.  So how do I tell gcc to recognize
: 4.6.27?, I must be missing a step.  (I just used pkgtool to load both gcc
: and the new libc (and libg++, include, image, and extralib).)  Anyway,
: any help would be appreciated.

I have the same problem but with 4.5.26. I run 4.4 now and have
installed all 4.5-files(I have copied all the files from a machine
with 4.5 from /lib). I have made the symlink libc.so.4 point to my new
library, but it still uses 4.4. Anyone?


2. Sleeping Habits

3. Web Site Management

4. Help, installed 3.1.2b, now incompatible library error '.lib/libc.so.4.6.27'

5. Multiple route?

6. Q: emacs-19.28 linuxelf.h config file for ELF?

7. How suspend a process

8. emacs-19.28-with-x11 'help bug'?

9. ldconfig: warning: /lib/libc.so.4.6.27 is not a ZMAGIC file, skipping

10. login breaks w. libc.4.6.27

11. Problems after installation of libc.4.6.27

12. Found+fixed bug libc 4.6.27 - please comment