Skip to content

Instantly share code, notes, and snippets.

@unxmaal
Created May 24, 2019 00:40
Show Gist options
  • Save unxmaal/99e0915fdf965692210a83ebacc96d96 to your computer and use it in GitHub Desktop.
Save unxmaal/99e0915fdf965692210a83ebacc96d96 to your computer and use it in GitHub Desktop.
--- lzmadec-xzdec.o ---
In file included from /opt/local/gcc-8.2.0/lib/gcc/mips-sgi-irix6.5/8.2.0/include-fixed/internal/stdio_core.h:424,
from /opt/local/gcc-8.2.0/lib/gcc/mips-sgi-irix6.5/8.2.0/include-fixed/stdio.h:18,
from /usr/include/inttypes.h:185,
from /usr/pkgsrc/archivers/xz/work/.buildlink/include/inttypes.h:1,
from ../../src/common/sysdefs.h:36,
from xzdec.c:13:
../../config.h:474:25: error: conflicting types for 'rpl_getopt_long'
#define __GETOPT_PREFIX rpl_
^~~~
../../lib/getopt.h:49:43: note: in expansion of macro '__GETOPT_PREFIX'
# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
^~~~~~~~~~~~~~~
../../config.h:474:25: note: previous declaration of 'rpl_getopt_long' was here
#define __GETOPT_PREFIX rpl_
^~~~
../../config.h:474:25: warning: redundant redeclaration of 'rpl_optarg' [-Wredundant-decls]
#define __GETOPT_PREFIX rpl_
^~~~
../../lib/getopt.h:49:43: note: in expansion of macro '__GETOPT_PREFIX'
# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
^~~~~~~~~~~~~~~
../../config.h:474:25: note: previous declaration of 'rpl_optarg' was here
#define __GETOPT_PREFIX rpl_
^~~~
../../config.h:474:25: warning: redundant redeclaration of 'rpl_opterr' [-Wredundant-decls]
#define __GETOPT_PREFIX rpl_
^~~~
../../lib/getopt.h:49:43: note: in expansion of macro '__GETOPT_PREFIX'
# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
^~~~~~~~~~~~~~~
../../config.h:474:25: note: previous declaration of 'rpl_opterr' was here
#define __GETOPT_PREFIX rpl_
^~~~
../../config.h:474:25: warning: redundant redeclaration of 'rpl_optind' [-Wredundant-decls]
#define __GETOPT_PREFIX rpl_
^~~~
../../lib/getopt.h:49:43: note: in expansion of macro '__GETOPT_PREFIX'
# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
^~~~~~~~~~~~~~~
../../config.h:474:25: note: previous declaration of 'rpl_optind' was here
#define __GETOPT_PREFIX rpl_
^~~~
../../config.h:474:25: warning: redundant redeclaration of 'rpl_optopt' [-Wredundant-decls]
#define __GETOPT_PREFIX rpl_
^~~~
../../lib/getopt.h:49:43: note: in expansion of macro '__GETOPT_PREFIX'
# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
^~~~~~~~~~~~~~~
../../config.h:474:25: note: previous declaration of 'rpl_optopt' was here
#define __GETOPT_PREFIX rpl_
^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment