avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] [RFA] #if cleanups


From: E. Weddington
Subject: Re: [avrdude-dev] [RFA] #if cleanups
Date: Mon, 12 Jul 2004 14:22:45 -0600

On 8 Jul 2004 at 10:55, Theodore A. Roth wrote:

> The attached patch cleans up the indented #if directives. There was only
> one set that couldn't be elimiated in a somewhat trivial way.
> 
> I can't test that the change in ppiwin.c compiles since I don't have
> windows access. Can someone please verify for me that it compiles before
> I commit (assuming no objections)?
> 
> Any objections to this patch?

Tried building with patch. Perhaps I'm doing something wrong. The only thing 
that I did differently is during the bootstrap, I tried using autoconf  2.59 
instead of 2.57, which btw it didn't *seem* to have any problems.

This is the last part of the make output:

if gcc -DHAVE_CONFIG_H -I. -I../avrdude -I.  
-DCONFIG_DIR=\"/cygdrive/e/avrdev/install/bin\"  -Wall   -mno-cygwin 
-DWIN32NATIVE -MT avrdude-ppiwin.o -MD -MP -MF ".deps/avrdude-ppiwin.Tpo" \
  -c -o avrdude-ppiwin.o `test -f 'ppiwin.c' || echo '../avrdude/'`ppiwin.c; \
then mv -f ".deps/avrdude-ppiwin.Tpo" ".deps/avrdude-ppiwin.Po"; \
else rm -f ".deps/avrdude-ppiwin.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I../avrdude -I.  
-DCONFIG_DIR=\"/cygdrive/e/avrdev/install/bin\"  -Wall   -mno-cygwin 
-DWIN32NATIVE -MT avrdude-ser_posix.o -MD -MP -MF ".deps/avrdude-ser_posix.Tpo" 
\
  -c -o avrdude-ser_posix.o `test -f 'ser_posix.c' || echo 
'../avrdude/'`ser_posix.c; \
then mv -f ".deps/avrdude-ser_posix.Tpo" ".deps/avrdude-ser_posix.Po"; \
else rm -f ".deps/avrdude-ser_posix.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I../avrdude -I.  
-DCONFIG_DIR=\"/cygdrive/e/avrdev/install/bin\"  -Wall   -mno-cygwin 
-DWIN32NATIVE -MT avrdude-ser_win32.o -MD -MP -MF ".deps/avrdude-ser_win32.Tpo" 
\
  -c -o avrdude-ser_win32.o `test -f 'ser_win32.c' || echo 
'../avrdude/'`ser_win32.c; \
then mv -f ".deps/avrdude-ser_win32.Tpo" ".deps/avrdude-ser_win32.Po"; \
else rm -f ".deps/avrdude-ser_win32.Tpo"; exit 1; \
fi
../avrdude/ser_win32.c: In function `serial_baud_lookup':
../avrdude/ser_win32.c:66: warning: implicit declaration of function `fprintf'
../avrdude/ser_win32.c:66: error: `stderr' undeclared (first use in this 
function)
../avrdude/ser_win32.c:66: error: (Each undeclared identifier is reported only 
once
../avrdude/ser_win32.c:66: error: for each function it appears in.)
../avrdude/ser_win32.c: In function `serial_open':
../avrdude/ser_win32.c:108: error: `stderr' undeclared (first use in this 
function)
../avrdude/ser_win32.c: In function `serial_send':
../avrdude/ser_win32.c:171: error: `stderr' undeclared (first use in this 
function)
../avrdude/ser_win32.c: In function `serial_recv':
../avrdude/ser_win32.c:226: error: `stderr' undeclared (first use in this 
function)
../avrdude/ser_win32.c: In function `serial_drain':
../avrdude/ser_win32.c:286: error: `stderr' undeclared (first use in this 
function)
make[2]: *** [avrdude-ser_win32.o] Error 1
make[2]: Leaving directory `/cygdrive/e/avrdev/avrdude/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/e/avrdev/avrdude/build'
make: *** [all] Error 2

Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]