In file included from /usr/include/g++/backward/fstream.h:31, from sysinc.H:23, from xlogmaster.cc:36: /usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. In file included from ../import/import.h:35, from xlogmaster.cc:37: ../import/getopt.h:104: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:366: previous declaration `int getopt(int, char* const*, const char*)' here In file included from xlogmaster.cc:38: logclass.H:31: friend declaration requires class-key, i.e. `friend struct Filter' logclass.H:203: friend declaration requires class-key, i.e. `friend class Log' xlogmaster.cc: In function `void create_buttons()': xlogmaster.cc:295: `cerr' undeclared (first use this function) xlogmaster.cc:295: (Each undeclared identifier is reported only once for each function it appears in.) xlogmaster.cc:295: `endl' undeclared (first use this function) xlogmaster.cc: In function `void usage()': xlogmaster.cc:718: `cout' undeclared (first use this function) gmake[2]: *** [xlogmaster.o] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/xlogmaster/work/xlogmaster-1.6.0/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/xlogmaster/work/xlogmaster-1.6.0' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/xlogmaster.