[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Uisp-dev] [bugs #8605] NULL not defined
From: |
anonymous |
Subject: |
[Uisp-dev] [bugs #8605] NULL not defined |
Date: |
Sat, 17 Apr 2004 10:33:43 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
This mail is an automated notification from the bugs tracker
of the project: AVR In-System Programmer.
/**************************************************************************/
[bugs #8605] Full Item Snapshot:
URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8605>
Project: AVR In-System Programmer
Submitted by: 0
On: Sat 04/17/04 at 10:33
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Originator Email: address@hidden
Status: Open
Summary: NULL not defined
Original Submission: after typing ./configure
make
I get the printout seen bellow. Several instances of NULL not being defined in
Global.h. I added the following to Clobal.h:
#ifndef NULL
#define NULL 0
#endif
Then it compiled fine. I am running Slackware 9.1 on an AMD 2600 laptop and
linux kernel 2.6.5 and gcc 3.4.0 20040324.
-----------------------------------------------------------
make[2]: Entering directory `/home/tcorner/src/uisp-20040311/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -g -O2 -MT Avr.o -MD -MP
-MF ".deps/Avr.Tpo"
-c -o Avr.o `test -f 'Avr.C' || echo './'`Avr.C;
then mv -f ".deps/Avr.Tpo" ".deps/Avr.Po";
else rm -f ".deps/Avr.Tpo"; exit 1;
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -g -O2 -MT AvrAtmel.o -MD
-MP -MF ".deps/AvrAtmel.Tpo"
-c -o AvrAtmel.o `test -f 'AvrAtmel.C' || echo './'`AvrAtmel.C;
then mv -f ".deps/AvrAtmel.Tpo" ".deps/AvrAtmel.Po";
else rm -f ".deps/AvrAtmel.Tpo"; exit 1;
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -g -O2 -MT AvrDummy.o -MD
-MP -MF ".deps/AvrDummy.Tpo"
-c -o AvrDummy.o `test -f 'AvrDummy.C' || echo './'`AvrDummy.C;
then mv -f ".deps/AvrDummy.Tpo" ".deps/AvrDummy.Po";
else rm -f ".deps/AvrDummy.Tpo"; exit 1;
fi
In file included from AvrDummy.h:31,
from AvrDummy.C:38:
Global.h: In member function `void TPt<TRec>::MkRef()':
Global.h:43: error: `NULL' undeclared (first use this function)
Global.h:43: error: (Each undeclared identifier is reported only once for each
function it appears in.)
Global.h: In member function `void TPt<TRec>::UnRef()':
Global.h:44: error: `NULL' undeclared (first use this function)
Global.h: In constructor `TPt<TRec>::TPt()':
Global.h:46: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec* TPt<TRec>::operator->() const':
Global.h:57: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec& TPt<TRec>::operator*() const':
Global.h:58: error: `NULL' undeclared (first use this function)
Global.h: In member function `TRec& TPt<TRec>::operator[](int) const':
Global.h:59: error: `NULL' undeclared (first use this function)
make[2]: *** [AvrDummy.o] Error 1
make[2]: Leaving directory `/home/tcorner/src/uisp-20040311/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tcorner/src/uisp-20040311/src'
make: *** [all-recursive] Error 1
address@hidden:~/src/uisp-20040311$
For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8605>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Uisp-dev] [bugs #8605] NULL not defined,
anonymous <=