FYI.
For those who have scratched their heads for hours like me.
Redhat 5.4 64bit - if you want to build the latest fping. Do the following,
tar zxvf fping.tar.gz
cd fping-2.4b2_to
./configure
vi Makefile
- search for and change:
CFLAGS = -g -O2
to
CFLAGS = -g -O2 -m32
then save the file and 'make install'.
This will compile fping as a 32bit application running on 64bit OS.
PS: you may need, yum -y install glibc-devel
Hope this helps someone because it had me wondering for hours.
I could ping using the usual ping to the outside world no problems however fping wouldn't get past my gateway. After compiling in 32bit mode all is good.
Cheers
Byron
For those who have scratched their heads for hours like me.
Redhat 5.4 64bit - if you want to build the latest fping. Do the following,
tar zxvf fping.tar.gz
cd fping-2.4b2_to
./configure
vi Makefile
- search for and change:
CFLAGS = -g -O2
to
CFLAGS = -g -O2 -m32
then save the file and 'make install'.
This will compile fping as a 32bit application running on 64bit OS.
PS: you may need, yum -y install glibc-devel
Hope this helps someone because it had me wondering for hours.
I could ping using the usual ping to the outside world no problems however fping wouldn't get past my gateway. After compiling in 32bit mode all is good.
Cheers
Byron