Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz <guido.scholz@xxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 17:23:05 +0100
Mark Hobley schrieb:
Mark,
Finally, comes the linking of the executable:
g++ -Ddebian -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -fno-rtti
-fno-exceptions -Wall -Wno-trigraphs -g -O2 -o telnet telnet.o main.o
commands.o tn3270.o terminal.o authenc.o utilities.o network.o ring.o
sys_bsd.o genget.o environ.o netlink.o
telnet.o: In function `my_setupterm':
../../src/telnet.cc:612: undefined reference to `tgetent'
collect2: ld returned 1 exit status
obviously someone forgot to include the proper header file(s), see "man
tgetent".
Check if there are these header files included in "src/telnet.cc":
#include <curses.h>
#include <term.h>
Guido
--
http://www.bayernline.de/~gscholz/
http://www.lug-burghausen.org/
.
- Follow-Ups:
- Re: autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- Re: autoreconf: g++ compiler options in configure.ac
- References:
- autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- Re: autoreconf: g++ compiler options in configure.ac
- From: Guido Scholz
- Re: autoreconf: g++ compiler options in configure.ac
- From: Mark Hobley
- autoreconf: g++ compiler options in configure.ac
- Prev by Date: Re: autoreconf: g++ compiler options in configure.ac
- Next by Date: A few places left at Embedded Linux Workshop
- Previous by thread: Re: autoreconf: g++ compiler options in configure.ac
- Next by thread: Re: autoreconf: g++ compiler options in configure.ac
- Index(es):
Relevant Pages
|