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

RE: Proper versions?



  Using nptl 0.13, and glibc-cvs (snagged around Fri Dec 20 10:30 PST),
I get the following error again.  Would it be possible to get glibc
snapshots of the appropriate times that should work with nptl?

Thanks,
-alan

../elf/ld-linux.so.2: undefined reference to `__longjmp'
../elf/ld-linux.so.2: undefined reference to `__strnlen'
../elf/ld-linux.so.2: undefined reference to `__mmap'
../elf/ld-linux.so.2: undefined reference to `__mprotect'
../elf/ld-linux.so.2: undefined reference to `__getcwd'
../elf/ld-linux.so.2: undefined reference to `__GI___xstat64'
../elf/ld-linux.so.2: undefined reference to `__libc_check_standard_fds'
../elf/ld-linux.so.2: undefined reference to `__readlink'
../elf/ld-linux.so.2: undefined reference to `__profil'
../elf/ld-linux.so.2: undefined reference to `__GI___fxstat64'
../elf/ld-linux.so.2: undefined reference to `__uname'
../elf/ld-linux.so.2: undefined reference to `__munmap'
../elf/ld-linux.so.2: undefined reference to `__access'
collect2: ld returned 1 exit status
make[1]: *** [iconvconfig] Error 1
make[1]: Leaving directory `/usr/src/libc/iconv'
make: *** [iconv/others] Error 2


>
> I met the problem before. It is not a problem of software version but
> the  steps to setup.
>
> try to change two steps.
> 1.  create a new dir (hehe, I made the same mistake before, :p)
> mkdir /path/of/glibc/new_dir_name
> cd  /path/of/glibc/new_dir_name
>  ../configure --prefix=/usr --enable-kernel=current --with-tls
>  --enable-add-ons =nptl--disable-profile
>  --with-headers=/usr/src/linux-2.5.52/include
>
> 2.  i am not sure why you remove linuxthreads and linuxthreads_db.  nptl
> uses some codes of them, if I didn't remember wrong. Try to keep them
> there to compile the nptl.
>
> good luck.
>
> boris
>
>> -----Original Message-----
>> From: Alan Willis [mailto:alan cotse net]
>> Sent: 2002?12?16? 10:24
>> To: phil-list redhat com
>> Subject: Proper versions?
>>
>>
>>
>>   What are the current proper software to use in building nptl 0.12?
>> I have gcc 3.2.1-2, binutils 2.13.90.0.16, and linux 2.5.52.
>> I get the
>> following error when trying to build glibc-cvs (12.16.2002)
>> and nptl 0.12.
>> Please excuse me if this turns out to be my misunderstanding of glibc
>> compilation issues (and thus OT for this list).  I removed the
>> linuxthreads and linuxthreads_db directories from glibc-cvs prior to
>> untarring nptl.
>>
>> Thanks,
>> -alan
>>
>> ./configure --prefix=/usr --enable-kernel=current --with-tls
>> --enable-add-ons --disable-profile
>> --with-headers=/usr/src/linux-2.5.52/include
>>
>> make[1]: Entering directory `/usr/src/glibc-cvs/iconv'
>> gcc -nostdlib -nostartfiles -o iconvconfig
>> -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc
>> ../csu/crt1.o
>> ../csu/crti.o `gcc --print-file-name=crtbegin.o`
>> iconvconfig.o strtab.o
>> xmalloc.o
>> -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt
>> :../resolv:../crypt:../nptl
>> ../libc.so.6 ../libc_nonshared.a -lgcc `gcc
>> --print-file-name=crtend.o`
>> ../csu/crtn.o
>> ../elf/ld-linux.so.2: undefined reference to `__longjmp'
>> ../elf/ld-linux.so.2: undefined reference to `__strnlen'
>> ../elf/ld-linux.so.2: undefined reference to `__mmap'
>> ../elf/ld-linux.so.2: undefined reference to `__mprotect'
>> ../elf/ld-linux.so.2: undefined reference to `__getcwd'
>> ../elf/ld-linux.so.2: undefined reference to `__GI___xstat64'
>> ../elf/ld-linux.so.2: undefined reference to
>> `__libc_check_standard_fds'
>> ../elf/ld-linux.so.2: undefined reference to `__readlink'
>> ../elf/ld-linux.so.2: undefined reference to `__profil'
>> ../elf/ld-linux.so.2: undefined reference to `__GI___fxstat64'
>> ../elf/ld-linux.so.2: undefined reference to `__uname'
>> ../elf/ld-linux.so.2: undefined reference to `__munmap'
>> ../elf/ld-linux.so.2: undefined reference to `__access'
>> collect2: ld returned 1 exit status
>> make[1]: *** [iconvconfig] Error 1
>> make[1]: Leaving directory `/usr/src/glibc-cvs/iconv'
>> make: *** [iconv/others] Error 2
>>
>>
>>
>>
>>
>> --
>> 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]