From xemacs-m  Thu Jun 26 06:46:03 1997
Received: from ns.jsys.co.jp (ns.jsys.co.jp [202.33.240.82])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id GAA05330
	for <xemacs-beta@xemacs.org>; Thu, 26 Jun 1997 06:45:57 -0500 (CDT)
Received: from cosmos.jsys.co.jp (cosmos.jsys.co.jp [172.31.80.5])
	by ns.jsys.co.jp (8.8.6/8.8.6) with ESMTP id UAA27930;
	Thu, 26 Jun 1997 20:45:42 +0900 (JST)
Received: from skywalk.jsys.co.jp (j-04110.jsys.co.jp [172.31.49.72])
	by cosmos.jsys.co.jp (8.8.6/8.8.6/NOTES) with ESMTP id UAA03211;
	Thu, 26 Jun 1997 20:45:41 +0900 (JST)
Received: (from ienaga@localhost) by skywalk.jsys.co.jp (8.8.5/3.5Wpl2) id UAA22732; Thu, 26 Jun 1997 20:45:26 +0900 (JST)
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: xemacs-beta@xemacs.org
Subject: Re: 20.3 Sofia OK on FreeBSD 2.2.2
References: <rys4tal68ou.fsf@skywalk.jsys.co.jp> <199706261113.EAA06871@xemacs.eng.sun.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 26 Jun 1997 20:45:25 +0900
In-Reply-To: Martin Buchholz's message of "Thu, 26 Jun 1997 04:13:25 -0700"
Message-ID: <ryswwnh4mga.fsf@skywalk.jsys.co.jp>
Lines: 59
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta9) - "Sofia"
X-Face:  czfHfB+cCdftWr4Fwe9^^-!_PKouj^vkcIk4Hg_xxx<~JF.4vv)^7jM;w_w'(UZ#{K&xpz:
 [v3`j%a.u`CP*Tbsm[N0PYlk&+xt3Vd1KZL%'I+v,:*0\(akF?Vf>l_VeOHH]2.Z6^e_O;zDZJW.


Martin Buchholz <mrb@Eng.Sun.COM> writes:

> Kazu> Compilation was going well when I changed src/s/freebsd.h as bellow:
> 
> Kazu> --- freebsd.h	1997/06/23 04:03:16	1.1

> Kazu> +#define LINKER "$(CC) -nostdlib"
> 
> See if you can get it working with something like:
> 
> #define ORDINARY_LINK
> #define LD_SWITCH_SYSTEM ""
> #define START_FILES ""

OK.
I wish I test it right now, but today is my 34th birthday and I have
to go back home soon...
So I'll compile with setting those above defines you mentioned into
src/s/freebsd.h tonight and will report the result next morining.


Now, I configured and started compilation.
The compilation seems working well.


While I'd been writing this message, the compilation has finished :-)

The newly compiled XEmacs has no problem.

Thanks Martin!

> instead (or get me a guest account).

Oops, I can't if I wish.
Because I'm living within a firewall.


> Kazu> It was a first attempt that link both Wnn6 and Canna into XEmacs,
> Kazu> and I got a link time error that there's an undefined symbol, crypt.
> Kazu> Because FreeBSD version of wnn library has a undef-symbol "crypt" in
> Kazu> it and FreeBSD does not have the function in its libc but in libcrypt.
> 
> Kazu> So I have to add -lcrypt in src/Makefile.
> 
> So we should test if -lwnn depends on -lcrypt??

Yes.
For instance, SunOS5.x has a crypt in /usr/lib/libc.*, but FreeBSD
does not have a crypt function in libc.

    1.  If wnn is selected.
    2.  If the operating system (opsys) does not have a crypt in libc.
    3.  Check if the opsys has libcrypt.*, then add -lcrypt to
	libs_system or libs_standard.

I checked my old system (SunOS4.1.3) running Wnn4 whether the libwnn.a 
has the symbol crypt or not.
Wnn4's libwnn has a symbol crypt too.

