[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] compilation error in Ubuntu Jaunty
From: |
Renato Budinich |
Subject: |
Re: [avrdude-dev] compilation error in Ubuntu Jaunty |
Date: |
Mon, 13 Jul 2009 23:18:57 +0200 |
> If you want to try whether this
> warning is really the source of your trouble, you can edit the file
> config_gram.y, and add an initialization in line 1373:
>
> char * s, *brkt = 0;
> ^^^^
done it, 'make' gives same exact error.
> The ylwrap command appears to be generated by autoconf. Perhaps you
> can try re-running it with -x in effect, either by typing the command
>
> /bin/bash -x ./ylwrap lexer.l .c lexer.c --
done this (should i post the output?) but then 'make' doesn't seem to be
much more verbose:
address@hidden:~/src/avrdude-5.8$ make
make all-recursive
make[1]: Entering directory `/home/renato/src/avrdude-5.8'
make[2]: Entering directory `/home/renato/src/avrdude-5.8'
/bin/bash ./ylwrap lexer.l .c lexer.c -- :
make[2]: *** [lexer.c] Error 1
make[2]: Leaving directory `/home/renato/src/avrdude-5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/renato/src/avrdude-5.8'
make: *** [all] Error 2
>
> or by editing the file, and adding a line saying
>
> set -x
>
> close to the top of the file
ehm, which file?
> ATmega328P has been added in AVRDUDE version 5.6 (which you could read
> in the file named NEWS in your extracted source tree).
uh, sorry
I tried compiling 5.7 and I get same error, while in 5.6 I get this
other one:
address@hidden:~/src/avrdude-5.6$ make
[...]
gcc -g -O2 -o avrdude avrdude-main.o avrdude-term.o ./libavrdude.a
-lusb -lm -lreadline -lncurses -ltermcap
./libavrdude.a(libavrdude_a-config.o): In function `read_config':
/home/renato/src/avrdude-5.6/config.c:299: undefined reference to `yyin'
./libavrdude.a(libavrdude_a-config_gram.o): In function `yyparse':
/home/renato/src/avrdude-5.6/config_gram.c:1897: undefined reference to
`yylex'
collect2: ld returned 1 exit status
make[2]: *** [avrdude] Error 1
make[2]: Leaving directory `/home/renato/src/avrdude-5.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/renato/src/avrdude-5.6'
make: *** [all] Error 2
thank you very much for your help
Renato
- [avrdude-dev] compilation error in Ubuntu Jaunty, Renato Budinich, 2009/07/13
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Joerg Wunsch, 2009/07/13
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty,
Renato Budinich <=
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Joerg Wunsch, 2009/07/13
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Renato Budinich, 2009/07/14
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Joerg Wunsch, 2009/07/14
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Renato Budinich, 2009/07/14
- Re: [avrdude-dev] compilation error in Ubuntu Jaunty, Dave N6NZ, 2009/07/14