Solaris doesn't implement flock, it needs to be implemented by using fcntl or perhaps lockf, like in the SF bug report.
On Tue, Nov 27, 2012 at 03:54:40PM +0000, John Long wrote: > On Tue, Nov 27, 2012 at 03:31:18PM +0000, Philip Herron wrote: > > The error is just: > > > > "client.c", line 82: warning: implicit function declaration: flock > > "client.c", line 82: undefined symbol: LOCK_EX > > "client.c", line 82: undefined symbol: LOCK_NB > > "client.c", line 247: warning: implicit function declaration: cfmakeraw > > > > can't seem to figure out where that flock prototype should be on > > solaris. Trying to see if i can figure out a fix kind of find this > > interesting. Maybe you have some ideas already. > > The usual suspects are /usr/include /usr/include/sys /usr/ucbinclude and for > gnu they use /usr/sfw/include. I did find various header files there but > when I looked in the tmux source for client.c it seems to already be > including what I thought should be used. Then when I added /usr/ucbinclude > to the include path it broke even worse. Sorry, I've tried so many different > twists and turns I don't remember what exactly went wrong, only that nothing > so far worked. > > -- > ASCII ribbon campaign ( ) Powered by Lemote Fuloong > against HTML e-mail X Loongson MIPS and OpenBSD > and proprietary / \ http://www.mutt.org > attachments / \ Code Blue or Go Home! > Encrypted email preferred PGP Key 2048R/DA65BC04 > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users