Hmm. Solaris 9 was working a while ago so it should still work without too much trouble, but I have no access to any Solaris boxes anymore so I can't test.
Try adding #include <inttypes.h> to the other includes at the top of tmux.h? On Thu, Mar 01, 2012 at 12:40:26AM +0200, Robert Nusser wrote: > Hi, > > These errors seem to be beyond my comprehension! Would anyone please > be able to give me some advice. I would love it if I could get tmux > working on this old Solaris box! > > > bash-2.05$ cd tmux-1.6 > bash-2.05$ ./configure > ... > ... > bash-2.05$ make > 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_CLOSEFROM=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. > -I/usr/local/include -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED > -I. -I- -I/usr/local/include -D_XPG4_2 -D__EXTENSIONS__ > -D_POSIX_PTHREAD_SEMANTICS -std=c99 -MT arguments.o -MD -MP -MF > .deps/arguments.Tpo -c -o arguments.o arguments.c > In file included from /usr/local/include/evutil.h:37, > from /usr/local/include/event.h:57, > from tmux.h:28, > from arguments.c:24: > /usr/local/include/event2/util.h:431: error: parse error before > "evutil_strtoll" > In file included from /usr/local/include/event.h:73, > from tmux.h:28, > from arguments.c:24: > /usr/local/include/event2/buffer.h:202: error: parse error before "uint64_t" > /usr/local/include/event2/buffer.h:210: error: parse error before "uint64_t" > In file included from /usr/local/include/event.h:75, > from tmux.h:28, > from arguments.c:24: > /usr/local/include/event2/bufferevent.h:806: error: parse error before > "uint64_t" > In file included from /usr/local/include/event.h:78, > from tmux.h:28, > from arguments.c:24: > /usr/local/include/event2/tag.h:86: error: parse error before "uint64_t" > /usr/local/include/event2/tag.h:91: error: parse error before "uint64_t" > /usr/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 > *** Error code 1 > make: Fatal error: Command failed for target `arguments.o' > bash-2.05$ > > bash-2.05$ gcc -v > Reading specs from /opt/sfw/gcc-3/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs > Configured with: ../gcc-3.3.2/configure --prefix=/opt/sfw/gcc-3 > --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as --without-gnu-ld > --without-gnu-as --enable-shared > Thread model: posix > gcc version 3.3.2 > > I compiled and installed libevent-2.0.17-stable without problems. > > Any ideas? > > Thanks, > Robert > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users