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 function
log4c_category_log':
Comments
Post a Comment