Menu

#6 NapNEWS Redhat 7.x compile may need this

open
nobody
None
5
2002-09-04
2002-09-04
Anonymous
No

I had to #include <string.h> and <stdlib.h> in
screen.cc in order to compile
napnews on RedHat 7.x. Otherwise I got

g++ -g -c -o screen.o screen.cc
screen.cc: In method `void Screen::clearline (int)':
screen.cc:80: `exit' undeclared (first use this
function)
screen.cc:80: (Each undeclared identifier is reported
only once for
each function it appears in.)
screen.cc: In method `void Screen::subject (char *)':
screen.cc:129: `strlen' undeclared (first use this
function)
make: *** [screen.o] Error 1

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.