Date: Fri, 27 Aug 1999 17:50:24 -0500 (CDT) From: Kevin Day <toasty@dragondata.com> To: jflowers@ezo.net (Jim Flowers) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Excluded Include ? Message-ID: <199908272250.RAA60038@celery.dragondata.com> In-Reply-To: <00da01bef0dc$b47b3f80$abd396ce@eznet> from "Jim Flowers" at Aug 27, 1999 06:37:11 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > I am trying to compile a sync driver maintenance program on fbsd-stable. I > keep getting compiler errors: > > ft1config.o: In function `run_interactive': > ft1config.o(.text+0x565): undefined reference to `initscr' > ft1config.o(.text+0x56a): undefined reference to `cbreak' > ft1config.o(.text+0x56f): undefined reference to `noecho' > ft1config.o(.text+0x577): undefined reference to `stdscr' > ft1config.o(.text+0x57c): undefined reference to `scrollok' > ft1config.o(.text+0x583): undefined reference to `halfdelay' > ft1config.o(.text+0x5c2): undefined reference to `stdscr' > ft1config.o(.text+0x5c7): undefined reference to `wrefresh' > ft1config.o(.text+0x5d1): undefined reference to `printw' > ft1config.o(.text+0x658): undefined reference to `printw' > ft1config.o(.text+0x672): undefined reference to `printw' > ft1config.o(.text+0x6e8): undefined reference to `stdscr' > ft1config.o(.text+0x6ed): undefined reference to `wrefresh' > ft1config.o(.text+0x6f3): undefined reference to `stdscr' > ft1config.o(.text+0x6f8): undefined reference to `wgetch' > > even though the source file has #include <ncurses.h> at the head of the > list. I've tried -I/usr/include and "ncurses.h" with a link to the working > directory and I'm out of ideas. > > What am I doing wrong, please? > > Thanks. > > Jim > > try adding -lncurses to your link line. :) Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908272250.RAA60038>