Not, it still doesn't. We replace the vsnprint func and remove the c99 in 
Makefile, then build continued.



-----Original Message-----
From: Nicholas Marriott [mailto:nicholas.marri...@gmail.com] 
Sent: 2012年3月27日 14:25
To: YU Tristan
Cc: tmux-users@lists.sourceforge.net
Subject: Re: Question about compile tmux on Solaris8

Does it work if you add #include <inttypes.h> to tmux.h?


On Mon, Mar 26, 2012 at 05:08:58AM +0000, YU Tristan wrote:
>    Any solution for this? Thank you!
> 
> 
> 
>    gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
>    -DPACKAGE_VERSION=\"1.6\" -DPACKAGE_STRING=\"tmux\ 1.6\"
>    -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
>    -DVERSION=\"1.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_UNISTD_H=1 -DHAVE_CURSES_H=1
>    -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_B64_NTOP=1
>    -DHAVE_LIBXNET=1 -DHAVE_DAEMON=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1
>    -DHAVE_DECL_OPTARG=0 -DHAVE_DECL_OPTIND=0 -DHAVE_DECL_OPTRESET=0
>    -DHAVE_BZERO=1 -DHAVE_SYSCONF=1 -DHAVE_PROC_PID=1 -I.   -D_XOPEN_SOURCE
>    -D_XOPEN_SOURCE_EXTENDED   -I. -I- -I/usr/local/include -D_XPG4_2
>    -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS  -I/home/olivec/local/include
>    -std=c99    -MT arguments.o -MD -MP -MF .deps/arguments.Tpo -c -o
>    arguments.o arguments.c
> 
>    In file included from /home/olivec/local/include/evutil.h:37,
> 
>                     from /home/olivec/local/include/event.h:57,
> 
>                     from tmux.h:28,
> 
>                     from arguments.c:24:
> 
>    /home/olivec/local/include/event2/util.h:431: error: parse error before
>    "evutil_strtoll"
> 
>    /home/olivec/local/include/event2/util.h:431: warning: type defaults to
>    `int' in declaration of `evutil_strtoll'
> 
>    /home/olivec/local/include/event2/util.h:431: warning: data definition has
>    no type or storage class In file included from
>    /home/olivec/local/include/event.h:73,
> 
>                     from tmux.h:28,
> 
>                     from arguments.c:24:
> 
>    /home/olivec/local/include/event2/buffer.h:202: error: parse error before
>    "uint64_t"
> 
>    /home/olivec/local/include/event2/buffer.h:210: error: parse error before
>    "uint64_t"
> 
>    In file included from /home/olivec/local/include/event.h:75,
> 
>                     from tmux.h:28,
> 
>                     from arguments.c:24:
> 
>    /home/olivec/local/include/event2/bufferevent.h:806: error: parse error
>    before "uint64_t"
> 
>    In file included from /home/olivec/local/include/event.h:78,
> 
>                     from tmux.h:28,
> 
>                     from arguments.c:24:
> 
>    /home/olivec/local/include/event2/tag.h:86: error: parse error before
>    "uint64_t"
> 
>    /home/olivec/local/include/event2/tag.h:91: error: parse error before
>    "uint64_t"
> 
>    /home/olivec/local/include/event2/tag.h:109: error: parse error before
>    "uint64_t"
> 
>    In file included from tmux.h:37,
> 
>                     from arguments.c:24:
> 
>    compat.h:37: error: parse error before "u_int64_t"
> 
>    compat.h:37: warning: type defaults to `int' in declaration of `u_int64_t'
> 
>    compat.h:37: warning: data definition has no type or storage class
> 
>    make: *** [arguments.o] Error 1
> 
> 

> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to