Hello,
global-6.6.4 is failed to build with newest gcc because -fno-common is enabled by default. /usr/bin/ld: ../libutil/libgloutil.a(args.o):/builddir/build/BUILD/global-6.6.3/libutil/args.c:42: multiple definition of `type'; global.o:/builddir/build/BUILD/global-6.6.3/global/global.c:134: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:459: global] Error 1 Successfully built with: diff --git a/global/global.c b/global/global.c index e406e89..0f0a430 100644 --- a/global/global.c +++ b/global/global.c @@ -131,7 +131,7 @@ int debug; int literal; /**< 1: literal search */ int print0; /**< --print0 option */ int format; -int type; /**< path conversion type */ +extern int type; /**< path conversion type */ int match_part; /**< match part only */ int abslib; /**< absolute path only in library project */ int use_color; /**< coloring */ -- PAVEL ZHUKOV SOFTWARE ENGINEER, RHCE, RHCVA Red Hat [email protected] IM: IRC: landgraf
