From: <hud...@so...> - 2002-06-21 18:38:55
|
Hi Vinicio, > Now. I don't really know what's happening./No se que esta pasando. > > I tried to run make in /usr/local/tinycobol/test.code/TCGUI and this errors came out: > > ./tocstring.tcl tcguirt.tcl tcguirt.c tcguirt > ../../compiler/htcobol -P -D -I../copybooks -I. tcgui-ex1.cob > tcgui-ex1.o: In function `main': > tcgui-ex1.o(.text+0x627): undefined reference to `TCGUI' > tcgui-ex1.o(.text+0x655): undefined reference to `TCGUI' > tcgui-ex1.o(.text+0x6eb): undefined reference to `TCGUI' > tcgui-ex1.o(.text+0x7b6): undefined reference to `TCGUI' > tcgui-ex1.o(.text+0x844): undefined reference to `TCGUI' > tcgui-ex1.o(.text+0x8c9): more undefined references to `TCGUI' follow > collect2: ld returned 1 exit status > as -D -o tcgui-ex1.o -a=tcgui-ex1.listing.0.txt tcgui-ex1.s > Assembler messages: > Error: can't open tcgui-ex1.s for reading > tcgui-ex1.s: No such file or directory > make: *** [tcgui-ex1.o] Error 1 > > I had tried to install several ways but at this moment I don't know what to to/No se que hacer para instalar. > > Someday help me/Alguien me ayude Access your makefile and insert a "-S" switch in COBFLAGS variable . COBFLAGS := -P -D -S The default action to htcobol is -X(generate a binary), but to interface a cobol source with tcl, must been generated a object file from assembly file("-S" switch) and after, link the COBOL object file with TCGUI run-time module, to then, generate a binary. Sorry for my english... :-( Hope this helps. Hudson Reis |