This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Compilation error ../libc.so.6: undefined reference to `__errno_loca'
- To: libc-alpha@cygnus.com
- Subject: Compilation error ../libc.so.6: undefined reference to `__errno_loca'
- From: Prasong Aroonruviwat <psa@jesus.ksc.co.th>
- Date: Mon, 26 Oct 1998 03:13:32 +0700
>Submitter-Id: net
>Originator: Prasong Aroonruviwat
>Organization:
>Confidential: no
>Synopsis:
>Severity:
>Priority:
>Category: libc
>Class:
>Release: libc-2.0.99
>Environment:
Host type: i586-pc-linux-gnu
System: Linux jesus 2.1.126 #1 Mon Oct 26 01:17:12 ICT 1998 i586 unknown
Architecture: i586
Addons: linuxthreads crypt
Build CFLAGS: -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -march=pentium -mcpu=pentium
Build CC: gcc
Compiler version: egcs-2.91.57 19980901 (egcs-1.1 release)
Kernel headers: 2.1.126
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
% make -C db2 others
make: Entering directory `/export2/glibc-2.0.99/db2'
gcc -nostdlib -nostartfiles -o makedb -Wl,-dynamic-linker=/lib/ld-linux.so.2 ../csu/crt1.o ../csu/crti.o `gcc --print-file-name=crtbegin.o` makedb.o libdb.so.3 -Wl,-rpath-link=..:../math:../elf:../nss:../nis:.:../rt:../resolv:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` ../csu/crtn.o
../libc.so.6: undefined reference to `__errno_loca'
collect2: ld returned 1 exit status
make: *** [makedb] Error 1
make: Leaving directory `/export2/glibc-2.0.99/db2'
>How-To-Repeat:
make -C db2 others
>Fix: