2007-08-16 16:29:07 UTC
I tried to compile xbase64-3.1.2 and compilation exited with the following messages:
-------------------------------------------------------------------------------
make[2]: Entering directory `/usr/local/src/xbase64-3.1.2/xbase64'
source='xbase64.cpp' object='xbase64.lo' libtool=yes \
depfile='.deps/xbase64.Plo' tmpdepfile='.deps/xbase64.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/src/xbase64-3.1.2 -g -O2 -c -o xbase64.lo `test -f 'xbase64.cpp' || echo './'`xbase64.cpp
rm -f .libs/xbase64.lo
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/src/xbase64-3.1.2 -g -O2 -c xbase64.cpp -MT xbase64.lo -MD -MP -MF .deps/xbase64.TPlo -fPIC -DPIC -o .libs/xbase64.lo
xbase64.cpp:41:14: warning: extra tokens at end of #ifdef directive
In file included from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:45:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:123,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbdate.h:48:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbdate.h:58,
from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:123,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbstring.h:44:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:203,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbdbf.h:44:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbdbf.h:56,
from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:203,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbfile.h:48:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:206,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbexp.h:45:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:210,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbindex.h:46:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:215,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xblock.h:47:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:219,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbndx.h:44:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:223,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbntx.h:45:14: warning: extra tokens at end of #ifdef directive
In file included from /usr/local/src/xbase64-3.1.2/xbase64/xbase64.h:233,
from xbase64.cpp:51:
/usr/local/src/xbase64-3.1.2/xbase64/xbfilter.h:47:14: warning: extra tokens at end of #ifdef directive
xbase64.cpp: In member function 'xbShort xbXBase::LockFile(int, xbShort, xbOffT)':
xbase64.cpp:729: error: 'errno' was not declared in this scope
xbase64.cpp:729: error: 'EINTR' was not declared in this scope
make[2]: *** [xbase64.lo] Error 1
make[2]: Leaving directory `/usr/local/src/xbase64-3.1.2/xbase64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/xbase64-3.1.2/xbase64'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------------
my system is Slackware12.0 with:
ld --version
GNU ld (Linux/GNU Binutils) 2.17.50.0.17.20070615
gcc --version
gcc (GCC) 4.1.2
any help appreciated !!!
Best regards
Todor
16.8.2007