public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
@ 2012-03-23 14:10 Zhihua Che
  2012-03-23 17:09 ` Joel Brobecker
  2012-03-23 17:45 ` Andreas Schwab
  0 siblings, 2 replies; 6+ messages in thread
From: Zhihua Che @ 2012-03-23 14:10 UTC (permalink / raw)
  To: gdb

HI, everyone
       I'm building gdb of version
238a89c5e410f61d2786cffca0a55dcf50325cd4 obtained from git repository.
Unfortunately, make failed and prompted things below

WARNING: `makeinfo' is missing on your system.  You should only need it if
        you modified a `.texi' or `.texinfo' file, or any other file
        indirectly affecting the aspect of the manual.  The spurious
        call might also be the consequence of using a buggy `make' (AIX,
        DU, IRIX).  You might want to install the `Texinfo' package or
        the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [bfd.info] Error 1

Does anybody build and fail like this ever?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
  2012-03-23 14:10 [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4 Zhihua Che
@ 2012-03-23 17:09 ` Joel Brobecker
  2012-03-23 17:45 ` Andreas Schwab
  1 sibling, 0 replies; 6+ messages in thread
From: Joel Brobecker @ 2012-03-23 17:09 UTC (permalink / raw)
  To: Zhihua Che; +Cc: gdb

> WARNING: `makeinfo' is missing on your system.  You should only need it if
>         you modified a `.texi' or `.texinfo' file, or any other file
>         indirectly affecting the aspect of the manual.  The spurious
>         call might also be the consequence of using a buggy `make' (AIX,
>         DU, IRIX).  You might want to install the `Texinfo' package or
>         the `GNU make' package.  Grab either from any GNU archive site.
> make[3]: *** [bfd.info] Error 1
> 
> Does anybody build and fail like this ever?

This is related to bfd (thus should probably be discussed on binutils).
Just build using "make MAKEINFO=true", that's what I usually do.

-- 
Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
  2012-03-23 14:10 [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4 Zhihua Che
  2012-03-23 17:09 ` Joel Brobecker
@ 2012-03-23 17:45 ` Andreas Schwab
  2012-03-25 12:07   ` Zhihua Che
  1 sibling, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2012-03-23 17:45 UTC (permalink / raw)
  To: Zhihua Che; +Cc: gdb

Zhihua Che <zhihua.che@gmail.com> writes:

> WARNING: `makeinfo' is missing on your system.  You should only need it if
>         you modified a `.texi' or `.texinfo' file, or any other file
>         indirectly affecting the aspect of the manual.  The spurious
>         call might also be the consequence of using a buggy `make' (AIX,
>         DU, IRIX).  You might want to install the `Texinfo' package or
>         the `GNU make' package.  Grab either from any GNU archive site.
> make[3]: *** [bfd.info] Error 1
>
> Does anybody build and fail like this ever?

If you are building from the repository then makeinfo is a required
dependency.  Prebuilt info files are only present in release and
snapshot tarballs.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
  2012-03-23 17:45 ` Andreas Schwab
@ 2012-03-25 12:07   ` Zhihua Che
  2012-03-25 19:32     ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Zhihua Che @ 2012-03-25 12:07 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

在 2012年3月24日 上午1:44,Andreas Schwab <schwab@linux-m68k.org> 写道:
> Zhihua Che <zhihua.che@gmail.com> writes:
>
>> WARNING: `makeinfo' is missing on your system.  You should only need it if
>>         you modified a `.texi' or `.texinfo' file, or any other file
>>         indirectly affecting the aspect of the manual.  The spurious
>>         call might also be the consequence of using a buggy `make' (AIX,
>>         DU, IRIX).  You might want to install the `Texinfo' package or
>>         the `GNU make' package.  Grab either from any GNU archive site.
>> make[3]: *** [bfd.info] Error 1
>>
>> Does anybody build and fail like this ever?
>
> If you are building from the repository then makeinfo is a required
> dependency.  Prebuilt info files are only present in release and
> snapshot tarballs.
>
> Andreas.

After installing texinfo and flex, I made a little progress, but
another problem arise.

I updated the code to version c338d4bceb084a629b479e1ac36ab2b42737e1c2
and compiling failed with  a  'simple' error

gcc -g -O2   -I. -I../../gdb/gdb -I../../gdb/gdb/common
-I../../gdb/gdb/config
-DLOCALEDIR="\"/home/harvey/open-projects/local/gdb2/share/locale\""
-DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode
-I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/.. -I../bfd
-I../../gdb/gdb/../bfd -I../../gdb/gdb/../include -I../libdecnumber
-I../../gdb/gdb/../libdecnumber  -I../../gdb/gdb/gnulib -Ignulib
-DTUI=1  -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o
c-exp.o -MT c-exp.o -MMD -MP -MF .deps/c-exp.Tpo c-exp.c
c-exp.c:1:1: error: return type defaults to ‘int’ [-Werror=return-type]

In build-directory I found a c-exp.c, in which there is only one line

main() { return 0; }

I guess this is a bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
  2012-03-25 12:07   ` Zhihua Che
@ 2012-03-25 19:32     ` Andreas Schwab
       [not found]       ` <CABexPfHbrq2Zukp2XrepTonLhRoBVr1EAT4rZhqfaAwt7EPMVA@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2012-03-25 19:32 UTC (permalink / raw)
  To: Zhihua Che; +Cc: gdb

Zhihua Che <zhihua.che@gmail.com> writes:

> In build-directory I found a c-exp.c, in which there is only one line

You also need bison.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
       [not found]       ` <CABexPfHbrq2Zukp2XrepTonLhRoBVr1EAT4rZhqfaAwt7EPMVA@mail.gmail.com>
@ 2012-03-26  2:51         ` Zhihua Che
  0 siblings, 0 replies; 6+ messages in thread
From: Zhihua Che @ 2012-03-26  2:51 UTC (permalink / raw)
  To: gdb

---------- 已转发邮件 ----------
发件人: Zhihua Che <zhihua.che@gmail.com>
日期: 2012年3月26日 上午10:48
主题: Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4
收件人: Andreas Schwab <schwab@linux-m68k.org>


在 2012年3月26日 上午3:32,Andreas Schwab <schwab@linux-m68k.org> 写道:
> Zhihua Che <zhihua.che@gmail.com> writes:
>
>> In build-directory I found a c-exp.c, in which there is only one line
>
> You also need bison.
>
> Andreas.
>


Yes, I made it and it worked. Maybe I missed something during configure.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-26  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 14:10 [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4 Zhihua Che
2012-03-23 17:09 ` Joel Brobecker
2012-03-23 17:45 ` Andreas Schwab
2012-03-25 12:07   ` Zhihua Che
2012-03-25 19:32     ` Andreas Schwab
     [not found]       ` <CABexPfHbrq2Zukp2XrepTonLhRoBVr1EAT4rZhqfaAwt7EPMVA@mail.gmail.com>
2012-03-26  2:51         ` Zhihua Che

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).