From owner-freebsd-questions Thu Jan 9 10:27:22 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 633F437B401 for ; Thu, 9 Jan 2003 10:27:20 -0800 (PST) Received: from smtp801.mail.sc5.yahoo.com (smtp801.mail.sc5.yahoo.com [66.163.168.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A61643EB2 for ; Thu, 9 Jan 2003 10:27:20 -0800 (PST) (envelope-from fscked@pacbell.net) Received: from adsl-67-120-104-101.dsl.snfc21.pacbell.net (HELO pacbell.net) (fscked@pacbell.net@67.120.104.101 with plain) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 9 Jan 2003 18:27:19 -0000 Message-ID: <3E1DBEF5.55EE2A80@pacbell.net> Date: Thu, 09 Jan 2003 10:27:01 -0800 From: richard childers / kg6hac X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: replacement for byteorder.h ? (re olvwm(1)) References: <3E1DBB74.F4ABBEF@pacbell.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As is so often the case, articulating the problem led to a resolution; it looks like linking sys/byteorder.h to machine/endian.h is an effective workaround. Still working on olvwm, though; it complains, now, about conflicting definitions of sys_errlist[] and wchar_t ... aiyah. Hope this helps someone else, down the line. -- richard richard childers / kg6hac wrote: > I'm trying to compile olvwm(1), v4.4, for FreeBSD 4.6 on an i386 > box. > > It's looking for sys/byteorder.h and not finding it. > > My research indicates that linking sys/byteorder.h to > netinet/in.h doesn't work. (It was a workaround suggested on one > of the URLs I read.) > > I understand the issues being addressed here - they are > fundamental, big-endian versus little-endian architectures. > However, I do not normally have the time and leisure to explore > such interesting topics (unemployment, properly treated, can be > the equivalent of what, in more scholastic environments, are > referred to as 'going on sabbatical' :-); I am trying to make > effective use of this precious period of free study. > > For what it's worth, xview and xview-ports are both installed > without problems; I have olwm(1), I just want olvwm(1), it's my > preferred 'vwm, very useful for keeping work segmented onto > different desktops according to system or window role > (development servers on *this* desktop, production servers on > *that* desktop, network analysis tools on *these* three desktops, > email over here, and HTTP clients on these four desktops at the > bottom, for instance - stretch as needed). > > I'm going to use my buddy find(1) to search for files containing > strings referencing 'endian' and ending in '.h' (or '.c', to see > what's being included, if my first efforts fail), and I haven't > given up on figuring this out myself, but thought I'd inquire of > others whom might face these issues on a daily, rather than > decade-periodic, basis, in the hopes that I'd save myself a few > hours (or days), and maybe learn something, too. > > Thanks in advance, > > -- richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message