An Intel Core2Dueo Mac OS X 10.5 machine (where virtuoso 6.0.0-tp1 has
been build in 32-bit mode)
has been upgraded to Mac OS X 10.6 (=GCC version 4.2.1)
MacPorts has been removed completely and 1.8.0 has been installed.
All Virtuoso requirements have been installed (in 64-bit mode):
$ autoconf --version # (2.61 > 2.57)
$ automake --version # (1.10 > 1.7)
$ libtoolize --version # (2.2.6a > 1.5 )
$ flex --version # (2.5.35 = 2.5.33)
$ bison --version # (2.3 = 2.3)
$ gperf --version # (3.0.3 > 2.7.2)
$ gawk --version # (3.1.1 = 3.1.1)
$ m4 --version # (1.4.6 > 1.4.1)
$ make --version # (3.81 > 3.79.1)
$ openssl version # (0.9.8k > 0.9.7)
Because from this source the 32-bit version was built, both a
make clean && make distclean
were executed.
Different kinds of CFLAGS were tried, among this:
CFLAGS="-m64 -mmacosx-version-min=10.5 -mtune=nocona"
./configure returns no errors and these warnings:
configure: WARNING: wchar.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: wchar.h: proceeding with the compiler's result
ld: warning: option -s is obsolete and being ignored
configure: WARNING: The hslookup plugin will not be build
configure: WARNING: The ImageMagick plugin will not be build
checking WBXML2 library usability... bad. Check config.log for details
However, every time the 'make' process stops at:
gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -
Wall -DNDEBUG -DPOINTER_64 -I/Users/Shared/src/virtuoso-
opensource-6.0.0-tp1/libsrc/Xml.new -DOPENSSL_NO_KRB5 -D_GNU_SOURCE -
DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk -
DSUPPORT_UTF8 -m64 -mmacosx-version-min=10.5 -mtune=nocona -MT
libutil_la-buildarg.lo -MD -MP -MF .deps/libutil_la-buildarg.Tpo -c
buildarg.c -fno-common -DPIC -o .libs/libutil_la-buildarg.o
In file included from ../../libsrc/libutil.h:38,
from buildarg.c:29:
../../libsrc/util/strfuns.h:77: error: expected declaration specifiers
or '...' before numeric constant
../../libsrc/util/strfuns.h:77: error: expected ')' before '!=' token
../../libsrc/util/strfuns.h:77: error: expected ')' before '?' token
make[3]: *** [libutil_la-buildarg.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Any ideas what could be done the solve this error?
Best regards,
Ceriel Jacobs