From owner-freebsd-hackers Wed Apr 25 16:56:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id 3977337B423 for ; Wed, 25 Apr 2001 16:56:23 -0700 (PDT) (envelope-from mike_makonnen@yahoo.com) Received: from blackbox.pacbell.net ([64.166.87.99]) by mta7.pltn13.pbi.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GCD009KBGUSAS@mta7.pltn13.pbi.net> for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 16:49:41 -0700 (PDT) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.1/8.11.3) id f3PNrMf44942 for freebsd-hackers@freebsd.org; Wed, 25 Apr 2001 16:53:22 -0700 (PDT envelope-from mikem) Date: Wed, 25 Apr 2001 16:53:22 -0700 (PDT) From: mikem Subject: problems compiling sysinstall: dialog_noyes To: freebsd-hackers@freebsd.org Message-id: <200104252353.f3PNrMf44942@blackbox.pacbell.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was trying to modify sysinstall.c, but I got a linker error saying that msg.o was referencing the undefined function dialog_noyes(). The ncurses library was correctly included in the compile command line, so I did a bit of searching and I couldn't find any references to a ncurses library function called dialog_noyes, but there is one called dialog_yesno. So, is the reference to dialog_noyes a typo or am I missing something. Also, along the same lines, there are two functions in msg.c: msgYesNo and msgNoYes which make use of dialog_yesno and dialog_noyes, respectively. The one line comment before each function is identical. Something along the lines of: this function returns true if YES is selected and false if NO is selected. However, from the function names I am thinking that msgYesNo returns true on YES and msgNoYes returns true on NO. The meaning of these two functions depends on whether dialog_noyes exists because both functions are identical, except that one calls dialog_yesno and the other one calls dialog_noyes. Thanks, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message