(view as text)
depbase=`echo cmd-show-prompt-history.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" -DPACKAGE_VERSION=\"next-3.6\" -DPACKAGE_STRING=\"tmux\ next-3.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\" -DVERSION=\"next-3.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UCRED_H=1 -DHAVE_LIBM=1 -DHAVE_GETPEERUCRED=1 -DHAVE_SYSCONF=1 -DHAVE_ASPRINTF=1 -DHAVE_CLOSEFROM=1 -DHAVE_GETDTABLESIZE=1 -DHAVE_SETENV=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_EVENT2_EVENT_H=1 -DHAVE_CURSES_H=1 -DHAVE_TIPARM=1 -DHAVE_B64_NTOP=1 -DHAVE_LIBXNET=1 -DHAVE_PROC_PID=1 -I. -I/opt/csw/include -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -DTMUX_VERSION='"next-3.6"' -DTMUX_CONF='"/etc/tmux.conf:~/.tmux.conf:$XDG_CONFIG_HOME/tmux/tmux.conf:~/.config/tmux/tmux.conf"' -DTMUX_LOCK_CMD='"lock -np"' -DTMUX_TERM='"tmux-256color"' -DDEBUG -iquote. -D_XPG6 -std=gnu99 -O2 -g -Wno-long-long -Wall -W -Wformat=2 -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wundef -Wbad-function-cast -Winline -Wcast-align -Wdeclaration-after-statement -Wno-pointer-sign -Wno-attributes -Wno-unused-result -Wno-format-y2k -MT cmd-show-prompt-history.o -MD -MP -MF $depbase.Tpo -c -o cmd-show-prompt-history.o cmd-show-prompt-history.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from tmux.h:35:0,
from cmd-show-prompt-history.c:19:
compat.h:480:28: error: conflicting types for 'BSDoptarg'
#define optarg BSDoptarg
^
compat.h:473:20: note: previous declaration of 'BSDoptarg' was here
extern const char *BSDoptarg;
^
gmake: *** [Makefile:1002: cmd-show-prompt-history.o] Error 1