This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: build problem


Hi Sami,

please install bison:

  bison|yacc)
    echo 1>&2 "\
WARNING: \`$1' $msg.  You should only need it if
         you modified a \`.y' file.  You may need the \`Bison' package
         in order for those modifications to take effect.  You can get
         \`Bison' from any GNU archive site."
...
    if [ ! -f y.tab.c ]; then
        echo 'main() { return 0; }' >y.tab.c
    fi


Regards,
Jan


On Fri, 19 Sep 2008 17:55:45 +0200, Sami Wagiaalla wrote:
> Has anyone encountered this build problem ?
>
> gcc -g -O2   -I. -I../../gdb -I../../gdb/config  
> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H  
> -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd  
> -I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber  
> -I../../gdb/../libdecnumber  -I../../gdb/gnulib -Ignulib  -DMI_OUT=1  
> -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith  
> -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch  
> -Wno-char-subscripts -Werror -c -o c-exp.o -MT c-exp.o -MMD -MP -MF  
> deps/c-exp.Tpo c-exp.c
> cc1: warnings being treated as errors
> c-exp.c:1: warning: return type defaults to ‘int’
> make[2]: *** [c-exp.o] Error 1
> make[2]: Leaving directory `/home/swagiaal/src/archer/build/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/home/swagiaal/src/archer/build'
> make: *** [all] Error 2
>
> All generated files contains a single line:
>
>     main() { return 0; }


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