From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ray Kolbe Newsgroups: gmane.emacs.bugs Subject: unable to build 21.2 for solaris 9 Date: Wed, 15 Jan 2003 10:28:15 -0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E25A83F.6000804@dslextreme.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070303050604090501020606" X-Trace: main.gmane.org 1042657224 24102 80.91.224.249 (15 Jan 2003 19:00:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 19:00:24 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ysli-0006FC-00 for ; Wed, 15 Jan 2003 20:00:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ysmj-0003f5-03 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 15 Jan 2003 14:01:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Yslj-0002k0-00 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2003 14:00:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18YslL-0001cG-00 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2003 13:59:48 -0500 Original-Received: from adsl-66.51.204.95.dslextreme.com ([66.51.204.95] helo=raisonne.dslextreme.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ysl7-00011v-00 for bug-gnu-emacs@gnu.org; Wed, 15 Jan 2003 13:59:30 -0500 Original-Received: from dslextreme.com (raisonne [66.51.204.95]) by raisonne.dslextreme.com (8.9.3+Sun/8.9.3) with ESMTP id KAA11551 for ; Wed, 15 Jan 2003 10:29:38 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4204 This is a multi-part message in MIME format. --------------070303050604090501020606 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070303050604090501020606 Content-Type: text/plain; name="emacsConfigureLog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emacsConfigureLog" ./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 --------------070303050604090501020606 Content-Type: text/plain; name="emacsMakeLog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emacsMakeLog" 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' --------------070303050604090501020606 Content-Type: text/plain; name="emacsPath" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emacsPath" /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 --------------070303050604090501020606 Content-Type: text/plain; name="emacsLoadLibPath" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emacsLoadLibPath" /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 --------------070303050604090501020606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs --------------070303050604090501020606--