网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
07月06日漏签0天
linux吧 关注:509,610贴子:2,568,848
  • 看贴

  • 图片

  • 吧主推荐

  • 视频

  • 游戏

  • 1回复贴,共1页
<<返回linux吧
>0< 加载中...

安装Exuberant Ctags时make报错

  • 只看楼主
  • 收藏

  • 回复
  • kuideZ
  • -------x
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
请问这个问题怎么解决,执行configure时好像都没出问题怎么在这里就给报错了
PC-Admin-kuide)-[~/WgetDownload/ctags-5.8]
└─$ make
gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c args.c
In file included from /usr/include/features.h:510,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from args.c:17:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:491:61: error: missing ')' after "__has_attribute"
491 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
| ^
general.h:60:36: error: missing binary operator before token "("
60 | # define __unused__ __attribute__((unused))
| ^
make: *** [Makefile:220:args.o] 错误 1
以下是执行configure时的结果:
PC-Admin-kuide)-[~/WgetDownload/ctags-5.8]
└─$ ./configure
Exuberant Ctags, version 5.8
Linux 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64
checking whether to install link to etags... no
checking whether to install readtags object file... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for strip... strip
checking directory to use for temporary files... /tmp
checking whether #! works in shell scripts... yes
checking for case-insensitive filenames... no
checking selected sort method... external sort utility
checking for sort... yes
checking if sort accepts our command line... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking stat.h usability... no
checking stat.h presence... no
checking for stat.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking types.h usability... no
checking types.h presence... no
checking for types.h... no
checking for unistd.h... (cached) yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking for sys/stat.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking if L_tmpnam is defined in stdio.h... yes
checking if INT_MAX is defined in limits.h... yes
checking for size_t... yes
checking for off_t... yes
checking for fpos_t... yes
checking for clock_t... yes
checking for an ANSI C-conforming const... yes
checking if struct stat contains st_ino... no
checking for fnmatch... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for fgetpos... yes
checking for mkstemp... yes
checking for opendir... yes
checking for strerror... yes
checking for clock... yes
checking for remove... yes
checking for truncate... yes
checking for setenv... yes
checking for regcomp... yes
checking if regcomp works... no
configure: checking for new missing prototypes...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged


  • 不知起啥名字
  • ----x--x
    9
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
2024了,该考虑考虑LSP了,ctag这种老古董就算了。


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 1回复贴,共1页
<<返回linux吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示