[kans@localhost ice]$ make cd .. && /bin/sh /home/kans/iptv/config/missing --run automake-1.9 --foreign ice/Makefile cd .. && /bin/sh ./config.status ice/Makefile depfiles config.status: creating ice/Makefile config.status: executing depfiles commands /opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-g++ -g -O2 -L/opt/STM/STLinux-2.0/devkit/sh4/target/lib -o ice -static implstunc.o stun.o udp.o implendian.o -lpthread stun.o(.text+0xcc0): In function `stunParseHostName(char*, unsigned int&, unsigned short&, unsigned short)': /opt/STM/STLinux-2.0/devkit/sh4/target/usr/include/c++/3.4.3/ostream:199: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking implstunc.o(.text+0xb8): In function `GetStrIP(long)': /home/kans/iptv/ice/implstunc.cpp:29: undefined reference to `MachineEndianType()' collect2: ld returned 1 exit status make: *** [ice] Error 1 [kans@localhost ice]$ vi implstunc.cpp [kans@localhost ice]$ find . | xargs grep MachineEndianType ./implstunc.cpp: if( MachineEndianType() == IMPL_LITTLE_ENDIAN ) { Binary file ./implendian.o matches Binary file ./implstunc.o matches [kans@localhost ice]$