unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
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:04:15 +0100	[thread overview]
Message-ID: <4D582B2F.3000406@swipnet.se> (raw)
In-Reply-To: <83vd0npzxs.fsf@gnu.org>



Eli Zaretskii skrev 2011-02-13 19.11:
>> 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.

I did.

	Jan D.





      reply	other threads:[~2011-02-13 19:04 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
2011-02-13 19:04   ` Jan Djärv [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4D582B2F.3000406@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=8029@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 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).