[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gethostbyname and old kernel compatibility
From: |
com2666 |
Subject: |
gethostbyname and old kernel compatibility |
Date: |
Thu, 9 Aug 2001 19:41:06 +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
======================================================================©
|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 |
======================================================================¥
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gethostbyname and old kernel compatibility,
com2666 <=