All pastes #211183 Raw Edit

Something

public text v1 · immutable
#211183 ·published 2006-10-20 05:31 UTC
rendered paste body
[kans@localhost ice]$ find ../ | xargs grep MachineEndianType
../engine/implendian.c:int MachineEndianType()
../ice/implstunc.cpp:   if( MachineEndianType() == IMPL_LITTLE_ENDIAN ) {
Binary file ../ice/implendian.o matches
Binary file ../ice/implstunc.o matches
../include/implendian.h:int MachineEndianType(void);
[kans@localhost ice]$ vi Makefile.am
[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 implendian.o stun.o udp.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]$