From xemacs-m  Wed Jul 16 07:14:23 1997
Received: from bcarsde4.localhost (mailgate.nortel.ca [192.58.194.74])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id HAA12192
	for <xemacs-beta@xemacs.org>; Wed, 16 Jul 1997 07:14:15 -0500 (CDT)
Received: from bcarsde5.ott.bnr.ca (actually 47.80.6.26) by bcarsde4.localhost;
          Wed, 16 Jul 1997 08:05:25 -0400
Received: from nquah6f (actually nquah6f.ott.bnr.ca) by bcarsde5.ott.bnr.ca;
          Wed, 16 Jul 1997 08:11:45 -0400
Received: by nquah6f (1.38.193.4/16.2 BNR V4.2 P1) id AA06074;
          Wed, 16 Jul 1997 08:11:09 -0400
From: "Barry Friedman" <friedman@nortel.ca>
Message-Id: <9707161211.AA06074@nquah6f>
Subject: 20.3-beta13 build failed with hp-cc
To: mrb@Eng.Sun.COM
Date: Wed, 16 Jul 1997 08:11:09 -0400 (EDT)
Cc: xemacs-beta@xemacs.org
Reply-To: "Barry Friedman" <friedman@nortel.ca>
X-Mailer: ELM [version 2.4.1 PL23]
Content-Type: text

As has been the case since the major revision to the configure process,
XEmacs will not compile with the native hp ansi-C compiler c89.

cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/sorted-doc.c alloca.o  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o sorted-doc
/bin/ld: Unsatisfied symbols:
   xmalloc (code)

Unfortunately I can't offer you access to a machine to test this on
but if you could explain what is going on with xmalloc in the make
perhaps I could help to fix this.  I have tried --use-system-malloc 
with the same results.

--verbose --debug=yes --compiler=cc  --with-gnu-make  --dynamic=yes  
--with-xpm=yes  --x-includes=/usr/include/X11R5  --x-libraries=/usr/lib/X11R5 
--bindir=$USRLOCAL/bin/$CONFIG  


Here is the make output:  

hppa1.1-hp-hpux9.03
checking whether ln -s works... yes
Making symbolic link to ../xemacs-20.0/lisp
Making symbolic link to ../xemacs-20.0/etc
Making symbolic link to ../xemacs-20.0/man
Making symbolic link to ../xemacs-20.0/info
Making symbolic link to ../xemacs-20.0/site-lisp
    Defining EMACS_MAJOR_VERSION = 20
    Defining EMACS_MINOR_VERSION = 3
    Defining EMACS_BETA_VERSION = 13
    Defining XEMACS_CODENAME = "Brussels"
    Defining EMACS_VERSION = "20.3-b13"
    Defining ERROR_CHECK_EXTENTS
    Defining ERROR_CHECK_TYPECHECK
    Defining ERROR_CHECK_BUFPOS
    Defining ERROR_CHECK_GC
    Defining ERROR_CHECK_MALLOC
    xemacs will be linked with "debug.o"
    Defining DEBUG_XEMACS
    Defining USE_ASSERTIONS
    Defining MEMORY_USAGE_STATS
checking the configuration name
    xemacs will be linked with "strcat.o"
    Defining CANONICAL_VERSION = 20_3_b13_hppa1_1_hp_hpux9_03
checking for gcc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking how to run the C preprocessor... cc -Aa -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 = ''
libs_termcap = '-ltermcap'
libs_standard = ''
objects_machine = ''
objects_system = ''
c_switch_machine = ''
c_switch_system = '-Ae -Wp,-H100000'
c_switch_x_system = '-I/usr/include/X11R5 -I/usr/include/Motif1.2'
ld_switch_machine = ''
ld_switch_system = ''
ld_switch_x_system = '-L/usr/lib/X11R5 -L/usr/lib/Motif1.2'
unexec = 'unexhp9k800.o'
ld_switch_shared = '-c'
ld = '$(CC) $(CFLAGS)'
lib_gcc = ''
ld_text_start_addr = ''
start_files = ''
ordinary_link = 'yes'
have_terminfo = 'yes'
mail_use_flock = 'no'
mail_use_lockf = 'no'

    xemacs will be linked with "unexhp9k800.o"
checking for dynodump... no
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/local/bin/install -c
checking for bison... bison -y
checking for mach/mach.h... no
checking for sys/stropts.h... yes
    Defining HAVE_SYS_STROPTS_H
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 ulimit.h... yes
    Defining HAVE_ULIMIT_H
checking for linux/version.h... no
checking for kstat.h... no
checking for sys/pstat.h... yes
    Defining HAVE_SYS_PSTAT_H
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... yes
    Defining STDC_HEADERS
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... no
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... no
checking for tzname... yes
    Defining HAVE_TZNAME
checking for working const... yes
checking whether make sets ${MAKE}... yes
checking whether byte ordering is bigendian... yes
    Defining WORDS_BIGENDIAN
checking size of short... 2
    Defining SIZEOF_SHORT = 2
checking size of int... 4
    Defining SIZEOF_INT = 4
checking size of long... 4
    Defining SIZEOF_LONG = 4
checking size of long long... 8
    Defining SIZEOF_LONG_LONG = 8
checking size of void *... 4
    Defining SIZEOF_VOID_P = 4
checking for long file names... yes
    Defining HAVE_LONG_FILE_NAMES
checking for sqrt in -lm... yes
    Defining HAVE_LIBM
    Prepending "-lm" to $LIBS
    Defining LISP_FLOAT_TYPE
checking type of mail spool file locking
checking for kstat_open in -lkstat... no
checking for kvm_read in -lkvm... no
checking for cma_open in -lpthreads... no
checking whether the -xildoff compiler flag is required... no
checking for specified window system
checking for X... libraries /usr/lib/X11R5, headers /usr/include/X11R5
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
    Defining HAVE_X_WINDOWS
    Appending "lwlib" to $MAKE_SUBDIR
    Prepending "-L/usr/lib/Motif1.2" to $X_LIBS
    Prepending "-I/usr/include/Motif1.2" to $X_CFLAGS

X11 compilation variables:
x_libraries = '/usr/lib/Motif1.2 /usr/lib/X11R5'
x_includes = '/usr/include/Motif1.2 /usr/include/X11R5'
X_CFLAGS = '-I/usr/include/Motif1.2  -I/usr/include/X11R5'
X_LIBS = '-L/usr/lib/Motif1.2  -L/usr/lib/X11R5'
X_PRE_LIBS = ''
X_EXTRA_LIBS = ''

checking for X defines extracted by xmkmf
    Defining SYSV
checking for X11/Intrinsic.h... yes
checking for XOpenDisplay in -lX11... yes
    Setting libs_x to "-lX11"
checking for XShapeSelectInput in -lXext... yes
    Prepending "-lXext" to $libs_x
checking for XtOpenDisplay in -lXt... yes
    Prepending "-lXt" to $libs_x
checking the version of X11 being used... R5
    Defining THIS_IS_X11R5
checking for X11/Xlocale.h... yes
    Defining HAVE_X11_XLOCALE_H
checking for XFree86... no
checking for XmuReadBitmapDataFromFile in -lXmu... yes
    Prepending "-lXmu" to $libs_x
checking for main in -lXbsd... no
checking for XawScrollbarSetThumb in -lXaw... yes
checking for X11/Xaw/Reports.h... yes
    Appending "pkg-src/tree-x" to $MAKE_SUBDIR
    Appending "pkg-src/tree-x" to $INSTALL_ARCH_DEP_SUBDIR
  Using X11.
checking for X11/Xauth.h... no
checking for OffiX/DragAndDrop.h... no
checking for tt_c.h... no
checking for Tt/tt_c.h... no
checking for desktop/tt_c.h... no
checking for Dt/Dt.h... no
checking for graphics libraries
    Defining HAVE_GIF
    xemacs will be linked with "dgif_lib.o gif_err.o gifalloc.o"
checking for Xpm - no older than 3.4f... yes
    Defining HAVE_XPM
    Prepending "-lXpm" to $libs_x
checking for compface.h... no
checking for jpeglib.h... no
checking for png.h... no
checking for Xm/Xm.h... yes
checking for XmStringFree in -lXm... yes
    Defining LWLIB_USES_MOTIF
    Defining NEED_MOTIF
    Appending "lwlib-Xm.o" to $lwlib_objs
    Appending "xlwmenu.o" to $lwlib_objs
    Appending "xlwscrollbar.o" to $lwlib_objs
    Defining NEED_LUCID
    Appending "lwlib-Xlw.o" to $lwlib_objs
    Defining HAVE_MENUBARS
    Defining HAVE_SCROLLBARS
    Defining HAVE_DIALOGS
    Defining HAVE_TOOLBARS
    Defining LWLIB_MENUBARS_LUCID
    Defining LWLIB_SCROLLBARS_LUCID
    Defining LWLIB_DIALOGS_MOTIF
    xemacs will be linked with "menubar.o"
    xemacs will be linked with "scrollbar.o"
    xemacs will be linked with "dialog.o"
    xemacs will be linked with "toolbar.o"
    xemacs will be linked with "gui.o"
    xemacs will be linked with "menubar-x.o"
    xemacs will be linked with "scrollbar-x.o"
    xemacs will be linked with "dialog-x.o"
    xemacs will be linked with "toolbar-x.o"
    xemacs will be linked with "gui-x.o"
    Prepending "-lXm" to $libs_x
checking for acosh... yes
    Defining HAVE_ACOSH
checking for asinh... yes
    Defining HAVE_ASINH
checking for atanh... yes
    Defining HAVE_ATANH
checking for cbrt... yes
    Defining HAVE_CBRT
checking for closedir... yes
    Defining HAVE_CLOSEDIR
checking for dup2... yes
    Defining HAVE_DUP2
checking for eaccess... no
checking for fmod... yes
    Defining HAVE_FMOD
checking for fpathconf... yes
    Defining HAVE_FPATHCONF
checking for frexp... yes
    Defining HAVE_FREXP
checking for ftime... yes
    Defining HAVE_FTIME
checking for gethostname... yes
    Defining HAVE_GETHOSTNAME
checking for getpagesize... no
checking for gettimeofday... yes
    Defining HAVE_GETTIMEOFDAY
checking for getcwd... yes
    Defining HAVE_GETCWD
checking for getwd... no
checking for logb... yes
    Defining HAVE_LOGB
checking for lrand48... yes
    Defining HAVE_LRAND48
checking for matherr... yes
    Defining HAVE_MATHERR
checking for mkdir... yes
    Defining HAVE_MKDIR
checking for mktime... yes
    Defining HAVE_MKTIME
checking for perror... yes
    Defining HAVE_PERROR
checking for poll... yes
    Defining HAVE_POLL
checking for random... no
checking for rename... yes
    Defining HAVE_RENAME
checking for res_init... yes
    Defining HAVE_RES_INIT
checking for rint... yes
    Defining HAVE_RINT
checking for rmdir... yes
    Defining HAVE_RMDIR
checking for select... yes
    Defining HAVE_SELECT
checking for setitimer... yes
    Defining HAVE_SETITIMER
checking for setpgid... yes
    Defining HAVE_SETPGID
checking for setlocale... yes
    Defining HAVE_SETLOCALE
checking for setsid... yes
    Defining HAVE_SETSID
checking for sigblock... yes
    Defining HAVE_SIGBLOCK
checking for sighold... no
checking for sigprocmask... yes
    Defining HAVE_SIGPROCMASK
checking for strcasecmp... yes
    Defining HAVE_STRCASECMP
checking for strerror... yes
    Defining HAVE_STRERROR
checking for tzset... yes
    Defining HAVE_TZSET
checking for ulimit... yes
    Defining HAVE_ULIMIT
checking for usleep... no
checking for utimes... no
checking for waitpid... yes
    Defining HAVE_WAITPID
checking for realpath... yes
    Defining HAVE_REALPATH
checking whether netdb declares h_errno... no
checking for sigsetjmp... yes
    Defining HAVE_SIGSETJMP
checking whether localtime caches TZ... no
checking whether gettimeofday cannot accept two arguments... no
checking for inline... no
    Defining inline = 
checking for working alloca.h... no
checking for alloca... no
    Defining C_ALLOCA
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... 1
    Defining STACK_DIRECTION = 1
    xemacs will be linked with "alloca.o"
checking for vfork.h... no
checking for working vfork... yes
checking for working strcoll... yes
    Defining HAVE_STRCOLL
checking for getpgrp... yes
    Defining HAVE_GETPGRP
checking whether getpgrp takes no argument... yes
    Defining GETPGRP_VOID
checking for working mmap... yes
    Defining HAVE_MMAP
    Defining REL_ALLOC
checking for socket... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
    Defining HAVE_SOCKETS
checking for sun_len member in struct sockaddr_un... no
checking for msgget... yes
checking for sys/ipc.h... yes
checking for sys/msg.h... yes
    Defining HAVE_SYSVIPC
checking for dirent.h... yes
    Defining SYSV_SYSTEM_DIR
checking for nlist.h... yes
    Defining NLIST_STRUCT
checking for sound support
checking for AOpenAudio in -lAlib... yes
    xemacs will be linked with "hpplay.o"
    Defining HAVE_NATIVE_SOUND
    Prepending "-lAlib" to $LIBS
checking for TTY-related features
    Defining HAVE_TTY
    xemacs will be linked with "console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o"
checking for termios.h... yes
    Defining HAVE_TERMIOS
checking for tgetent in -lncurses... no
    xemacs will be linked with "terminfo.o"
    Prepending "-ltermcap" to $LIBS
    Defining CURSES_H_PATH = "curses.h"
    Defining TERM_H_PATH = "term.h"
checking for gpm.h... no
    xemacs will be linked with "event-unixoid.o"
checking for database support
checking for dbm_open in -lgdbm... no
checking for dbm_open... no
checking for dbm_open... no
checking for dbm_open in -ldbm... yes
    Defining HAVE_DBM
    Prepending "-ldbm" to $LIBS
checking for dbopen... no
checking for dbopen in -ldb... no
    Defining HAVE_DATABASE
    xemacs will be linked with "database.o"
    Appending "src" to $MAKE_SUBDIR
Making symbolic link to /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/src/s
Making symbolic link to /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/src/m

extra_objs = 'debug.o strcat.o unexhp9k800.o dgif_lib.o gif_err.o gifalloc.o menubar.o scrollbar.o dialog.o toolbar.o gui.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o alloca.o hpplay.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o'
c_switch_general = '-DHAVE_CONFIG_H -Ae -Wp,-H100000'
c_switch_window_system = '-I/usr/include/Motif1.2 -I/usr/include/X11R5'
c_switch_all = '-DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5'
ld_switch_general = ''
ld_switch_window_system = '-L/usr/lib/Motif1.2 -L/usr/lib/X11R5'
ld_switch_all = '-L/usr/lib/Motif1.2 -L/usr/lib/X11R5'
ld_libs_general = '-ldbm -ltermcap -lAlib -lm'
ld_libs_window_system = '-lXm -lXpm -lXmu -lXt -lXext -lX11'
ld_libs_all = '-lXm -lXpm -lXmu -lXt -lXext -lX11 -ldbm -ltermcap -lAlib -lm'

creating src/gdbinit

    Defining EMACS_CONFIGURATION = "hppa1.1-hp-hpux9.03"
    Defining EMACS_CONFIG_OPTIONS = " hppa1.1-hp-hpux9.03 --verbose --debug=yes --compiler=cc --with-gnu-make --dynamic=yes --with-xpm=yes --x-includes=/usr/include/X11R5 --x-libraries=/usr/lib/X11R5 --bindir=/usr/local/bin/hppa1.1-hp-hpux9.03"
    Defining config_machfile = "m/hp800.h"
    Defining config_opsysfile = "s/hpux9-shr.h"
    Defining LD_SWITCH_X_SITE = 
    Defining LD_SWITCH_X_SITE_AUX = 
    Defining C_SWITCH_X_SITE = 
    Defining LD_SWITCH_SITE = 
    Defining C_SWITCH_SITE = 
    Defining GNU_MALLOC
    Defining USE_GNU_MAKE
    Defining CONST_IS_LOSING
    Defining NO_UNION_TYPE


Configured for `hppa1.1-hp-hpux9.03'.

  Where should the build process find the source code?    /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/hpux9-shr.h' and `m/hp800.h'
  What compiler should XEmacs be built with?              cc -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/include/Motif1.2 /usr/include/X11R5
  Where do we find X Windows libraries?                   /usr/lib/Motif1.2 /usr/lib/X11R5
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in native sound support.
  Compiling in support for DBM.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  movemail will use "dot-locking" for locking mail spool files.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

The above configure report is appended to "Installation" file.

creating ./config.status
creating Makefile
creating lib-src/Makefile.in
creating lwlib/Makefile.in
creating pkg-src/tree-x/Makefile.in
creating src/Makefile.in
creating src/config.h
creating lwlib/config.h
creating lib-src/Makefile
creating lwlib/Makefile
creating pkg-src/tree-x/Makefile
creating src/Makefile
Producing `src/paths.h' from `src/paths.h.in'.
Producing `src/Emacs.ad.h' from `etc/Emacs.ad'.
Resetting `src/puresize_adjust.h'.
cd lib-src && make   CC='cc' CFLAGS='-O' LDFLAGS='' CPPFLAGS='' all
make[1]: Entering directory `/dsk1/misc/xfer/emacs/xemacs-beta/hppa20a/lib-src'
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/make-path.c -o make-path
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/wakeup.c  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o wakeup
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/profile.c  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o profile
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/make-docfile.c  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o make-docfile
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/digest-doc.c  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o digest-doc
cc -c  /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/../src/alloca.c
cc -O -Demacs -I../src  -DHAVE_CONFIG_H -Ae -Wp,-H100000 -I/usr/include/Motif1.2 -I/usr/include/X11R5 /dsk1/misc/xfer/emacs/xemacs-beta/xemacs-20.0/lib-src/sorted-doc.c alloca.o  -L/usr/lib/Motif1.2 -L/usr/lib/X11R5 -ldbm -ltermcap -lAlib -lm -o sorted-doc
/bin/ld: Unsatisfied symbols:
   xmalloc (code)
make[1]: *** [sorted-doc] Error 1
make[1]: Leaving directory `/dsk1/misc/xfer/emacs/xemacs-beta/hppa20a/lib-src'
make: *** [lib-src] Error 1
-- 
Barry Friedman                         
Emax Computer Systems Inc., 440 Laurier Ave. W., Ottawa, Ont. Canada K1R 7X6
ESN: 395-4270  NET: friedman@nortel.ca  Phone: (613) 782-2389  Fax: 782-2228  

