Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » ncurses "Undefined Symbols"

UBBFriend: Email this page to someone!    
Author Topic: ncurses "Undefined Symbols"
macavenger
Junior Member
Member # 248

posted December 06, 2001 12:01 PM      Profile for macavenger   Email macavenger   Send New Private Message      Edit/Delete Post  Reply With Quote 
I just downloaded ncurses from this site and installed it on my computer running OS X 10.1.1, but whenever I try to compile my program which uses the <curses.h> header file, I get an

"/usr/bin/ld: Undefined symbols:
_keypad
_move
_refresh
_wgetnstr
_winsdelln"

error. Of course, if I don't use any of the above functions I don't get this error, but that tends to negate the whole purpose of using curses.h in the first place. What can I do to fix this?


Posts: 3 | From: Fairbanks, AK | Registered: Dec 2001  |  IP: Logged
macavenger
Junior Member
Member # 248

posted December 16, 2001 07:51 PM      Profile for macavenger   Email macavenger   Send New Private Message      Edit/Delete Post  Reply With Quote 
Can anyone tell me where I can go to get help on this issue?
Posts: 3 | From: Fairbanks, AK | Registered: Dec 2001  |  IP: Logged
apex
Administrator
Member # 1

posted December 28, 2001 05:42 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
you're using the wrong curses header. take a look around.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
macavenger
Junior Member
Member # 248

posted December 28, 2001 08:21 PM      Profile for macavenger   Email macavenger   Send New Private Message      Edit/Delete Post  Reply With Quote 
Thanks for the response, and I apologize if I sounded/sound impatient. I am using the curses header installed by the ncurses package I downloaded from this site. If this is the wrong header, where can I get the right one? Just to be sure, I started over clean today. With a clean install of OS X, I installed the apple developer tools, and compiled my program. Everything worked fine. I then downloaded and installed ncurses 5.2 from this site. Again attempted to compile my program. Again, the undefined symbols error, even with the most basic curses commands such as move(...,...) or addstr(...). Thanks again for any help you can provide.
Posts: 3 | From: Fairbanks, AK | Registered: Dec 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2