[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: NPTL 0.4 setup compile error



thanks for your so many kind suggestions. Now my problem was solved after I
reinstalled my box with RH8.0. 
I sumarize my installation as follows to help other new comer to setup (pls
point out, if any fault ) :)

=================
Software Preparation
=================
1. NPTL Lib 0.4:
ftp://people.redhat.com/drepper/nptl/
2. GLibc >= 2.3:  			ftp://ftp.gnu.org/gnu/glibc/
3. Glibc-linuxthreads 		ftp://sources.redhat.com/pub/glibc/snapshots
4. linux kernel >= 2.5.36:  		ftp://ftp.kernel.org  [the more
latest, the better]
5. gcc >= 3.2:			ftp://people.redhat.com/jakub/gcc/3.2-10/ 
6. binutils >= 2.13.90.0.4-1
ftp://people.redhat.com/jakub/binutils/2.13.90.0.10-2/

======================
Software Versions in my box
======================
1. NPTL v0.4
2. Glibc-2.3.1
3. glibc-linuxthreads-2.3.1pre1
4. linux kernel 2.5.43
5. gcc 3.2-10
6. binutils-2.13.90.0.10-2

=====
Steps 
=====
1. update binutils and gcc to the required version;
2. rebuild the latest linux kernel [2.5.43] and boot with it;
3. cp glibc-2.3.1.tar.gz /home/nptl [any dir name you like];
4. tar xzvf glibc-2.3.1.tar.gz;
5. cp glibc-linuxthreads-2.3.1pre1.tar.bz2 /home/nptl/glibc-2.3.1;
6. tar xjvf glibc-linuxthreads-2.3.1pre1.tar.bz2;
7. cp nptl-0.4.tar.bz2 /home/ntpl
8. tar xjvf nptl-0.4.tar.bz2
9. make sure /lib/modules/$(uname -r)/build link to correct place;
10. cd /home/nptl/glibc;
11. ./configure --prefix=/usr --enable-add-ons=nptl --enable-kernel=current
--with-tls
12. make 
13. make subdirs=nptl check

enjoy it. :)

boris

-----Original Message-----
From: Ulrich Drepper [mailto:drepper redhat com]
Sent: 2002?10?18? 15:08
To: phil-list redhat com
Subject: Re: NPTL 0.4 setup compile error


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hu, Boris wrote:

>
> ../libc.so.6: undefined reference to `__fork_generation_pointer'
> ../libc.so.6: undefined reference to `__fork_prepare_list'
> ../libc.so.6: undefined reference to `__fork_parent_list'
> ../libc.so.6: undefined reference to `__fork_child_list'
> ../libc.so.6: undefined reference to `__fork_lock'
> collect2: ld returned 1 exit status


All these symbols are defined in the fork version which should be used.
 If it's not used it means something is wrong in your build environment.
 I've no idea what.  Find out why nptl/sysdeps/unix/sysv/linux/fork.c
isn't picked over the automatically generated syscall wrapper.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9r7M12ijCOnn/RHQRAjKVAKCw9hXpB3x7rIps0WTZA9ugm5OetgCgwHz/
KdCxBm2aVYVOZ0E+Clwg9C0=
=qzPy
-----END PGP SIGNATURE-----



-- 
Phil-list mailing list
Phil-list redhat com
https://listman.redhat.com/mailman/listinfo/phil-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]