vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Dear All, I need help. We migrated from Sco UNIX OpenServer 5.0 and Informix-4gl 7.20 to Sco UNIX Open Server 6.0 and Informix-4gl 7.32.The following program fails to run. Can any one tell me what is missing ? #include <stdio.h> #include <curses.h> #include <fglsys.h> #include <fglapi.h> main() { int res; initscr(); res = hline( ACS_HLINE, 20); refresh(); endwin(); } When I compile the program it comes up like this: $ cc -o curs -I/u/informix/incl/tools cursesfm.c Undefined first referenced symbol in file wrefresh cursesfm.o stdscr cursesfm.o endwin cursesfm.o initscr32 cursesfm.o acs32map cursesfm.o whline cursesfm.o UX:ld: ERROR: Symbol referencing errors. No output written to curs When I compile like this: cc -c -o curs -I/u/informix/incl/tools cursesfm.c It compiles but when I try to run it comes up with this: $ curs ksh: curs: cannot execute What should I do. I need your help. Thanks. Felix Mwango Mutale |