Bug#350092: FTBFS: compilation error: syntax error before '[' token

2006-01-27 Thread Roberto Pariset
Package: avrdude
Version: 5.1-1
Severity: important
Justification: fails to build from source

Hello,
on amd64 compilation fails like this:

if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_DIR=\/etc\  -Wall   -g -Wall -O2 
-MT avrdude-lexer.o -MD -MP -MF .deps/avrdude-lexer.Tpo -c -o avrdude-lexer.o 
`test -f 'lexer.c' || echo './'`lexer.c; \
then mv -f .deps/avrdude-lexer.Tpo .deps/avrdude-lexer.Po; else rm -f 
.deps/avrdude-lexer.Tpo; exit 1; fi
In file included from /usr/include/sys/stat.h:105,
 from lexer.l:29:
/usr/include/bits/stat.h:103: error: syntax error before '[' token
make[3]: *** [avrdude-lexer.o] Error 1

similar issues happen on ia64 and alpha (but the line of stat.h is 
different, so I am not sure it's the same problem.

Relative lines on stat.h are:
102 #if __WORDSIZE == 64
103 long int __unused[3];
104 #else

All the best,
Roberto


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) (ignored: LC_ALL 
set to [EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#350092: FTBFS: compilation error: syntax error before '[' token

2006-01-27 Thread Michael Biebl
Roberto Pariset wrote:
 Package: avrdude
 Version: 5.1-1
 Severity: important
 Justification: fails to build from source
 
 Hello,
 on amd64 compilation fails like this:
 
 if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_DIR=\/etc\  -Wall   -g -Wall 
 -O2 -MT avrdude-lexer.o -MD -MP -MF .deps/avrdude-lexer.Tpo -c -o 
 avrdude-lexer.o `test -f 'lexer.c' || echo './'`lexer.c; \
 then mv -f .deps/avrdude-lexer.Tpo .deps/avrdude-lexer.Po; else rm -f 
 .deps/avrdude-lexer.Tpo; exit 1; fi
 In file included from /usr/include/sys/stat.h:105,
  from lexer.l:29:
 /usr/include/bits/stat.h:103: error: syntax error before '[' token
 make[3]: *** [avrdude-lexer.o] Error 1

Could you please delete the lexer.c file manually and try again.
I guess the lexer.c file that is shipped with avrdude is not correct and
has to be rebuilt by flex.

Thanks,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#350092: FTBFS: compilation error: syntax error before '[' token

2006-01-27 Thread Kurt Roeckx
severity 350092 serious
thanks

It's failing to build on all 64 bit arches.

Since it build before on al arches, it's an RC bug.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]