bug-glibc
[Top][All Lists]
Advanced

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

(Fwd) gethostbyname bug on old kernel


From: com2666
Subject: (Fwd) gethostbyname bug on old kernel
Date: Sun, 23 Sep 2001 12:37:48 +0200

------- Forwarded message follows -------
From:                   Paolo Patruno <address@hidden>
To:                     <address@hidden>
Subject:                gethostbyname and old kernel compatibility
Send reply to:          address@hidden
Date sent:              Thu, 9 Aug 2001 19:41:12 +0200

My goal is to create static executable program for a large linux
kernel versions.

To compile I use this ambient:

glibc 2.2.3
kernel and kernel include 2.4.5
gcc 2.95.3
(patched Red Had distribution 7.0)

glibc library created by:
./configure --prefix=/usr/local/glibc --enable-kernel=2.0.30
  --disable-sanity-checks

and to create the executable:

compile with glibc-devel-2.2-12 include file from red hat

link static with *.a library from new glibc:
gcc -static -o xxxx  xxxxx xxxxx /usr/local/glibc/lib/*.a


gethostbyname on the same machine works fine but
in an old linux kernel 2.0.34 return a null pointer.
Other program compiled on the machine with kernel 2.0.34 and libc5
works fine with gethostbyname.

I have tried some packet:

rsync
mailfilter


Thanks

Paolo Patruno
------- End of forwarded message -------

======================================================================©
|Saluti da Paolo Patruno           mailto:address@hidden  |
|                                  BBS/FAX: 051.4294587                |
|     Per un primo assaggio di telematica critica guarda a:            |
|           http://mostramida.it/tesocra/                                  |
|           http://www.olografix.org/gubi/estate/tele/                 |
|>>>>>    usare pgp per criptare e` un bel vizio da imparare  <<<<<<<  |
|mailto: address@hidden  con oggetto: GET  Paolo Patruno |
======================================================================Â¥



reply via email to

[Prev in Thread] Current Thread [Next in Thread]