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

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

more information (bldg emacs for cygwin X11)


From: djh
Subject: more information (bldg emacs for cygwin X11)
Date: Mon, 01 Aug 2005 15:20:20 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

As requested more facts to find the problem:


-------------------------------- start --------------------------------
Purpose: To build emacs to run on cygwin, using cygwin's X11 and other libs.
        This is not an attempt to build nt emacs.

Unix-like-xfc:  CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02
          os:  Microsoft XP Professional version 5.1 SP1
     Machine:  IBM Think Centre
GNU Emacs 22.0.50.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars)

* This fatal build error occurs in the unmodified cvs code.


Date from CVS:  July 27th, 2005

Note: This is not a try to build NT EMACS, but just a standard one to run on cygwin using cygwin's X11 and other libraries.



Process description:

make distclean # for re-configuring (ignore any initial errors here)

       export TEMP=/tmp
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/usr/local/sbin
       export LIB=/lib:/usr/X11R6/lib:/usr/local/lib


# configure parameters:
       ./configure --prefix=/usr  --mandir=/usr/share/man \
                   --infodir=/usr/share/info --exec-prefix= \
                   >~/emacs-config.log 2>&1


Then make the bootstrap:

       make bootstrap >~/bootstrap.log 2>&1


Then make bootstrap aborts with the following message:

---------------- excerpt where make failed:

gcc -DHAVE_CONFIG_H -I. -I../src -I/cygdrive/c/emacs/cvs/emacs/lib-src -I/cygdrive/c/emacs/cvs/emacs/lib-src/../src -L/usr/X11R6/lib -g -O2 /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c -DHAVE_SHARED_GAME_DIR="\"/usr/var/games/emacs\"" -o update-game-score
/cygdrive/c/DOCUME~1/my-name/LOCALS~1/Temp/ccWG22xU.o: In function `main':
/cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:216: undefined reference to `_rpl_getopt' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:216: undefined reference to `_rpl_getopt' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:219: undefined reference to `_rpl_optind' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:226: undefined reference to `_rpl_optind' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:232: undefined reference to `_rpl_optind' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:233: undefined reference to `_rpl_optind' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:234: undefined reference to `_rpl_optind' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:205: undefined reference to `_rpl_optarg' /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:211: undefined reference to `_rpl_optarg'
collect2: ld returned 1 exit status
make[2]: *** [update-game-score.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/emacs/cvs/emacs/lib-src'
make[1]: *** [lib-src] Error 2
make[1]: Leaving directory `/cygdrive/c/emacs/cvs/emacs'
make: *** [bootstrap-build] Error 2



-------------------------------- end --------------------------------

Note: By commenting out referrences to "update-game-score" on line # 110 and
the whole gcc compile oriented lines #251 and #252 in file ..../lib-src/Makefile, then "make bootstrap" will completes successfully.

Any ideas as to how to correct this will be appreciated.

Regards




reply via email to

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