Can't build glibc-2.0

Can't build glibc-2.0

Post by Alex Gitelma » Sun, 16 Feb 1997 04:00:00



Hi,
I tried to build glibc-2.0.  It seems to compile fine until it stops
with the messages:

make[1]: Entering directory `/usr/src/glibc-2.0.1/db'
gcc -nostdlib -nostartfiles -o makedb
-Wl,-dynamic-linker=/lib/ld-linux.so.2 -g ../csu/start.o ../csu/crti.o
makedb.o libdb.so.2  -Wl,-rpath-link=..:../elf:../nss ../libc.so.6
../elf/ld-linux.so.2 ../libc.a -lgcc ../csu/crtn.o
../libc.so.6: undefined reference to `__NR_query_module'
../libc.so.6: undefined reference to `__NR_getresuid'
../libc.so.6: undefined reference to `__NR_setresuid'
make[1]: *** [makedb] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.0.1/db'

This NR symbols are not resolved anywhere in the rest of glibc.
Have anyone experienced that? Any ideas?

--
Alex Gitelman

http://www.lbl.gov/~gitelman

P.S. Please don't use reply function but type e-mail address explicitly.
    Server hendrix may not accept e-mail.

 
 
 

Can't build glibc-2.0

Post by Ulrich Drepp » Sun, 16 Feb 1997 04:00:00



> ../libc.so.6: undefined reference to `__NR_query_module'
> ../libc.so.6: undefined reference to `__NR_getresuid'
> ../libc.so.6: undefined reference to `__NR_setresuid'
> make[1]: *** [makedb] Error 1
> make[1]: Leaving directory `/usr/src/glibc-2.0.1/db'

> This NR symbols are not resolved anywhere in the rest of glibc.
> Have anyone experienced that? Any ideas?

This is a problem with the kernel headers.  The configuration process
should see that these syscalls are not available but somehow it
decides to compile them.  You'll have to track this down yoursefl
since I never heard about this before.  Watch how
sysdpes/unix/make-syscalls.sh works,

Quote:> P.S. Please don't use reply function but type e-mail address explicitly.
>     Server hendrix may not accept e-mail.

If you ask in a Newsgroup you'll get the answer here, too.
--
-- Uli

Ulrich Drepper  \    ,-------------------'   \  76149 Karlsruhe/Germany


 
 
 

1. Trying to build glibc-2.0.3

I'm trying to compile glibc-2.0.3 with gcc-2.7.2.1 and make-3.74.  I'm getting the following error:

gcc printf-prs.c -c -O2 -Wall -Winline -Wno-parentheses -Wstrict-prototypes -Wwrite-strings -g  -mhard-quad-float    -I. -I..   -I../sysdeps/sparc/elf -I../sysdeps/unix/sysv/sysv4/solaris2/sparc -I../sysdeps/unix/sysv/sysv4/solaris2 -I../sysdeps/unix/sysv/sysv4 -I../sysdeps/unix/common -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc -I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic -I../sysdeps/stub   -include
 ../libc-symbols.h     -o printf-prs.o
printf-parse.h: In function `parse_one_spec':
In file included from printf-prs.c:69:
printf-parse.h:150: warning: implicit declaration of function `MAX'
printf-parse.h:305: `UCHAR_MAX' undeclared (first use this function)
printf-parse.h:305: (Each undeclared identifier is reported only once
printf-parse.h:305: for each function it appears in.)
make[1]: *** [printf-prs.o] Error 1
make[1]: Leaving directory `/rrc/koutwater/pkgs/glibc-2.0.3/stdio-common'
make: *** [stdio-common/subdir_lib] Error 2

Has anyone ever seen this?  Any suggested solutions?  Note that I don't have root
on this machine and sysadmin involvement for package installation is not really an
option.

Any help greatly appreciated!

--
Keith Outwater
Primex Aerospace Company (formerly Olin Aerospace Company)
P.O. Box 97009
Redmond, WA 98073-9709
(206) 885-5010 x6606

2. Taskbar won't load on bottom of desktop

3. New glibc-2.2 building

4. xptcall required now?

5. Problems (re-)building glibc-2.1.2

6. help on asynchronous I/O

7. glibc-2.0.5 build error

8. Help diagnose: ncr53c810 reset is NOP

9. Failed building glibc-2.1.1pre2, please help

10. Build small glibc-2.1.2 for floppy dist

11. Problem with sunrpc when building GLIBC-2.1

12. Build err glibc-2.0.7pre6

13. glibc-2.3.1 build error