I downloaded the newest version of global(v6.6.3), wanted to complier it in my centOS system. run the commend as below:
../libutil/libgloutil.a(secure_popen.o): In function `__strspn_c3':
/usr/include/bits/string2.h:1072: multiple definition of `__strspn_c3'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1072: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strpbrk_c2':
/usr/include/bits/string2.h:1126: multiple definition of `__strpbrk_c2'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1126: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strpbrk_c3':
/usr/include/bits/string2.h:1137: multiple definition of `__strpbrk_c3'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1137: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strtok_r_1c':
/usr/include/bits/string2.h:1175: multiple definition of `__strtok_r_1c'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1175: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strsep_1c':
/usr/include/bits/string2.h:1223: multiple definition of `__strsep_1c'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1223: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strsep_2c':
/usr/include/bits/string2.h:1234: multiple definition of `__strsep_2c'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1234: first defined here
../libutil/libgloutil.a(secure_popen.o): In function `__strsep_3c':
/usr/include/bits/string2.h:1262: multiple definition of `__strsep_3c'
../libutil/libgloutil.a(args.o):/usr/include/bits/string2.h:1262: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [global] Error 1
make[2]: Leaving directory `/tmp/global-6.6.3/global'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/global-6.6.3'
make: *** [all] Error 2
It seems like a link issue, could you please give me some suggestion to solve it? I really want to use the gtags tool.
Thanks a lot.