You can subscribe to this list here.
1999 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(341) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2000 |
Jan
(42) |
Feb
(22) |
Mar
(59) |
Apr
(12) |
May
(15) |
Jun
(30) |
Jul
(25) |
Aug
(13) |
Sep
(98) |
Oct
(51) |
Nov
(95) |
Dec
(99) |
2001 |
Jan
(105) |
Feb
(175) |
Mar
(411) |
Apr
(310) |
May
(294) |
Jun
(213) |
Jul
(132) |
Aug
(82) |
Sep
(26) |
Oct
(121) |
Nov
(181) |
Dec
(96) |
2002 |
Jan
(52) |
Feb
(128) |
Mar
(141) |
Apr
(111) |
May
(149) |
Jun
(164) |
Jul
(33) |
Aug
(77) |
Sep
(62) |
Oct
(92) |
Nov
(14) |
Dec
(33) |
2003 |
Jan
(33) |
Feb
(58) |
Mar
(120) |
Apr
(180) |
May
(206) |
Jun
(110) |
Jul
(232) |
Aug
(207) |
Sep
(103) |
Oct
(122) |
Nov
(42) |
Dec
(68) |
2004 |
Jan
(83) |
Feb
(107) |
Mar
(90) |
Apr
(7) |
May
(42) |
Jun
(36) |
Jul
(11) |
Aug
(24) |
Sep
(67) |
Oct
(116) |
Nov
(96) |
Dec
(22) |
2005 |
Jan
(29) |
Feb
(6) |
Mar
(12) |
Apr
(31) |
May
(47) |
Jun
(12) |
Jul
(76) |
Aug
(69) |
Sep
(7) |
Oct
(21) |
Nov
(5) |
Dec
(4) |
2006 |
Jan
(5) |
Feb
(7) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(4) |
Jul
(8) |
Aug
(13) |
Sep
(7) |
Oct
(2) |
Nov
(6) |
Dec
(30) |
2007 |
Jan
(43) |
Feb
(7) |
Mar
(2) |
Apr
(4) |
May
(11) |
Jun
(1) |
Jul
|
Aug
|
Sep
(22) |
Oct
(18) |
Nov
(6) |
Dec
(31) |
2008 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
|
May
|
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(11) |
Nov
(8) |
Dec
|
2009 |
Jan
(6) |
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(3) |
Nov
|
Dec
(8) |
2010 |
Jan
(15) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(4) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jason D. <dr...@ca...> - 2002-06-28 00:07:56
|
I have the following code. 02 WA-RUN-TIME. 03 WA-TIME-HOUR PIC 99. 03 WA-TIME-MIN PIC 99. ACCEPT WA-RUN-TIME FROM TIME. EVALUATE WA-TIME-HOUR WHEN > 12 SUBTRACT 12 FROM WA-TIME-HOUR MOVE "PM" TO RH-TIME-PERIOD WHEN = 12 MOVE "PM" TO RH-TIME-PERIOD WHEN < 12 MOVE "AM" TO RH-TIME-PERIOD WHEN = 00 MOVE "AM" TO RH-TIME-PERIOD MOVE 12 TO WA-TIME-HOUR END-EVALUATE. Everytime I try to compile this code I get a parse error on the evaluate statement. Then I get unknown or wrong statement errors for each line of the evaluate. Can anyone please tell me what is wrong with this code? The orignal code was the following. I found an example in the tiny cobol examples so I modified the following to work like the example. Neither is working. Is the following code still good or will I have to use the above modified code? EVALUATE TRUE WHEN WA-TIME-HOUR > 12 SUBTRACT 12 FROM WA-TIME-HOUR MOVE "PM" TO RH-TIME-PERIOD WHEN WA-TIME-HOUR = 12 MOVE "PM" TO RH-TIME-PERIOD WHEN WA-TIME-HOUR < 12 MOVE "AM" TO RH-TIME-PERIOD WHEN WA-TIME-HOUR = 00 MOVE "AM" TO RH-TIME-PERIOD MOVE 12 TO WA-TIME-HOUR. Jason |
From: Ferran P. <fer...@re...> - 2002-06-26 16:27:07
|
A preliminary version of the CANCEL and CANCEL ALL statements have been uploaded to CVS. Also some improvements for the IC programs of the NIST thest suit have been uploaded too. Now when you cancel a routine, all the files of the routine are closed and if the routine is the only one oh the module (the *.so file) the *.so file is unloaded, this way when it is called again is loaded again and all the variables are reinitialized. For this to wok, it is required to have dynamic loading support compiled. David perharps you can help with writing #ifdef ...#endif on general .c to not call tcob_cancel_subr (that is located at libhtcobol2) if there is not suport for dynamic call on the runtime. There are still problems because there are functins called from general.c that use libdb and libdl/libltdl, and the compiler not always links this The 2 solutions 2 this problems are to always link the executables with libdb and libdl/libtldl or to create dynamic .libs (libhtcobol.so/libhtcobol2.so) and link them to all the necesari libraries. What do you think about this ? By now, the Makefile needs modifications because when creating shared libs, the shared libs need to be linked with -lncurses, -ldb and -ldl/lltdl. David can you help me with configure and Makefile.in to add this? When I have time I will try to port the cancel statement to MINGW32. -- Salutacions / Regards +---------------------------------------------------------------+ | Ferran Pegueroles Forcadell | | mailto:fer...@re... | | Tels (+34)937252106 - (+34)667658535 | | C/Unió 44 2n 2a 08201 Sabadell (BCN) | +---------------------------------------------------------------+ |
From: David E. <de...@ar...> - 2002-06-25 16:35:31
|
David Essex wrote: >> I am looking for some volunteers to translate the >> command line manuals (MAN and HTML). >> Currently I have copies available in English, Italian and Portuguese. While some have volunteered for German and French versions, I am still looking for volunteers for other languages, such as Spanish for example. Any help would be appreciated. David Essex |
From: Ferran P. <fer...@re...> - 2002-06-25 15:32:35
|
Hudson Reis wrote: >Hi Ferran, > >Sorry to haven't answered yet.. :-( > > Don't worry, we all have lot of work... >Thank you for send your Makefile, it's an excellent makefile! I learnt a lot of things about it, so I created a tutorial about Makefiles in our WikiWikiWeb(1), just to brazilian users. It was written just in Portuguese language. Sorry to haven't translated it to English, but it'd get too big and unfortunately my english is not so good to translate it in a short time. >I insert your makefile in our WikiWikiWeb just to be an example to beginners in Linux, TinyCOBOL and in Makefiles.. all right? I hope you don't mind ... > >Again, thanks to all help! > > For me is OK to include my makefile on the wiki. I'm happy helping people all arround the world. I think you are doing a very good work documenting TC. I can read a little portugese, because is similar to spanish and catalan (the languages I speack better) and is also similar to french (that I can also speak a little). -- Salutacions / Regards +---------------------------------------------------------------+ | Ferran Pegueroles Forcadell | | mailto:fer...@re... | | Tels (+34)937252106 - (+34)667658535 | | C/Unió 44 2n 2a 08201 Sabadell (BCN) | +---------------------------------------------------------------+ |
From: Hudson R. <hud...@so...> - 2002-06-25 15:29:32
|
Hi Rildo, I don't getting send e-mails to you.. You have with any problem? Hudson Reis |
From: Hudson R. <hud...@so...> - 2002-06-25 14:57:35
|
Hi Ferran, Sorry to haven't answered yet.. :-( > There was a bug in the runtime that make the program seg fault. Now it > is solved on cvs and your programs execute the on exception code/on > overflow code. > If you make bugger the programa field, it works correctly. (set the env > var LD_LIBRARY_PATH). Thank you.. The program works correctly now! :-D > I have compiled this with my own makefile. I'll send it to you. Try it, > I think it can ve usefull. Thank you for send your Makefile, it's an excellent makefile! I learnt a lot of things about it, so I created a tutorial about Makefiles in our WikiWikiWeb(1), just to brazilian users. It was written just in Portuguese language. Sorry to haven't translated it to English, but it'd get too big and unfortunately my english is not so good to translate it in a short time. I insert your makefile in our WikiWikiWeb just to be an example to beginners in Linux, TinyCOBOL and in Makefiles.. all right? I hope you don't mind ... Again, thanks to all help! Best Regards Hudson Reis. 1) TinyCOBOL WikiWikiWeb. http://wiki.tinycobol.org |
From: David E. <de...@ar...> - 2002-06-24 17:40:56
|
At 12:31 PM 19/06/02 +0900, Keisuke Nishida wrote: > I have registered COBOL Utilities Project on SourceForge: > > Can we move there? Yes, we should move some of the projects there. I think the first projects should be the NIST test suite. I think that the OC version should be the starting point, thus it should be checked in to CVS. David Essex |
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 |
From: <hud...@so...> - 2002-06-21 18:31:48
|
Hi Vinicio, > Is it necessary to compile the programs that use TCGUI via make?? Is there another way?? > > Thanks No... you must compile the following way (in example tcgui-ex1.cob): *> To generate object file from tcgui-ex1.cob file. htcobol -c tcgui-ex1.cob *> To generate a C string need by TCGUI run-time file. ./tocstring.tcl tcguirt.tcl tcguirt.c tcguirt *> To generate object TCGUI run-time file. gcc -o tcgui-run.o -c tcgui-run.c *> To generate a binary from tcgui-ex1.cob gcc -o tcgui-ex1 tcgui-ex1.o -lhtcobol -lm -ldl -ldb -ltcl8.0 -ltk8.0 -L/opt/X11/lib -lX11 *> To run tcgui-ex1 binary(The X server must be active) ./tcgui-ex1 hope this help. Hudson Reis |
From: Rildo P. <ri...@pr...> - 2002-06-21 17:08:18
|
Hi Vinicio, On Fri, 21 Jun 2002, Vinicio Aizpurua wrote: > Is it necessary to compile the programs that use TCGUI via > make?? Is there another way?? Of course, not. You may do the same thing in the command line: gcc -o output_pgm module1.o module2.o -llib1 -llib2 ... This is tedious and error prone at best. I suggest you read some tutorial on makefiles. I promise it is worth! best regards, Rildo ---------------------------------------------------------------- Rildo Pragana FPGA/uControllers * Linux * tcl/tk P.O. Box 721 Camaragibe PE http://www.pragana.net Brazil 54792-990 +55-81-3223-5694 |
From: Vinicio A. <aiz...@be...> - 2002-06-21 17:02:58
|
Hi, again I forgot to ask you. Is it necessary to compile the programs that use TCGUI via make?? Is = there another way?? Thanks VInicio... |
From: Vinicio A. <aiz...@be...> - 2002-06-21 16:46:09
|
Hi everyone again. Rildo - Hudson Thanks for your support I finally found the problem after I read the = Hudson email and compile the program and tested, so, now it's my time to check it out and make some programs. How do I let you know and share my programs as examples for others?? =20 Regards=20 Vinicio Aizpurua Miami, FL, USA P.D. Rildo gracias por la ayuda y hasta la proxima!!! |
From: Hudson R. <hud...@so...> - 2002-06-21 16:24:15
|
Hi Ferran, > This is caused by some changes made by me. I will try to solve today. By > now you can compile if you link the cobol program with -lncurses and -ldb. Ok.. Thanks! Hudson Reis |
From: Hudson R. <hud...@so...> - 2002-06-21 16:18:02
|
Hi Serge, > I'm looking for one example to do this. > Can we easily get the parameters in POST or GET operations >? see the development/test.code/t33 example, downloading the sources from CVS. > Best regards / Cordialement / Cordialmente. You are brazilian? Hudson Reis |
From: Vinicio B. <aiz...@be...> - 2002-06-21 16:12:26
|
Hi everyone. I NEED HELP!!!! AYUDA!!! Just reinstalled tinycobol test the i/o files 100000 records ok, so I = guess the problem with "-ldb" is solved. 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=3Dtcgui-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 |
From: Harald V. <vo...@in...> - 2002-06-21 14:50:30
|
On Fri, 21 Jun 2002, Iker Etxebarria wrote: > Hi everybody! > > I've done a cobol program that stores information in a postgres Database. > I've problems with number pictures. What number type do you usually use to > store pictures like PIC 9(4)? I'm also using Postgres and I use the NUMERIC type. But I am converting the Cobol data when writing and reading to/from the database. I'd like to use the TinyCobol routines for conversion, which are already there in the TC source. But I found them quite hard to understand and even harder to use (have to build a complicated [at least poorly documented] datastructure), so I wrote my own conversion routines. They work fine for me, but I don't know if they cover all cases. (They do cover PIC S9(..)V9(..) at least.) I can send you the code, if you like. -Harald |
From: Serge N. <Ser...@bu...> - 2002-06-21 14:34:26
|
Hi, I'm looking for one example to do this. Can we easily get the parameters in POST or GET operations ? Best regards / Cordialement / Cordialmente. All expressed views are mine alone and not necessarily shared by BULL ;-) http://www.bull.fr/ Bull Services - Bull Tele Services http://www.bull.com/ 8 Bd Albert EINSTEIN BP 72322 Internal Linux site : 44323 - Nantes CEDEX 3 FRANCE http://brehat.frna.bull.fr/ Linux team : srv...@bu... |
From: <apc...@so...> - 2002-06-21 12:23:48
|
Hi, I just noticed that Fujitsu is making their compiler available on Linux. See http://www.fsw.fujitsu.com/news/pr06-19-2002.html for more details. Regards Andrew Cameron |
From: Armando <ar...@ha...> - 2002-06-21 12:09:00
|
Hi, How to unsubscribe ?? I found in https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users but i can't find it. Thkz. Best Regards. [ ]'s ________________________________________________ This mail was sent by HadrionWebMail 1.0 |
From: Iker E. <ike...@ya...> - 2002-06-21 11:51:46
|
Hi everybody! I've done a cobol program that stores information in a postgres Datab= ase.=20 I've problems with number pictures. What number type do you usually use t= o=20 store pictures like PIC 9(4)? Thank you _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Ferran P. <fer...@re...> - 2002-06-21 09:42:56
|
Since and update in TC for the cancel statement, and restore calues when returning from a call, TC programs require to be linked with curses and libdb. This was caused by the fact that the values to restore were on the screenio.c. I have moved those values to general.c and now link with curses is not required. The need for linking with libdb cannot be eliminated because when we cancel a routine we nned to close all the files, so we need to call cob_close that is on the fileio.c The next step is to resolve cob_close dynamically from cancel and we won't need to link to libdn anymore. -- Salutacions / Regards +---------------------------------------------------------------+ | Ferran Pegueroles Forcadell | | mailto:fer...@re... | | Tels (+34)937252106 - (+34)667658535 | | C/Unió 44 2n 2a 08201 Sabadell (BCN) | +---------------------------------------------------------------+ |
From: Ferran P. <fer...@re...> - 2002-06-21 08:50:55
|
This is caused by some changes made by me. I will try to solve today. By now you can compile if you link the cobol program with -lncurses and -ldb. Hudson Reis wrote: >Hi all, > >I've had try compile the single file, see the your code: > >identification division. >program-id. hello. >author. Hudson Reis. > >procedure division. >display "Hello World!" >stop run. > >when I try compile, see the results: > >Script iniciado em Thu Jun 20 21:34:23 2002 >hudson@darkstar:~/prj/tc/src/makesh/make$ make >htcobol -S hello.cob >as -o hello.o hello.s >gcc -o hello hello.o -lhtcobol -lm >/usr/local/lib/libhtcobol.a(fileio.o): In function `cob_open': >fileio.o(.text+0x5d7): undefined reference to `dbopen' >fileio.o(.text+0x67e): undefined reference to `dbopen' >/usr/local/lib/libhtcobol.a(fileio.o): In function `sort_open': >fileio.o(.text+0x3b5f): undefined reference to `dbopen' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_init': >scr_curses.o(.text+0x7): undefined reference to `initscr' >scr_curses.o(.text+0xc): undefined reference to `noecho' >scr_curses.o(.text+0x11): undefined reference to `cbreak' >scr_curses.o(.text+0x1b): undefined reference to `stdscr' >scr_curses.o(.text+0x21): undefined reference to `keypad' >scr_curses.o(.text+0x2e): undefined reference to `stdscr' >scr_curses.o(.text+0x34): undefined reference to `scrollok' >scr_curses.o(.text+0x3c): undefined reference to `nonl' >scr_curses.o(.text+0x41): undefined reference to `raw' >scr_curses.o(.text+0x46): undefined reference to `noecho' >scr_curses.o(.text+0x4b): undefined reference to `has_colors' >scr_curses.o(.text+0x56): undefined reference to `start_color' >scr_curses.o(.text+0x6a): undefined reference to `pair_content' >scr_curses.o(.text+0x72): undefined reference to `stdscr' >scr_curses.o(.text+0x89): undefined reference to `COLOR_PAIRS' >scr_curses.o(.text+0x9e): undefined reference to `init_pair' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_finish': >scr_curses.o(.text+0xc3): undefined reference to `isendwin' >scr_curses.o(.text+0xce): undefined reference to `endwin' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_setchar': >scr_curses.o(.text+0xfa): undefined reference to `stdscr' >scr_curses.o(.text+0x100): undefined reference to `waddch' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_setyx': >scr_curses.o(.text+0x146): undefined reference to `stdscr' >scr_curses.o(.text+0x14c): undefined reference to `wmove' >scr_curses.o(.text+0x155): undefined reference to `stdscr' >scr_curses.o(.text+0x15e): undefined reference to `stdscr' >scr_curses.o(.text+0x173): undefined reference to `stdscr' >scr_curses.o(.text+0x17c): undefined reference to `stdscr' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_kbdstatus': >scr_curses.o(.text+0x1e0): undefined reference to `stdscr' >scr_curses.o(.text+0x1e6): undefined reference to `nodelay' >scr_curses.o(.text+0x1f1): undefined reference to `stdscr' >scr_curses.o(.text+0x1f7): undefined reference to `wgetch' >scr_curses.o(.text+0x209): undefined reference to `stdscr' >scr_curses.o(.text+0x20f): undefined reference to `nodelay' >scr_curses.o(.text+0x228): undefined reference to `ungetch' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `set_colors': >scr_curses.o(.text+0x327): undefined reference to `COLOR_PAIRS' >scr_curses.o(.text+0x341): undefined reference to `pair_content' >scr_curses.o(.text+0x38a): undefined reference to `init_pair' >scr_curses.o(.text+0x39d): undefined reference to `COLOR_PAIRS' >scr_curses.o(.text+0x3ae): undefined reference to `stdscr' >scr_curses.o(.text+0x3b4): undefined reference to `wcolor_set' >scr_curses.o(.text+0x3c6): undefined reference to `stdscr' >scr_curses.o(.text+0x3cc): undefined reference to `wbkgdset' >scr_curses.o(.text+0x3d6): undefined reference to `stdscr' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `set_atributes': >scr_curses.o(.text+0x40f): undefined reference to `stdscr' >scr_curses.o(.text+0x415): undefined reference to `wattr_on' >scr_curses.o(.text+0x42b): undefined reference to `stdscr' >scr_curses.o(.text+0x431): undefined reference to `wattr_off' >scr_curses.o(.text+0x450): undefined reference to `stdscr' >scr_curses.o(.text+0x456): undefined reference to `wattr_on' >scr_curses.o(.text+0x46b): undefined reference to `stdscr' >scr_curses.o(.text+0x471): undefined reference to `wattr_off' >scr_curses.o(.text+0x490): undefined reference to `stdscr' >scr_curses.o(.text+0x496): undefined reference to `wattr_on' >scr_curses.o(.text+0x4ab): undefined reference to `stdscr' >scr_curses.o(.text+0x4b1): undefined reference to `wattr_off' >scr_curses.o(.text+0x4d0): undefined reference to `stdscr' >scr_curses.o(.text+0x4d6): undefined reference to `wattr_on' >scr_curses.o(.text+0x4eb): undefined reference to `stdscr' >scr_curses.o(.text+0x4f1): undefined reference to `wattr_off' >scr_curses.o(.text+0x510): undefined reference to `stdscr' >scr_curses.o(.text+0x516): undefined reference to `wattr_on' >scr_curses.o(.text+0x52b): undefined reference to `stdscr' >scr_curses.o(.text+0x531): undefined reference to `wattr_off' >scr_curses.o(.text+0x54b): undefined reference to `beep' >scr_curses.o(.text+0x563): undefined reference to `stdscr' >scr_curses.o(.text+0x569): undefined reference to `wclear' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `_DisplayField': >scr_curses.o(.text+0x62a): undefined reference to `stdscr' >scr_curses.o(.text+0x630): undefined reference to `wmove' >scr_curses.o(.text+0x63b): undefined reference to `stdscr' >scr_curses.o(.text+0x641): undefined reference to `wclrtoeol' >scr_curses.o(.text+0x677): undefined reference to `stdscr' >scr_curses.o(.text+0x67d): undefined reference to `wclrtoeol' >scr_curses.o(.text+0x698): undefined reference to `stdscr' >scr_curses.o(.text+0x69e): undefined reference to `wclrtobot' >scr_curses.o(.text+0x6b8): undefined reference to `beep' >scr_curses.o(.text+0x6d0): undefined reference to `stdscr' >scr_curses.o(.text+0x6d6): undefined reference to `wclear' >scr_curses.o(.text+0x740): undefined reference to `stdscr' >scr_curses.o(.text+0x746): undefined reference to `waddnstr' >scr_curses.o(.text+0x812): undefined reference to `stdscr' >scr_curses.o(.text+0x818): undefined reference to `waddnstr' >scr_curses.o(.text+0x823): undefined reference to `stdscr' >scr_curses.o(.text+0x829): undefined reference to `wrefresh' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `_DisplayForAccept': >scr_curses.o(.text+0x878): undefined reference to `stdscr' >scr_curses.o(.text+0x87e): undefined reference to `wclrtoeol' >scr_curses.o(.text+0x8e8): undefined reference to `stdscr' >scr_curses.o(.text+0x8ee): undefined reference to `waddnstr' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_accept_field': >scr_curses.o(.text+0xb25): undefined reference to `stdscr' >scr_curses.o(.text+0xb2b): undefined reference to `wrefresh' >scr_curses.o(.text+0xb36): undefined reference to `stdscr' >scr_curses.o(.text+0xb3c): undefined reference to `wgetch' >scr_curses.o(.text+0xba9): undefined reference to `beep' >scr_curses.o(.text+0xc92): undefined reference to `beep' >scr_curses.o(.text+0xcd2): undefined reference to `beep' >scr_curses.o(.text+0xd21): undefined reference to `beep' >/usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_accept': >scr_curses.o(.text+0xffe): undefined reference to `stdscr' >scr_curses.o(.text+0x1004): undefined reference to `wrefresh' >collect2: ld returned 1 exit status >make: ** [hello] Erro 1 >hudson@darkstar:~/prj/tc/src/makesh/make$ exit >exit > >Script concluído em Thu Jun 20 21:34:27 2002 > >If I try compile from command line(using 'htcobol hello.cob') occurs the same error. > >I don't use screen section and file indexing with you can see, then,is need add the ncurses and libdb library in link step or is this a bug? > >I attach the file hello.cob > >Thank you! > >Hudson > > -- Salutacions / Regards +---------------------------------------------------------------+ | Ferran Pegueroles Forcadell | | mailto:fer...@re... | | Tels (+34)937252106 - (+34)667658535 | | C/Unió 44 2n 2a 08201 Sabadell (BCN) | +---------------------------------------------------------------+ |
From: Hudson R. <hud...@so...> - 2002-06-21 00:33:27
|
Hi all, I've had try compile the single file, see the your code: identification division. program-id. hello. author. Hudson Reis. procedure division. display "Hello World!" stop run. when I try compile, see the results: Script iniciado em Thu Jun 20 21:34:23 2002 hudson@darkstar:~/prj/tc/src/makesh/make$ make htcobol -S hello.cob as -o hello.o hello.s gcc -o hello hello.o -lhtcobol -lm /usr/local/lib/libhtcobol.a(fileio.o): In function `cob_open': fileio.o(.text+0x5d7): undefined reference to `dbopen' fileio.o(.text+0x67e): undefined reference to `dbopen' /usr/local/lib/libhtcobol.a(fileio.o): In function `sort_open': fileio.o(.text+0x3b5f): undefined reference to `dbopen' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_init': scr_curses.o(.text+0x7): undefined reference to `initscr' scr_curses.o(.text+0xc): undefined reference to `noecho' scr_curses.o(.text+0x11): undefined reference to `cbreak' scr_curses.o(.text+0x1b): undefined reference to `stdscr' scr_curses.o(.text+0x21): undefined reference to `keypad' scr_curses.o(.text+0x2e): undefined reference to `stdscr' scr_curses.o(.text+0x34): undefined reference to `scrollok' scr_curses.o(.text+0x3c): undefined reference to `nonl' scr_curses.o(.text+0x41): undefined reference to `raw' scr_curses.o(.text+0x46): undefined reference to `noecho' scr_curses.o(.text+0x4b): undefined reference to `has_colors' scr_curses.o(.text+0x56): undefined reference to `start_color' scr_curses.o(.text+0x6a): undefined reference to `pair_content' scr_curses.o(.text+0x72): undefined reference to `stdscr' scr_curses.o(.text+0x89): undefined reference to `COLOR_PAIRS' scr_curses.o(.text+0x9e): undefined reference to `init_pair' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_finish': scr_curses.o(.text+0xc3): undefined reference to `isendwin' scr_curses.o(.text+0xce): undefined reference to `endwin' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_setchar': scr_curses.o(.text+0xfa): undefined reference to `stdscr' scr_curses.o(.text+0x100): undefined reference to `waddch' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_setyx': scr_curses.o(.text+0x146): undefined reference to `stdscr' scr_curses.o(.text+0x14c): undefined reference to `wmove' scr_curses.o(.text+0x155): undefined reference to `stdscr' scr_curses.o(.text+0x15e): undefined reference to `stdscr' scr_curses.o(.text+0x173): undefined reference to `stdscr' scr_curses.o(.text+0x17c): undefined reference to `stdscr' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_kbdstatus': scr_curses.o(.text+0x1e0): undefined reference to `stdscr' scr_curses.o(.text+0x1e6): undefined reference to `nodelay' scr_curses.o(.text+0x1f1): undefined reference to `stdscr' scr_curses.o(.text+0x1f7): undefined reference to `wgetch' scr_curses.o(.text+0x209): undefined reference to `stdscr' scr_curses.o(.text+0x20f): undefined reference to `nodelay' scr_curses.o(.text+0x228): undefined reference to `ungetch' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `set_colors': scr_curses.o(.text+0x327): undefined reference to `COLOR_PAIRS' scr_curses.o(.text+0x341): undefined reference to `pair_content' scr_curses.o(.text+0x38a): undefined reference to `init_pair' scr_curses.o(.text+0x39d): undefined reference to `COLOR_PAIRS' scr_curses.o(.text+0x3ae): undefined reference to `stdscr' scr_curses.o(.text+0x3b4): undefined reference to `wcolor_set' scr_curses.o(.text+0x3c6): undefined reference to `stdscr' scr_curses.o(.text+0x3cc): undefined reference to `wbkgdset' scr_curses.o(.text+0x3d6): undefined reference to `stdscr' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `set_atributes': scr_curses.o(.text+0x40f): undefined reference to `stdscr' scr_curses.o(.text+0x415): undefined reference to `wattr_on' scr_curses.o(.text+0x42b): undefined reference to `stdscr' scr_curses.o(.text+0x431): undefined reference to `wattr_off' scr_curses.o(.text+0x450): undefined reference to `stdscr' scr_curses.o(.text+0x456): undefined reference to `wattr_on' scr_curses.o(.text+0x46b): undefined reference to `stdscr' scr_curses.o(.text+0x471): undefined reference to `wattr_off' scr_curses.o(.text+0x490): undefined reference to `stdscr' scr_curses.o(.text+0x496): undefined reference to `wattr_on' scr_curses.o(.text+0x4ab): undefined reference to `stdscr' scr_curses.o(.text+0x4b1): undefined reference to `wattr_off' scr_curses.o(.text+0x4d0): undefined reference to `stdscr' scr_curses.o(.text+0x4d6): undefined reference to `wattr_on' scr_curses.o(.text+0x4eb): undefined reference to `stdscr' scr_curses.o(.text+0x4f1): undefined reference to `wattr_off' scr_curses.o(.text+0x510): undefined reference to `stdscr' scr_curses.o(.text+0x516): undefined reference to `wattr_on' scr_curses.o(.text+0x52b): undefined reference to `stdscr' scr_curses.o(.text+0x531): undefined reference to `wattr_off' scr_curses.o(.text+0x54b): undefined reference to `beep' scr_curses.o(.text+0x563): undefined reference to `stdscr' scr_curses.o(.text+0x569): undefined reference to `wclear' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `_DisplayField': scr_curses.o(.text+0x62a): undefined reference to `stdscr' scr_curses.o(.text+0x630): undefined reference to `wmove' scr_curses.o(.text+0x63b): undefined reference to `stdscr' scr_curses.o(.text+0x641): undefined reference to `wclrtoeol' scr_curses.o(.text+0x677): undefined reference to `stdscr' scr_curses.o(.text+0x67d): undefined reference to `wclrtoeol' scr_curses.o(.text+0x698): undefined reference to `stdscr' scr_curses.o(.text+0x69e): undefined reference to `wclrtobot' scr_curses.o(.text+0x6b8): undefined reference to `beep' scr_curses.o(.text+0x6d0): undefined reference to `stdscr' scr_curses.o(.text+0x6d6): undefined reference to `wclear' scr_curses.o(.text+0x740): undefined reference to `stdscr' scr_curses.o(.text+0x746): undefined reference to `waddnstr' scr_curses.o(.text+0x812): undefined reference to `stdscr' scr_curses.o(.text+0x818): undefined reference to `waddnstr' scr_curses.o(.text+0x823): undefined reference to `stdscr' scr_curses.o(.text+0x829): undefined reference to `wrefresh' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `_DisplayForAccept': scr_curses.o(.text+0x878): undefined reference to `stdscr' scr_curses.o(.text+0x87e): undefined reference to `wclrtoeol' scr_curses.o(.text+0x8e8): undefined reference to `stdscr' scr_curses.o(.text+0x8ee): undefined reference to `waddnstr' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_accept_field': scr_curses.o(.text+0xb25): undefined reference to `stdscr' scr_curses.o(.text+0xb2b): undefined reference to `wrefresh' scr_curses.o(.text+0xb36): undefined reference to `stdscr' scr_curses.o(.text+0xb3c): undefined reference to `wgetch' scr_curses.o(.text+0xba9): undefined reference to `beep' scr_curses.o(.text+0xc92): undefined reference to `beep' scr_curses.o(.text+0xcd2): undefined reference to `beep' scr_curses.o(.text+0xd21): undefined reference to `beep' /usr/local/lib/libhtcobol.a(scr_curses.o): In function `cob_scr_accept': scr_curses.o(.text+0xffe): undefined reference to `stdscr' scr_curses.o(.text+0x1004): undefined reference to `wrefresh' collect2: ld returned 1 exit status make: ** [hello] Erro 1 hudson@darkstar:~/prj/tc/src/makesh/make$ exit exit Script concluído em Thu Jun 20 21:34:27 2002 If I try compile from command line(using 'htcobol hello.cob') occurs the same error. I don't use screen section and file indexing with you can see, then,is need add the ncurses and libdb library in link step or is this a bug? I attach the file hello.cob Thank you! Hudson |
From: David E. <de...@ar...> - 2002-06-21 00:31:45
|
At 01:25 PM 20/06/02 -0300, Hudson Reis wrote: > .... >make >htcobol -c -P test01a.cob >htcobol: *** WARNING - Unknown resource file option 'COMPILE_DEFAULT:'. Ignoring. >htcobol: *** WARNING - Unknown resource file option 'NO_DEBUG_LINES:'. Ignoring. >htcobol: *** WARNING - Unknown resource file option 'PGM_SUFFIX:'. Ignoring. >htcobol: *** WARNING - Unknown resource file option 'ARX_CMD:'. Ignoring. >htcobol: *** WARNING - Unknown resource file option 'RANLIBX_CMD:'. Ignoring. >htcobol: *** WARNING - Unknown resource file option 'SHLIB_NAME_DEFAULT:'. Ignoring. >gcc -g -o test01a test01a.o -lhtcobol -lm >gcc: test01a.o: No such file or directory >C:\LANG\MINGW\BIN\MAKE.EXE: *** [test01a.o] Error 1 > ... > I'm wrong in something? I can't duplicate the problem, so I do not know what is wrong. First check the version with the 'htcobol -V' command, to ensure that no other versions are in the paths. Which version are you using, the one I compiled with gcc-2.95.2 and is available on the web site, or did you compile it ? Why not try this 'htcobol -v test01a.cob' and see what happens. David Essex |
From: Andrew C. <apc...@so...> - 2002-06-20 22:00:15
|
Hi, I have recently discovered a GPL'ed ISAM like Database similar to Codebase. For more information and to download it have a look at http://w3.tvi.cc.nm.us/~dmay/dcdb.html This may be something that we can use as a startingpoint in the Cobol Utils Project. Any Comments? Regards Andrew Cameron |