This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Buiding Error] git version 238a89c5e410f61d2786cffca0a55dcf50325cd4

å 2012å3æ24æ äå1:44ïAndreas Schwab <> åéï
> Zhihua Che <> 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]: *** [] 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
-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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]