bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compilation problems


From: Chau Pak-Lee
Subject: compilation problems
Date: Thu, 14 Feb 2002 09:34:17 +0000 (GMT)

I am running Tru64 UNIX V5.1 on a Compaq ES45 server. I tried to
install emacs-21.1 using the CC compiler. The ./configure step seems
all right, but when I typed make, the compiler stops. I enclose the
./configure output and make output below, after the text of this
message. Could I ask you why this happened, and whether is any easy
cure?

In the meantime, I am trying to install the GCC compiler and use it to
compile emacs, and see if the problem disappears.

Thank you!

P-L Chau
Department of Biochemistry
University of Cambridge

===========
./configure
===========
creating cache ./config.cache
checking host system type... alpha-dec-osf5.1
checking for gcc... no
checking for cc... 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 whether cc accepts -g... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... /usr/bin/cpp
checking for a BSD compatible install... /usr/local/src/emacs-21.1/install-sh -c
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking for AIX... no
checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for sys/select.h... yes
checking for sys/timeb.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for linux/version.h... no
checking for sys/systeminfo.h... yes
checking for termios.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for termcap.h... no
checking for stdio_ext.h... no
checking for fcntl.h... yes
checking for term.h... yes
checking for strings.h... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for cc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working volatile... yes
checking for working const... yes
checking for void * support... yes
checking whether make sets ${MAKE}... yes
checking for long file names... yes
checking for X... libraries , headers
checking for malloc_get_state... no
checking for malloc_set_state... no
checking whether __after_morecore_hook exists... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking for Xkb... yes
checking for XrmSetDatabase... yes
checking for XScreenResourceString... yes
checking for XScreenNumberOfScreen... yes
checking for XSetWMProtocols... yes
checking X11 version 6... 6 or newer
checking X11 version 5... 5 or newer
checking X11 version 5 with Xaw... 5 or newer, with Xaw; use toolkit by default
checking X11 toolkit version... 6 or newer
checking for XmuConvertStandardSelection in -lXmu... yes
checking for XShapeQueryExtension in -lXext... yes
checking for X11/Xaw3d/Scrollbar.h... no
checking for X11/xpm.h... no
checking for jerror.h... no
checking for png.h... no
checking for tiffio.h... no
checking for gif_lib.h... no
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking for maillock.h... no
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... yes
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for res_init... yes
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for strftime... yes
checking for getaddrinfo... no
checking for __fpending... no
checking for mblen... yes
checking for mbrlen... yes
checking for strsignal... no
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... no
checking for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg... no
checking for getloadavg... no
checking for sys/dg_sys_info.h... no
checking for inq_stats/cpustats.h... no
checking for sys/cpustats.h... no
checking for mach/mach.h... no
checking for nlist.h... yes
checking for n_un in struct nlist... no
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... no
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... no
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for struct timezone... yes
checking for socket... yes
checking for netinet/in.h... no
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for size_t... yes

Configured for `alpha-dec-osf5.1'.

  Where should the build process find the source code?    
/usr/local/src/emacs-21.1
  What operating system and machine description files should Emacs use?
        `s/osf5-0.h' and `m/alpha.h'
  What compiler should emacs be built with?               cc -g3
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         yes
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use -lungif?                                 no
  Does Emacs use -lpng?                                   no
  Does Emacs use X toolkit scroll bars?                   no

updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib-src/Makefile.c
creating oldXMenu/Makefile
creating man/Makefile
creating lwlib/Makefile
creating src/Makefile.c
creating lisp/Makefile
creating leim/Makefile
creating src/config.h
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile

====
make
====
cd lib-src; make all   CC='cc' CFLAGS='-g3 ' CPPFLAGS='-D_OSF_SOURCE 
-nointrinsics  '  LDFLAGS='' MAKE='make'
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  -o test-distrib 
/usr/local/src/emacs-21.1/lib-src/test-distrib.c
./test-distrib /usr/local/src/emacs-21.1/lib-src/testfile
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  
/usr/local/src/emacs-21.1/lib-src/make-docfile.c -lbsd -ldnet_stub  -o 
make-docfile
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/profile.c 
-lbsd -ldnet_stub  -o profile
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  
/usr/local/src/emacs-21.1/lib-src/digest-doc.c -lbsd -ldnet_stub  -o digest-doc
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  
/usr/local/src/emacs-21.1/lib-src/sorted-doc.c  -lbsd -ldnet_stub  -o sorted-doc
cc -c -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src 
-D_OSF_SOURCE -nointrinsics   -g3  -Demacs  
/usr/local/src/emacs-21.1/lib-src/movemail.c
cc: Info: /usr/local/src/emacs-21.1/lib-src/movemail.c, line 814: In this 
statement, "error", which was declared with an old-style function definition, 
expects 3 arguments, but 2 are supplied. (toofewargso)
      error ("Error in fsync: %s", strerror (errno));
------^
cc -c -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src 
-D_OSF_SOURCE -nointrinsics   -g3   /usr/local/src/emacs-21.1/lib-src/pop.c
cc -c -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src 
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/getopt.c
cc -c -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src 
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/getopt1.c
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-g3   movemail.o pop.o getopt.o getopt1.o  -lbsd -ldnet_stub         -o movemail
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/cvtmail.c 
-lbsd -ldnet_stub  -o cvtmail
cc: Info: /usr/local/src/emacs-21.1/lib-src/cvtmail.c, line 177: In this 
statement, "fatal", which was declared with an old-style function definition, 
expects 2 arguments, but 1 are supplied. (toofewargso)
    fatal ("virtual memory exhausted");
----^
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/fakemail.c 
-lbsd -ldnet_stub  -o fakemail
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/yow.c 
-lbsd -ldnet_stub  -o yow
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  
/usr/local/src/emacs-21.1/lib-src/emacsserver.c -lbsd -ldnet_stub  -o 
emacsserver
cc: Warning: /usr/local/src/emacs-21.1/lib-src/emacsserver.c, line 330: In this 
statement, the referenced type of the pointer value "&fromlen" is "unsigned 
long", which is not compatible with "int". (ptrmismatch)
          infd = accept (s, (struct sockaddr *) &fromunix, &fromlen);
-----------------------------------------------------------^
cc -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src  
-D_OSF_SOURCE -nointrinsics   -g3  /usr/local/src/emacs-21.1/lib-src/hexl.c 
-lbsd -ldnet_stub  -o hexl
cc -c -D_OSF_SOURCE -nointrinsics  -DHAVE_CONFIG_H  -I. -I../src 
-I/usr/local/src/emacs-21.1/lib-src -I/usr/local/src/emacs-21.1/lib-src/../src 
-D_OSF_SOURCE -nointrinsics   -g3  -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER 
/usr/local/src/emacs-21.1/lib-src/../src/regex.c
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1968: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  if      (STREQ (string, "alnum"))     return RECC_ALNUM;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1969: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "alpha"))     return RECC_ALPHA;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1970: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "word"))      return RECC_WORD;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1971: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "ascii"))     return RECC_ASCII;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1972: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "nonascii"))  return RECC_NONASCII;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1973: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "graph"))     return RECC_GRAPH;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1974: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "lower"))     return RECC_LOWER;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1975: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "print"))     return RECC_PRINT;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1976: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "punct"))     return RECC_PUNCT;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1977: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "space"))     return RECC_SPACE;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1978: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "upper"))     return RECC_UPPER;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1979: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "unibyte"))   return RECC_UNIBYTE;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1980: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "multibyte")) return RECC_MULTIBYTE;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1981: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "digit"))     return RECC_DIGIT;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1982: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "xdigit"))    return RECC_XDIGIT;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1983: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "cntrl"))     return RECC_CNTRL;
-----------^
cc: Warning: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 1984: In 
this statement, the referenced type of the pointer value "string" is "const 
unsigned char", which is not compatible with "const char" because they differ 
by signed/unsigned attribute. (ptrmismatch1)
  else if (STREQ (string, "blank"))     return RECC_BLANK;
-----------^
cc: Error: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 5836: In the 
definition of the function "regcomp", the promoted type of preg is incompatible 
with the type of the corresponding parameter in a prior declaration. 
(promotmatch)
    regex_t *preg;
------------^
cc: Error: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 5837: In the 
definition of the function "regcomp", the promoted type of pattern is 
incompatible with the type of the corresponding parameter in a prior 
declaration. (promotmatch)
    const char *pattern;
---------------^
cc: Error: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 5921: In the 
definition of the function "regexec", the promoted type of preg is incompatible 
with the type of the corresponding parameter in a prior declaration. 
(promotmatch)
    const regex_t *preg;
------------------^
cc: Error: /usr/local/src/emacs-21.1/lib-src/../src/regex.c, line 5922: In the 
definition of the function "regexec", the promoted type of string is 
incompatible with the type of the corresponding parameter in a prior 
declaration. (promotmatch)
    const char *string;
---------------^
*** Exit 1
Stop.
*** Exit 1
Stop.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]