Trying to install the XSB cvs version I get error:
builtin.c:2319: error: too many arguments to function
'trie_undispose'
Please see below for all the error:
pfodor@wolfe: cvs -z3
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xsb
co -P XSB
.... check out XSB from cvs
pfodor@wolfe:~/XSB/build$ ./configure --enable-mt
Building XSB Version 2.7.1+ (CVS) of 2005-03-05
- You did not tell me what kind of host system you want
to configure.
- I will attempt to guess the kind of system this is.
checking host system type... i686-pc-linux-gnu
creating cache
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/config.cache
Checking installation directories...
checking /home/pfodor/XSB/lib... OK
checking /home/pfodor/XSB/syslib... OK
checking /home/pfodor/XSB/cmplib... OK
checking /home/pfodor/XSB/bin... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/bin... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/lib... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/saved.o... OK
checking /home/pfodor/XSB/site/lib... OK
checking
/home/pfodor/XSB/site/config/i686-pc-linux-gnu/lib... OK
checking /home/pfodor/XSB/emu... OK
checking /home/pfodor/XSB/lib... OK
checking /home/pfodor/XSB/syslib... OK
checking /home/pfodor/XSB/cmplib... OK
checking /home/pfodor/XSB/bin... OK
checking /home/pfodor/XSB/build... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/bin... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/lib... OK
checking
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/saved.o... OK
checking /home/pfodor/XSB/etc... OK
checking /home/pfodor/XSB/packages... OK
checking /home/pfodor/XSB/packages/xmc... OK
checking /home/pfodor/XSB/examples... OK
checking /home/pfodor/XSB/prolog_includes... OK
Checking installation directories ... Done
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install...
/usr/bin/install -c
checking for AIX... no
checking for gcc... yes
checking whether we are using SunPro C... no
checking whether make sets ${MAKE}... yes
checking size of long... 4
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lnsl... yes
checking for main in -lpthread... yes
checking for main in -lsocket... no
checking for readline in -lreadline... yes
checking for stdarg.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be
included... yes
checking for sys/resource.h... yes
checking for malloc... yes
checking for unistd.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for working const... yes
checking return type of signal handlers... void
checking for strdup... yes
checking for mkdir... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for socket... yes
checking for snprintf... yes
checking for regexec... yes
checking for regerror... yes
checking for regcomp... yes
checking for fnmatch... yes
checking for glob... yes
checking for globfree... yes
checking for execvp... yes
checking for perl... yes
checking for main in -lgdbm... yes
checking for javac... yes
checking for javac... /home/pfodor/jdk1.5.0_01/bin/javac
checking for itkwish... /usr/bin/itkwish
checking whether loader understands -Wl... yes
Guessing the tagging for this version of Linux
checking for inline... inline
Not using SMODELS
updating cache
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/config.cache
creating ./config.status
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/topMakefile
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/emuMakefile
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/modMakefile
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/gppMakefile
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/smoMakefile
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/makedef.sh
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/lib/xsb_configuration.P
creating makexsb
creating /home/pfodor/XSB/emu/extensions_xsb.h
creating /home/pfodor/XSB/bin/xsb-mt
creating /home/pfodor/XSB/bin/chr_pp-mt
creating /home/pfodor/XSB/bin/xsb.bat
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/banner.msg
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/MSVC_mkfile.mak
creating /home/pfodor/XSB/packages/xmc/xmc-gui
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/xsb_config.h
creating
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/xsb_debug.h
INSTALLATION SUMMARY
--------------------
XSB Version: 2.7.1+
Code name: CVS
Release date: 2005-03-05
Configuration: i686-pc-linux-gnu
Installation date: Wed Mar 22 16:06:19 EST 2006
Build process is looking for XSB sources in:
/home/pfodor/XSB
XSB should be installed in:
/home/pfodor/XSB
Configuration-specific executables go in:
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/bin
Configuration-specific libraries go in:
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/lib
Object code goes in:
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/saved.o
Site-specific code goes in:
/home/pfodor/XSB/site
Site configuration-specific code goes in:
/home/pfodor/XSB/site/config/i686-pc-linux-gnu
XSB will be built with: gcc -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
builtin.c will be built with: gcc -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
loader_xsb.c will be built with: gcc -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
emuloop.c will be built with: gcc -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
tr_utils.c will be built with: gcc -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
Loader flags:
-lpthread -lm -ldl
-Wl,-export-dynamic -lpthread
Compilation mode: optimal
XSB abstract machine:
multi-threading
XSB scheduling strategy: local
Garbage Collection Stress-Test: no
Jumptable-based emulator loop: yes
Demand support: no
POSIX regexp matching libraries: yes
POSIX wildcard matching libraries: yes
Perl support: yes
Perl archlib:
/usr/lib/perl/5.8/CORE
Perl C compiler: cc
Perl C flags:
-D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
Perl loader flags:
-lgdbm -lgdbm_compat
-ldb -ldl -lm -lpthread -lc -lcrypt
Java compiler:
/home/pfodor/jdk1.5.0_01/bin/javac
XSB is configured for installation in /home/pfodor/XSB
Site libraries are to be found in /home/pfodor/XSB/site
Configuration report is saved in ./Installation_summary
***Now compile XSB with: `makexsb --config-tag=mt'
***************************************************************************************************************
pfodor@wolfe:~/XSB/build$ makexsb --config=mt
make -f
/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/topMakefile
devel
cd /home/pfodor/XSB/emu; \
make depend; \
rm -f
/home/pfodor/XSB/build/.xsb_build_failed; \
(make
EXECUTABLE="/home/pfodor/XSB/config/i686-pc-linux-gnu-mt/bin/xsb"
xsb || \
/home/pfodor/XSB/build/touch.sh
/home/pfodor/XSB/build/.xsb_build_failed) \
2>&1 | tee -a
../build/Installation_summary; \
(test ! -f
/home/pfodor/XSB/build/.xsb_build_failed || \
(rm -f
/home/pfodor/XSB/build/.xsb_build_failed;
exit 1))
make[1]: Entering directory `/home/pfodor/XSB/emu'
makedepend --
-I/home/pfodor/XSB/config/i686-pc-linux-gnu-mt -I -I -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE --
auxlry.c biassert.c builtin.c cinterf.c conc_compl.c
debug_xsb.c dis.c
dynload.c dynamic_stack.c deadlock.c emuloop.c
error_xsb.c findall.c
function.c hash_xsb.c hashtable_xsb.c heap_xsb.c
init_xsb.c inst_xsb.c
io_builtins_xsb.c loader_xsb.c main_xsb.c memory_xsb.c
orient_xsb.c
pathname_xsb.c psc_xsb.c random_xsb.c remove_unf.c
residual.c rw_lock.c
scc_xsb.c slgdelay.c socket_xsb.c string_xsb.c
storage_xsb.c
struct_manager.c sub_delete.c subp.c system_xsb.c
table_stats.c tables.c
thread_xsb.c timer_xsb.c token_xsb.c tr_utils.c
trace_xsb.c trie_lookup.c
trie_search.c tries.c tst_insert.c tst_retrv.c
tst_unify.c tst_utils.c
varstring.c ubi_BinTree.c ubi_SplayTree.c
make[1]: Leaving directory `/home/pfodor/XSB/emu'
make[1]: Entering directory `/home/pfodor/XSB/emu'
gcc -I/home/pfodor/XSB/config/i686-pc-linux-gnu-mt -c -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
main_xsb.c
gcc -I/home/pfodor/XSB/config/i686-pc-linux-gnu-mt -c -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
auxlry.c
gcc -I/home/pfodor/XSB/config/i686-pc-linux-gnu-mt -c -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
biassert.c
gcc -I/home/pfodor/XSB/config/i686-pc-linux-gnu-mt -c -O2
-fomit-frame-pointer -finline-functions -Wall -pipe
-D_GNU_SOURCE
builtin.c
builtin.c: In function 'builtin_call':
builtin.c:2104: warning: unused variable 'action'
builtin.c:2319: warning: passing argument 1 of
'trie_undispose' makes
integer from pointer without a cast
builtin.c:2319: warning: passing argument 2 of
'trie_undispose' makes
pointer from integer without a cast
builtin.c:2319: error: too many arguments to function
'trie_undispose'
make[1]: *** [builtin.o] Error 1
make[1]: Leaving directory `/home/pfodor/XSB/emu'
make: *** [emu] Error 1
Logged In: YES
user_id=13069
This was fixed shortly after it appeared. -David