No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] Latest compile error
From: Victor Mayevski <vitick_at_gmail.com>
Date: Tue, 7 Dec 2010 16:05:31 -0800
Trying to compile the latest NX/XOTcl 2.0 against Tcl CVS Head:
gcc -DPACKAGE_NAME=\"nsf\" -DPACKAGE_TARNAME=\"nsf\"
-DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"nsf\ 2.0.0\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\
__attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
-DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DCOMPILE_NSF_STUBS=1
-DNSF_VERSION=\"2.0\" -DNSF_PATCHLEVEL=\"2.0.0\"
-DHAVE_TCL_COMPILE_H=1 -I"/root/TCL/tcl/generic"
-I"/root/TCL/tcl/unix" -I./generic -pipe -O2 -fomit-frame-pointer
-Wall -fPIC -c `echo ./generic/nsfStubLib.c` -o nsfStubLib.o
./generic/nsfStubLib.c:40: error: conflicting types for nsfStubsPtr
./generic/nsfDecls.h:262: note: previous declaration of nsfStubsPtr was here
./generic/nsfStubLib.c:41: error: conflicting types for nsfIntStubsPtr
./generic/nsfIntDecls.h:41: note: previous declaration of
nsfIntStubsPtr was here
./generic/nsfStubLib.c:43: error: conflicting types for nsfStubsPtr
./generic/nsfDecls.h:262: note: previous declaration of nsfStubsPtr was here
./generic/nsfStubLib.c:44: error: conflicting types for nsfIntStubsPtr
./generic/nsfIntDecls.h:41: note: previous declaration of
nsfIntStubsPtr was here
make: *** [nsfStubLib.o] Error 1
Date: Tue, 7 Dec 2010 16:05:31 -0800
Trying to compile the latest NX/XOTcl 2.0 against Tcl CVS Head:
gcc -DPACKAGE_NAME=\"nsf\" -DPACKAGE_TARNAME=\"nsf\"
-DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"nsf\ 2.0.0\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\
__attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1
-DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DCOMPILE_NSF_STUBS=1
-DNSF_VERSION=\"2.0\" -DNSF_PATCHLEVEL=\"2.0.0\"
-DHAVE_TCL_COMPILE_H=1 -I"/root/TCL/tcl/generic"
-I"/root/TCL/tcl/unix" -I./generic -pipe -O2 -fomit-frame-pointer
-Wall -fPIC -c `echo ./generic/nsfStubLib.c` -o nsfStubLib.o
./generic/nsfStubLib.c:40: error: conflicting types for nsfStubsPtr
./generic/nsfDecls.h:262: note: previous declaration of nsfStubsPtr was here
./generic/nsfStubLib.c:41: error: conflicting types for nsfIntStubsPtr
./generic/nsfIntDecls.h:41: note: previous declaration of
nsfIntStubsPtr was here
./generic/nsfStubLib.c:43: error: conflicting types for nsfStubsPtr
./generic/nsfDecls.h:262: note: previous declaration of nsfStubsPtr was here
./generic/nsfStubLib.c:44: error: conflicting types for nsfIntStubsPtr
./generic/nsfIntDecls.h:41: note: previous declaration of
nsfIntStubsPtr was here
make: *** [nsfStubLib.o] Error 1