On Thursday 27 Feb 2014 17:17:13 Marcel Partap wrote:
> > It fails to compile
> 
> more exactly:
> > depbase=`echo tty-term.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> > gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
> > -DPACKAGE_VERSION=\"1.10\" -DPACKAGE_STRING=\"tmux\ 1.10\"
> > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
> > -DVERSION=\"1.10\" -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 -DHAVE_CURSES_H=1
> > -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
> > -DHAVE_NCURSES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1
> > -DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1
> > -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1
> > -DHAVE_STRSEP=1 -DHAVE_CFMAKERAW=1 -DHAVE_OPENAT=1
> > -DHAVE_DECL_OPTARG=1 -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0
> > -DHAVE_BZERO=1 -DHAVE_DIRFD=1 -DHAVE_SYSCONF=1 -DHAVE_CFMAKERAW=1
> > -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I.
> > -DTMUX_CONF="\"/etc/tmux.conf\"" -DDEBUG -iquote.
> > -I/usr/local/include     -D_GNU_SOURCE -std=gnu99 -O0 -g
> > -Wno-long-long -Wall -W -Wnested-externs -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  -MT tty-term.o -MD
> > -MP -MF $depbase.Tpo -c -o tty-term.o tty-term.c &&\
> > 
> >         mv -f $depbase.Tpo $depbase.Po
> > 
> > In file included from tty-term.c:31:0:
> > tmux.h:1168:16: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’
> > before ‘->’ token> 
> >   u_int lines;
> >   
> >                 ^
> > 
> > make: *** [tty-term.o] Error 1
> 
> which makes absolutely no sense to me.

I usually find it helpful to compile with clang in these situations 
(CC=/usr/bin/clang and 
CXX=/usr/bin/clang++). The error messages are usually much more helpful.

Paul
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to