Gaznevada, could you please try the attached patch? I'm still unsure why you get those math errors, and why didn't you get them with previous versions.
Please use the latest tarball for the test, where all the other issues are already fixed.
I'm afraid the problem is still with us. Here attached the compiler log:
make[3]: Entering directory `/root/software_tank/aMule-SVN-r9405/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__DEBUG__ -DUSE_WX_EXTENSIONS -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxUSE_GUI=0 -I./libs -Ilibs -I./include -I/usr/local/include -D__WEAK_CRYPTO__ -DAMULE_DAEMON -I/usr/local/include -I/usr/freeware/include -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Wl,-LD_LAYOUT:lgot_buffer=1024 -Wl,-rpath -Wl,/usr/local/lib:/usr/freeware/lib:/usr/freeware/lib32 -MT amuled-amuled.o -MD -MP -MF ".deps/amuled-amuled.Tpo" -c -o amuled-amuled.o `test -f 'amuled.cpp' || echo './'`amuled.cpp; \
then mv -f ".deps/amuled-amuled.Tpo" ".deps/amuled-amuled.Po"; else rm -f ".deps/amuled-amuled.Tpo"; exit 1; fi
In file included from /usr/local/include/wx-2.8/wx/filefn.h:56,
from /usr/local/include/wx-2.8/wx/utils.h:21,
from amuled.cpp:45:
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/unistd.h: In function `pid_t fork()':
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/unistd.h:465: error: `pid_t fork()' was declared `extern' and later `static'
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/include/unistd.h:311: error: previous declaration of `pid_t fork()'
amuled.cpp: In member function `void CAmuledGSocketFuncTable::RunSelect()':
amuled.cpp:323: error: `select' undeclared (first use this function)
amuled.cpp:323: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [amuled-amuled.o] Error 1
Math related errors are gone but 'select/unistd' related errors not yet. If of any interest, it's the very
same error I obtain when I include in patched r9393-amuled.cpp <math.h> only.
Cheers,
--
Gaznevada