当我试图配置从位置log4cpp克隆的Log4cpp CodeGit时。
我在#ifdef宏的末尾观察到^A & ^B字符,因为它没有编译。
我遵循的步骤是
1) git克隆git://git.code.sf.net/p/log4cpp/codegit log4cpp-codegit
2) /autogen.sh
3) ./配置
输出文件的摘录包括/log4cpp/config.h
* Define to 1 if you have the <dlfcn.h> header file. */
#ifndef LOG4CPP_^A
#define LOG4CPP_^A ^B
#endif
/* Define to 1 if you have the `ftime' function. */
#ifndef LOG4CPP_^A
#define LOG4CPP_^A ^B
#endif如果有人面临这个问题并解决了问题,请告诉我。
谢谢。
发布于 2014-04-23 06:55:10
抱歉,问题出在我使用的autoconf的错误版本上。
错误版本:
autoconf (GNU Autoconf) 2.69.117-1717-dirty
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.现行版本:
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.https://stackoverflow.com/questions/23236142
复制相似问题