From xemacs-m  Sun May 11 08:54:07 1997
Received: from gadid.idb.hist.no (root@gadid.idb.hist.no [158.38.62.111])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA28830
	for <xemacs-beta@xemacs.org>; Sun, 11 May 1997 08:54:06 -0500 (CDT)
Sender: stigb@gadid.idb.hist.no (Stig Bjorlykke)
Sender: stigb@gadid.idb.hist.no
To: xemacs-beta@xemacs.org
Subject: 20.2-b6: SUCCESS on intel-unknown-freebsd, but ...
X-Face: 7U?{qG*};!";6^sh9?-.]Hb$z},N"8X;:W@c[5~aStGFgXrHNt*B@l\%&nc:"4MOpYwk-[z
 c./^DGb:~Jv{_'^?tXL0\=4>42}41AoD6G*Jj$:>lyu~:R-rA3BMejs/X%o:reGb&%L@Z{HIjRL10v
 0|h,R0sQSrde5~?N4c0/i
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
From: Stig Bjorlykke <stigb@colargol.idb.hist.no>
Date: 11 May 1997 15:54:03 +0200
Message-ID: <4rn2q2yv0k.fsf@gadid.idb.hist.no>
Lines: 51
X-Mailer: Gnus v5.4.37/XEmacs 19.15


./configure  'i586-unknown-freebsd'


Configured for `i586-unknown-freebsd'.

  Where should the build process find the source code?    /usr/local/src/xemacs-20.2-b6
  What installation prefix should install use?            /usr/local
  What operating system and machine description files should XEmacs use?
        `s/freebsd.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc  -g -O 
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for GIF image conversion.
  Compiling in support for Berkeley DB.
  Compiling in support for DBM.
  Compiling in support for ncurses.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.


... but I'm getting _alot_ of warnings like:

In file included from /usr/local/src/xemacs-20.2-b6/lib-src/make-docfile.c:53:
/usr/include/sys/param.h:46: warning: `BSD' redefined
../src/s/freebsd.h:90: warning: this is the location of the previous definition

The "BSD" is defined both in param.h and freebsd.h (and some more .h
files), and the param.h doesn't do any check to see if "BSD" is
defined before.  It seems like the param.h should be included before
any other .h files that define it.  I don't know anything about
earlier versions of FreeBSD so I don't know if anything can be removed
or changed in the XEmacs files.  (I have just started using
FreeBSD-2.2.1)

If I edit the param.h and put in a "#ifndef BSD" (or maybe a "#undef
BSD"?) the warnings get away, of course, but I don't think this is the
right thing to do.

Is this a XEmacs or a FreeBSD "error"?


-- 
Stig Bjrlykke
Red Hat Linux User

