From xemacs-m  Sun Jun 22 22:13:26 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 WAA24497
	for <xemacs-beta@xemacs.org>; Sun, 22 Jun 1997 22:13:19 -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 MAA10594
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 12:13:03 +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 MAA16713
	for <xemacs-beta@xemacs.org>; Mon, 23 Jun 1997 12:13:02 +0900 (JST)
Received: (from ienaga@localhost) by skywalk.jsys.co.jp (8.8.5/3.5Wpl2) id MAA11644; Mon, 23 Jun 1997 12:12:37 +0900 (JST)
To: xemacs-beta@xemacs.org
Subject: 20.3-b9 configure failure on FreeBSD 2.2.2 (Re: 20.3-b8: configure faliure on BSD/OS 2.0)
References: <QQcvbg17922.199706221701@crystal.WonderWorks.COM>
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Jun_23_12:12:35_1997-1"
Content-Transfer-Encoding: 7bit
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 23 Jun 1997 12:12:36 +0900
In-Reply-To: Kyle Jones's message of "Sun, 22 Jun 1997 13:01:47 -0400 (EDT)"
Message-ID: <ryspvtexba3.fsf@skywalk.jsys.co.jp>
Lines: 142
X-Mailer: Gnus v5.4.56/XEmacs 20.3(beta7) - "Oslo"
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.


--Multipart_Mon_Jun_23_12:12:35_1997-1
Content-Type: text/plain; charset=US-ASCII

Kyle Jones <kyle_jones@wonderworks.com> writes:

> I had to replace each \t in this code with a tab.
> 
> eval `$CPP -Isrc $tempcname \ 
>        | sed -n -e "s/[ \t]*=[ \t\"]*/='/" -e "s/[ \t\"]*\$/'/"
>        -e "s/^configu\
> re___//p"` 
> 
> Otherwise libraries with a trailng 't' in their name got the 't'
> stripped off, leading to link failures in the config tests,
> SIZEOF_SHORT == 0, PANIC, exit.

On FreeBSD 2.2.2, same as abobe.
The last element of $LD_SWITCH_SYSTEM ("-dc -dp -e start") in
src/s/freebsd.h was stripped off to "star".


--Multipart_Mon_Jun_23_12:12:35_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="config.log.1"
Content-Transfer-Encoding: 7bit

configure:3439: checking size of short
configure:3453: gcc -o conftest -g -O2   -I/usr/local/canna/include         -Xlinker -dc -Xlinker -dp -Xlinker -e -Xlinker star   conftest.c       -lutil -lxpg4 -lc 1>&5
Undefined entry symbol `star'
ld: Spurious undefined symbols: # undefined symbols 1, reported 0
configure: failed program was:
#line 3442 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(short));
  exit(0);
}

--Multipart_Mon_Jun_23_12:12:35_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="config.step.1"
Content-Transfer-Encoding: 7bit

checking whether ln -s works... yes
checking the configuration name
    xemacs will be linked with "debug.o"
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether we are using SunPro C... no
Extracting information from the machine- and system-dependent headers...
libs_machine = ''
libs_system = '-lutil -lxpg4'
libs_termcap = '-ltermcap'
libs_standard = ''
objects_machine = ''
objects_system = ''
c_switch_machine = ''
c_switch_system = ''
c_switch_x_system = ''
ld_switch_machine = ''
ld_switch_system = '-dc -dp -e star'
ld_switch_x_system = ''
unexec = 'unexfreebsd.o'
ld_switch_call_shared = ''
ld_switch_shared = '-c'
ld = 'ld'
lib_gcc = '-lgcc'
ld_text_start_addr = ''
start_files = 'pre-crt0.o /usr/lib/crt0.o'
ordinary_link = 'no'
have_terminfo = 'no'
mail_use_flock = 'yes'
mail_use_lockf = 'no'

    xemacs will be linked with "unexfreebsd.o"
checking for dynodump... no
    Appending "-I/usr/local/canna/include" to $c_switch_site
checking for runtime libraries flag... NONE
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for mach/mach.h... no
checking for sys/stropts.h... no
checking for sys/timeb.h... yes
    Defining HAVE_SYS_TIMEB_H
checking for sys/time.h... yes
    Defining HAVE_SYS_TIME_H
checking for unistd.h... yes
    Defining HAVE_UNISTD_H
checking for utime.h... yes
    Defining HAVE_UTIME_H
checking for locale.h... yes
    Defining HAVE_LOCALE_H
checking for libgen.h... no
checking for fcntl.h... yes
    Defining HAVE_FCNTL_H
checking for linux/version.h... no
checking for kstat.h... no
checking for sys/pstat.h... no
checking for inttypes.h... no
checking for limits.h... yes
    Defining HAVE_LIMITS_H
checking for sys/wait.h that is POSIX.1 compatible... yes
    Defining HAVE_SYS_WAIT_H
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
    Defining TIME_WITH_SYS_TIME
checking for sys_siglist declaration in signal.h or unistd.h... yes
    Defining SYS_SIGLIST_DECLARED
checking for struct utimbuf... yes
    Defining HAVE_STRUCT_UTIMBUF
checking return type of signal handlers... void
    Defining RETSIGTYPE = void
checking for size_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for struct timeval... yes
    Defining HAVE_TIMEVAL
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
    Defining HAVE_TM_ZONE
checking for working const... yes
checking whether make sets ${MAKE}... yes
checking whether byte ordering is bigendian... no
checking size of short... 0
    Defining SIZEOF_SHORT = 0

*** PANIC *** Configure tests are not working - compiler is broken.
*** PANIC *** Please examine config.log for compilation errors.

--Multipart_Mon_Jun_23_12:12:35_1997-1--

