You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5600 Reporter: Raymond Assigned to:@pierreweis Status: closed (set by @xavierleroy on 2015-12-11T18:08:03Z) Resolution: unable to duplicate Priority: high Severity: major Platform: Cygwin OS: Windows OS Version: 7 Version: 3.12.1 Target version: 4.00.1+dev Category: configure and build/install
Bug description
The Configuration summary is shown as below:
Directories where Objective Caml will be installed:
binaries.................. /usr/local/bin
standard library.......... /usr/local/lib/ocaml
manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
C compiler used........... gcc
options for compiling..... -fno-defer-pop -Wall -U_WIN32 -D_FILE_OFFSET_ BITS=64 -D_REENTRANT
options for linking....... -lm -lcurses -lpthread
shared libraries not supported
Configuration for the native-code compiler:
hardware architecture..... i386
OS variant................ cygwin
C compiler used........... gcc
options for compiling..... -Wall -U_WIN32 -D_FILE_OFFSET_BITS=64 -D_REEN TRANT
options for linking....... -lm
assembler ................ as
preprocessed assembler ... gcc -c
native dynlink ........... false
profiling with gprof ..... not supported
Source-level replay debugger: supported
Additional libraries supported:
unix str num dynlink bigarray systhreads threads graph dbm labltk
Configuration for the "num" library:
target architecture ...... ia32 (asm level 2)
Configuration for the "graph" library:
options for compiling ....
options for linking ...... -lX11
Configuration for the "labltk" library:
use tcl/tk version ....... 8.4
options for compiling ....
options for linking ...... -ltk84 -ltcl84 -lws2_32
The link errors occurred during "make world" are shown as below:
../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x2d): undefined reference to _Tcl_CreateTimerHandler' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0xed): undefined reference to _Tcl_FindExecutable'
../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0xf2): undefined reference to _Tcl_CreateInterp' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x151): undefined reference to _Tcl_Init'
../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x188): undefined reference to _Tcl_SetVar' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x24d): undefined reference to _Tcl_SetVar'
../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x25f): undefined reference
......
collect2: ld returned 1 exit status
File "none", line 1, characters 0-1:
Error: Error while building custom runtime system
make[3]: *** [labltktop.exe] Error 2
make[3]: Leaving directory /home/Ramon/ocaml-3.12.1/otherlibs/labltk/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory /home/Ramon/ocaml-3.12.1/otherlibs/labltk'
make[1]: *** [otherlibraries] Error 2
make[1]: Leaving directory `/home/Ramon/ocaml-3.12.1'
make: *** [world] Error 2
The text was updated successfully, but these errors were encountered:
Could you please check that Tcl/Tk is properly installed on your box ?
In particular, could you find C includes file tk.h (or tk84.h or tk8.4.h or tcltk84.h) ? And also the corresponding C libraries for tk and tcl ?
Since, the compilation went fine, I guess the headers where found but you probably lack the libraries.
Nobody else reported this problem, and there has been no activity on this issue for several months, so I assume it was caused by the local setup and went away magically.
Original bug ID: 5600
Reporter: Raymond
Assigned to: @pierreweis
Status: closed (set by @xavierleroy on 2015-12-11T18:08:03Z)
Resolution: unable to duplicate
Priority: high
Severity: major
Platform: Cygwin
OS: Windows
OS Version: 7
Version: 3.12.1
Target version: 4.00.1+dev
Category: configure and build/install
Bug description
The Configuration summary is shown as below:
Directories where Objective Caml will be installed:
binaries.................. /usr/local/bin
standard library.......... /usr/local/lib/ocaml
manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
C compiler used........... gcc
options for compiling..... -fno-defer-pop -Wall -U_WIN32 -D_FILE_OFFSET_ BITS=64 -D_REENTRANT
options for linking....... -lm -lcurses -lpthread
shared libraries not supported
Configuration for the native-code compiler:
hardware architecture..... i386
OS variant................ cygwin
C compiler used........... gcc
options for compiling..... -Wall -U_WIN32 -D_FILE_OFFSET_BITS=64 -D_REEN TRANT
options for linking....... -lm
assembler ................ as
preprocessed assembler ... gcc -c
native dynlink ........... false
profiling with gprof ..... not supported
Source-level replay debugger: supported
Additional libraries supported:
unix str num dynlink bigarray systhreads threads graph dbm labltk
Configuration for the "num" library:
target architecture ...... ia32 (asm level 2)
Configuration for the "graph" library:
options for compiling ....
options for linking ...... -lX11
Configuration for the "labltk" library:
use tcl/tk version ....... 8.4
options for compiling ....
options for linking ...... -ltk84 -ltcl84 -lws2_32
** Objective Caml configuration completed successfully **
The link errors occurred during "make world" are shown as below:
../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x2d): undefined reference to
_Tcl_CreateTimerHandler' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0xed): undefined reference to
_Tcl_FindExecutable'../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0xf2): undefined reference to
_Tcl_CreateInterp' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x151): undefined reference to
_Tcl_Init'../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x188): undefined reference to
_Tcl_SetVar' ../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x24d): undefined reference to
_Tcl_SetVar'../support/liblabltk.a(cltkMain.o):cltkMain.c:(.text+0x25f): undefined reference
......
collect2: ld returned 1 exit status
File "none", line 1, characters 0-1:
Error: Error while building custom runtime system
make[3]: *** [labltktop.exe] Error 2
make[3]: Leaving directory
/home/Ramon/ocaml-3.12.1/otherlibs/labltk/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory
/home/Ramon/ocaml-3.12.1/otherlibs/labltk'make[1]: *** [otherlibraries] Error 2
make[1]: Leaving directory `/home/Ramon/ocaml-3.12.1'
make: *** [world] Error 2
The text was updated successfully, but these errors were encountered: