![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: Undefined Symbol ..... First referenced in file...... | smartgupta | High Level Programming | 1 | 10-10-2008 06:08 AM |
| undefined symbol: clock_gettime' error | dpa078 | High Level Programming | 4 | 04-09-2008 09:29 AM |
| Getting error "Undefined symbol: .u_strlen_2_6" | nachiketv | AIX | 0 | 06-05-2006 09:16 AM |
| shared object "undefined symbol: fstat" error | marcus121 | High Level Programming | 5 | 04-24-2006 07:11 PM |
| ld: 0711-317 ERROR: Undefined symbol: .hello | stockdan | High Level Programming | 2 | 11-25-2003 05:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ld: 0711-317 ERROR: Undefined symbol: stdscr
I am trying to compile pro*c program on aix 5.3. The program compiled fine when I was using curses library. After switching to ncurses, I have started getting compilation errors. After installing ncurses on the box, I changed the -lcurses flag to -lncurses. I have also updated the path to the ncurses library in the make file. Any one has any ideas on how to solve this? Thanks.
ld: 0711-317 ERROR: Undefined symbol: stdscr ld: 0711-317 ERROR: Undefined symbol: .wmove ld: 0711-317 ERROR: Undefined symbol: .wprintw ld: 0711-317 ERROR: Undefined symbol: .wrefresh ld: 0711-317 ERROR: Undefined symbol: .noraw ld: 0711-317 ERROR: Undefined symbol: .endwin ld: 0711-317 ERROR: Undefined symbol: .initscr ld: 0711-317 ERROR: Undefined symbol: .cbreak ld: 0711-317 ERROR: Undefined symbol: .nonl ld: 0711-317 ERROR: Undefined symbol: .noecho ld: 0711-317 ERROR: Undefined symbol: .keypad ld: 0711-317 ERROR: Undefined symbol: .wclear ld: 0711-317 ERROR: Undefined symbol: .wattr_on ld: 0711-317 ERROR: Undefined symbol: .wattr_off ld: 0711-317 ERROR: Undefined symbol: .wgetch ld: 0711-317 ERROR: Undefined symbol: .printw ld: 0711-317 ERROR: Undefined symbol: .wclrtoeol ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. |
|
||||
|
Yes initscr is the first and endwin is the last function call in main. Thanks.
|
|
||||
|
We are using compiler xlc_r version 7 on AIX with Oracle 11g precomplier for pro*c. Code is over 2500 lines and the error does not pin point where the it is comming from.
|
|
||||
|
All these symbols are part of ncurses so it looks like the compiler isnt picking up the libncurses library. Do you know where it is installed and make sure that the -L path to it is correct. You can try removing and reinstalling ncurses in case something got missed during the first install...though from the error it looks like the compiler is not able to find the ncurses library. Can you show atleast the command you are giving for compilation.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|