Hi I'm not able to build Gambit with C++ support, having problem with 4.6.7 and 4.6.8.
Building on ubuntu 32bit.
Full log is attached but here are the relevant parts:
gcc 4.7.2
Both configure commands produce same error:
./configure --enable-single-host --enable-cplusplus --enable-c-opt
./configure --enable-single-host --enable-cplusplus
g++ -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "os_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/local/Gambit-C\"" -D___SYS_TYPE_CPU="\"i686\"" -D___SYS_TYPE_VENDOR="\"pc\"" -D___SYS_TYPE_OS="\"linux-gnu\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-c-opt' '--enable-cplusplus'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL os_io.c -D___LIBRARY
In file included from os_base.h:8:0,
from os_io.c:14:
os.h:1113:0: warning: "__USE_LARGEFILE64" redefined [enabled by default]
In file included from /usr/include/limits.h:27:0,
from /usr/lib/gcc/i686-linux-gnu/4.7/include-fixed/limits.h:169,
from /usr/lib/gcc/i686-linux-gnu/4.7/include-fixed/syslimits.h:7,
from /usr/lib/gcc/i686-linux-gnu/4.7/include-fixed/limits.h:34,
from ../include/gambit.h:473,
from os_io.c:12:
/usr/include/features.h:281:0: note: this is the location of the previous definition
os_io.c: In function ‘int ___device_select(___device**, int, int, ___time)’:
os_io.c:1089:62: error: ‘___absolute_time_to_nonnegative_timeval’ was not declared in this scope
os_io.c: In function ‘int ___device_stream_setup_from_process(___device_stream**, ___device_group*, char**, char**, char*, int)’:
os_io.c:7201:77: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [os_io.o] Error 1