Skip to content

Instantly share code, notes, and snippets.

@HSchmale16
Created May 3, 2015 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HSchmale16/d4dd5656a47ce82c63b2 to your computer and use it in GitHub Desktop.
Save HSchmale16/d4dd5656a47ce82c63b2 to your computer and use it in GitHub Desktop.
Make Log
make: Circular version.h <- version.h dependency dropped.
g++ -c -v -pedantic -Wall -Wextra -DBOOST_LOG_DYN_LINK -o main.cpp.o main.cpp
Using built-in specs.
COLLECT_GCC=g++
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-Wpedantic' '-Wall' '-Wextra' '-D' 'BOOST_LOG_DYN_LINK' '-o' 'main.cpp.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/cc1plus -quiet -v -D_GNU_SOURCE -D BOOST_LOG_DYN_LINK main.cpp -quiet -dumpbase main.cpp -mtune=generic -march=x86-64 -auxbase-strip main.cpp.o -Wpedantic -Wall -Wextra -version -o /tmp/ccKybXW8.s
GNU C++ (GCC) version 4.9.2 20150212 (Red Hat 4.9.2-6) (x86_64-redhat-linux)
compiled by GNU C version 4.9.2 20150212 (Red Hat 4.9.2-6), GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/backward
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include
/usr/local/include
/usr/include
End of search list.
GNU C++ (GCC) version 4.9.2 20150212 (Red Hat 4.9.2-6) (x86_64-redhat-linux)
compiled by GNU C version 4.9.2 20150212 (Red Hat 4.9.2-6), GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 954ba53e83b294b646fa1b6b73a69682
main.cpp: In function ‘void initLogging()’:
main.cpp:33:5: error: ‘add_file_log’ is not a member of ‘logging’
logging::add_file_log(
^
main.cpp:34:10: error: ‘file_name’ is not a member of ‘keywords’
keywords::file_name = "sample_%N.log", //!< file name pattern
^
main.cpp:35:10: error: ‘rotation_size’ is not a member of ‘keywords’
keywords::rotation_size = 10 * 1024 * 1024, //!< rotate files every 10 MiB...
^
main.cpp:36:10: error: ‘time_based_rotation’ is not a member of ‘keywords’
keywords::time_based_rotation = sinks::file::rotation_at_time_point(0, 0, 0), //!< ...or at midnight
^
main.cpp:36:49: error: ‘sinks::file’ has not been declared
keywords::time_based_rotation = sinks::file::rotation_at_time_point(0, 0, 0), //!< ...or at midnight
^
makefile:53: recipe for target 'main.cpp.o' failed
make: *** [main.cpp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment