* Re: more information (bldg emacs for cygwin X11)
[not found] <42EDBF24.1090903@it.to-be.co.jp>
@ 2005-08-01 18:32 ` Ehud Karni
0 siblings, 0 replies; only message in thread
From: Ehud Karni @ 2005-08-01 18:32 UTC (permalink / raw)
Cc: eliz, bug-gnu-emacs, emacs-devel
On Mon, 01 Aug 2005 15:20:20 +0900, henman@it.to-be.co.jp wrote:
>
> 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.
>
> [snip]
>
> 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:219: undefined
> reference to `_rpl_optind'
> /cygdrive/c/emacs/cvs/emacs/lib-src/update-game-score.c:211: undefined
> reference to `_rpl_optarg'
>
>
> 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.
This error is new (It did not occur on 2005-07-11).
This patch to Makefile.in (you must run configure again after
patching) fixes it:
*** /appl/src/emacs/lib-src/Makefile.in.~1.143.~ Mon Aug 1 16:58:38 2005
--- /appl/src/emacs/lib-src/Makefile.in Mon Aug 1 21:24:03 2005
***************
*** 463,469 ****
update-game-score${EXEEXT}: ${srcdir}/update-game-score.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
! $(LOADLIBES) -o update-game-score
/* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in. */
--- 463,469 ----
update-game-score${EXEEXT}: ${srcdir}/update-game-score.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
! $(GETOPTOBJS) $(LOADLIBES) -o update-game-score
/* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in. */
Diff finished. Mon Aug 1 21:24:52 2005
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-01 18:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <42EDBF24.1090903@it.to-be.co.jp>
2005-08-01 18:32 ` more information (bldg emacs for cygwin X11) Ehud Karni
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).