Hi,

I noticed that tmux from GIT is failing to compile on Solaris in my Continous 
Build:
  
https://buildfarm.opencsw.org/buildbot/builders/tmux-solaris10-sparc/builds/46/steps/shell_2/logs/stdio

The error is

> /opt/SUNWspro/bin/cc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\" 
> -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"tmux\ 2.0\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\" 
> -DVERSION=\"2.0\" -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_STDINT_H=1 
> -DHAVE_B64_NTOP=1 -DHAVE_LIBXNET=1 -DHAVE_CLOSEFROM=1 -DHAVE_DAEMON=1 
> -DHAVE_SETENV=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_ASPRINTF=1 
> -DHAVE_OPENAT=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/opt/csw/include    -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED 
> -DTMUX_CONF="\"/etc/tmux.conf\""     -D_XPG4_2 -D__EXTENSIONS__ 
> -D_POSIX_PTHREAD_SEMANTICS       -erroff=E_EMPTY_DECLARATION -c -o client.o 
> client.c
> 
> "client.c", line 77: warning: implicit function declaration: open
> "client.c", line 77: undefined symbol: O_WRONLY
> "client.c", line 77: undefined symbol: O_CREAT
> "client.c", line 352: undefined symbol: O_RDONLY
> cc: acomp failed for client.c

In Solaris open needs some includes to be recognized:

> NAME
>      open, openat - open a file
> 
> SYNOPSIS
>      #include <sys/types.h>
>      #include <sys/stat.h>
>      #include <fcntl.h>
> 
>      int open(const char *path, int oflag, /* mode_t mode */);

This URL always gives you the latest tmux builds:
  
https://buildfarm.opencsw.org/buildbot/waterfall?builder=tmux-solaris10-i386&builder=tmux-solaris10-sparc&reload=300


Best regards

  -- Dago
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to