all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 8029@debbugs.gnu.org
Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree.
Date: Sun, 13 Feb 2011 20:11:27 +0200	[thread overview]
Message-ID: <83vd0npzxs.fsf@gnu.org> (raw)
In-Reply-To: <4D57D2EB.4020209@swipnet.se>

> Date: Sun, 13 Feb 2011 13:47:39 +0100
> From: Jan Djärv <jan.h.d@swipnet.se>
> Cc: 
> 
> While using a separate object directory in OSX:
> 
> % make bootstrap
> cd lib-src; make all                            \
> 	  CC='gcc' CFLAGS='-g' CPPFLAGS='-DXASSERTS=1' \
> 	  LDFLAGS='' MAKE='make'
> gcc   -Wimplicit-function-declaration -Wold-style-definition 
> -Wdeclaration-after-statement -Wno-pointer-sign  -DHAVE_CONFIG_H -I. -I../src 
> -I../lib -I/Users/jhd/src/emacs/current/lib-src 
> -I/Users/jhd/src/emacs/current/lib-src/../src 
> -I/Users/jhd/src/emacs/current/lib-src/../lib   -DXASSERTS=1 -g -o 
> test-distrib /Users/jhd/src/emacs/current/lib-src/test-distrib.c
> In file included from ../lib/unistd.h:110,
>                   from /Users/jhd/src/emacs/current/lib-src/test-distrib.c:24:
> ../lib/getopt.h:248: error: conflicting types for ‘rpl_getopt_long’
> /Users/jhd/src/emacs/current/lib-src/getopt.h:212: error: previous declaration 
> of ‘rpl_getopt_long’ was here
> ../lib/getopt.h:252: error: conflicting types for ‘rpl_getopt_long_only’
> /Users/jhd/src/emacs/current/lib-src/getopt.h:216: error: previous declaration 
> of ‘rpl_getopt_long_only’ was here
> make[2]: *** [test-distrib] Error 1
> make[1]: *** [lib-src] Error 2
> make: *** [bootstrap] Error 2
> 
> I guess the lib-src/getopt.h should be removed?

I think you are supposed to run "make distclean" in the source tree,
before you can hope for a clean build outside the tree.






  parent reply	other threads:[~2011-02-13 18:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 12:47 bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree Jan Djärv
2011-02-13 14:56 ` Andreas Schwab
2011-02-13 17:50   ` Jan Djärv
2011-02-13 19:07     ` Eli Zaretskii
2011-02-13 21:33       ` Jan Djärv
2011-02-13 18:11 ` Eli Zaretskii [this message]
2011-02-13 19:04   ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vd0npzxs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8029@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.