[Xotcl] Latest compile error

Gustaf Neumann neumann at wu-wien.ac.at
Wed Dec 8 06:51:16 CET 2010


i just retrieved the current version from head, did run a 
"configure",
"make", "make test" , ... everything is fine.

Maybe, you have the stubs-files generated with tcl 8.5 and 
you are compiling
against tcl 8.6 now. make sure to run configure, when you 
compile against
different versions.

-gustaf neumann

On 08.12.10 01:05, Victor Mayevski wrote:
> 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



More information about the Xotcl mailing list