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

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

unable to build 21.2 for solaris 9


From: Ray Kolbe
Subject: unable to build 21.2 for solaris 9
Date: Wed, 15 Jan 2003 10:28:15 -0800
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

I have encountered a problem building emacs 21.2 on my ultra-60 running solaris 9. My gcc is 3.2.1 and the error I get has to do with conflicting types from libraries (most likely a library path problem). I have attached the listings of messages for the configure as well as the make command and I have also attached my PATH and LD_LIBRARY_PATH variable values. The following lines are the apparent offenders:

gcc -c -I/usr/openwin/include -I/usr/dt/include -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/opt/sfw/emacs-21.2/lwlib -I/opt/sfw/emacs-21.2/lwlib/../src xlwmenu.c
In file included from /usr/openwin/include/X11/Xos.h:79,
                from xlwmenu.c:32:
/usr/include/strings.h:25: conflicting types for `memmove'
/usr/include/iso/string_iso.h:62: previous declaration of `memmove'
/usr/include/strings.h:26: parse error before numeric constant
*** Error code 1
make: Fatal error: Command failed for target `xlwmenu.o'
Current working directory /opt/sfw/emacs-21.2/lwlib
*** Error code 1
make: Fatal error: Command failed for target `really-lwlib'
Current working directory /opt/sfw/emacs-21.2/src
*** Error code 1
make: Fatal error: Command failed for target `src'

Thanks in advance for any help.

   --Ray

./configure
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.9
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 whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /opt/sfw/bin/ginstall -c
checking for bison... bison -y
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... 64
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... yes
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... no
checking for tzname... yes
checking for tm_gmtoff in struct tm... no
checking for gcc 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 /usr/openwin/lib, headers /usr/openwin/include
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... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for XpmReturnAllocPixels preprocessor define... yes
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... yes
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... yes
checking for maillock.h... yes
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... no
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... yes
checking for __fpending... yes
checking for mblen... yes
checking for mbrlen... yes
checking for strsignal... yes
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 getloadavg... yes
checking for getloadavg... (cached) yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... yes
checking for dgettext in -lintl... yes
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... yes
checking for arpa/inet.h... yes
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 `sparc-sun-solaris2.9'.

  Where should the build process find the source code?    /opt/sfw/emacs-21.2
  What operating system and machine description files should Emacs use?
        `s/sol2-5.h' and `m/sparc.h'
  What compiler should emacs be built with?               gcc -g -O2
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  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
if [ ! -f /opt/sfw/emacs-21.2/lisp/abbrev.elc ]; then \
  make  bootstrap; \
fi
cd lib-src; make all  \
  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='' \
  LDFLAGS='-L/usr/openwin/lib' MAKE='make'
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 -o test-distrib 
/opt/sfw/emacs-21.2/lib-src/test-distrib.c
./test-distrib /opt/sfw/emacs-21.2/lib-src/testfile
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/make-docfile.c -lsocket -lnsl -lkstat -o 
make-docfile
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/profile.c -lsocket -lnsl -lkstat -o profile
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/digest-doc.c -lsocket -lnsl -lkstat -o digest-doc
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/sorted-doc.c  -lsocket -lnsl -lkstat -o sorted-doc
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src  -g -O2 -Demacs  
/opt/sfw/emacs-21.2/lib-src/movemail.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src  -g -O2  /opt/sfw/emacs-21.2/lib-src/pop.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src  -g -O2 
/opt/sfw/emacs-21.2/lib-src/getopt.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src  -g -O2 
/opt/sfw/emacs-21.2/lib-src/getopt1.c
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib -g -O2  movemail.o 
pop.o getopt.o getopt1.o  -lsocket -lnsl -lkstat -lmail       -o movemail
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/cvtmail.c -lsocket -lnsl -lkstat -o cvtmail
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/fakemail.c -lsocket -lnsl -lkstat -o fakemail
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/yow.c -lsocket -lnsl -lkstat -o yow
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/emacsserver.c -lsocket -lnsl -lkstat -o emacsserver
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/hexl.c -lsocket -lnsl -lkstat -o hexl
gcc -c -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src  -g -O2 -DCONFIG_BROKETS 
-DINHIBIT_STRING_HEADER /opt/sfw/emacs-21.2/lib-src/../src/regex.c
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
-DVERSION="\"21.2\"" /opt/sfw/emacs-21.2/lib-src/etags.c getopt.o getopt1.o  
regex.o -lsocket -lnsl -lkstat -o etags
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 -DCTAGS 
-DVERSION="\"21.2\"" /opt/sfw/emacs-21.2/lib-src/etags.c getopt.o getopt1.o  
regex.o -lsocket -lnsl -lkstat -o ctags
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/emacsclient.c getopt.o getopt1.o  -DVERSION=`sed -n 
-e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' 
/opt/sfw/emacs-21.2/lib-src/../lisp/version.el` -lsocket -lnsl -lkstat -o 
emacsclient
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
/opt/sfw/emacs-21.2/lib-src/b2m.c -DVERSION="\"21.2\"" getopt.o getopt1.o  
-lsocket -lnsl -lkstat -o b2m
gcc -DHAVE_CONFIG_H -I. -I../src -I/opt/sfw/emacs-21.2/lib-src 
-I/opt/sfw/emacs-21.2/lib-src/../src -L/usr/openwin/lib  -g -O2 
-DVERSION="\"21.2\"" /opt/sfw/emacs-21.2/lib-src/ebrowse.c getopt.o getopt1.o  
-lsocket -lnsl -lkstat -o ebrowse
cd src; make all  \
  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='' \
  LDFLAGS='-L/usr/openwin/lib' MAKE='make'
make: Warning: Infinite loop: Target `../lwlib/liblw.a' depends on itself
Current working directory /opt/sfw/emacs-21.2/src
cd ../lwlib/; make  CC='gcc' CFLAGS='-g -O2' MAKE='make' 
"C_SWITCH_X_SITE=-I/usr/openwin/include" "C_SWITCH_X_MACHINE=" 
"C_SWITCH_X_SYSTEM=-I/usr/dt/include" "C_SWITCH_SITE=" "C_SWITCH_MACHINE=" 
"C_SWITCH_SYSTEM="
gcc -c -DUSE_LUCID   -I/usr/openwin/include  -I/usr/dt/include   -g -O2  
-DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs  -I. -I../src 
-I/opt/sfw/emacs-21.2/lwlib -I/opt/sfw/emacs-21.2/lwlib/../src 
/opt/sfw/emacs-21.2/lwlib/lwlib.c
gcc -c   -I/usr/openwin/include  -I/usr/dt/include   -g -O2  
-DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs  -I. -I../src 
-I/opt/sfw/emacs-21.2/lwlib -I/opt/sfw/emacs-21.2/lwlib/../src lwlib-Xlw.c
gcc -c   -I/usr/openwin/include  -I/usr/dt/include   -g -O2  
-DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs  -I. -I../src 
-I/opt/sfw/emacs-21.2/lwlib -I/opt/sfw/emacs-21.2/lwlib/../src xlwmenu.c
In file included from /usr/openwin/include/X11/Xos.h:79,
                 from xlwmenu.c:32:
/usr/include/strings.h:25: conflicting types for `memmove'
/usr/include/iso/string_iso.h:62: previous declaration of `memmove'
/usr/include/strings.h:26: parse error before numeric constant
*** Error code 1
make: Fatal error: Command failed for target `xlwmenu.o'
Current working directory /opt/sfw/emacs-21.2/lwlib
*** Error code 1
make: Fatal error: Command failed for target `really-lwlib'
Current working directory /opt/sfw/emacs-21.2/src
*** Error code 1
make: Fatal error: Command failed for target `src'

/export/home/reign/adabas/bin:/export/home/reign/adabas/pgm:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/sfw:/export/home/reign/bin:/opt/SUNWns6:/etc:/opt/sfw:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/openwin:/usr/openwin/bin:/usr/ucb:/usr/ucb/bin:/app/office52:/sbin:/opt/SUNWSMS:/opt/SUNWconn:/opt/SUNWdat:/opt/SUNWits:/opt/SUNWrtvc:/opt/SUNWsdocs:/opt/SUNWsmtv:/opt/SUNWspro:/opt/SUNWste:/opt/SUNWvts:/opt/SUNWSMS/bin:/opt/SUNWconn/bin:/opt/SUNWdat/bin:/opt/SUNWrtvc/bin:/opt/SUNWsmtv/bin:/opt/SUNWspro/bin:/opt/SUNWste/bin:/opt/SUNWvts/bin:/opt/sfw/share/JBuilder/bin:/export/home/reign/agents/fipa-os:/export/home/reign/agents/fipa-os/bat:.:/usr/openwin/bin

/export/home/reign/adabas/lib:.:/export/home/reign/lib:/lib:/usr/lib:/usr/java/jre/lib:/usr/sfw/include:/opt/sfw/lib:/usr/dt/lib:/etc/lib:/usr/local/lib:/usr/include:/usr/openwin/lib


reply via email to

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