log4c link error in eclipse -


been trying use log4c in eclipse ide. no matter try, can't seem resolve __log4c_category_vlog reference in link.

i can see __log4c_category_vlog via objdump of liblog4c.a file, i've tried modifying of code in category.c/category.h files before make/make install, no avail. i've set linker point proper lib64 folder, added proper include etc in eclipse.

the sample programs come log4c compile/link/run ok, must missing obvious. help/heads appreciated!

  • log4c version:1.2.4
  • eclipse version:luna
  • linux: opensuse 13.2
  • gcc version: 4.8.3 20140627

/home/david/build3/include/log4c/category.h:359: undefined reference __log4c_category_vlog' makefile:30: recipe target 'testlog4c' failed ./src/testlog4c.o: in functionlog4c_category_log':


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -