uisp-dev
[Top][All Lists]
Advanced

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

[Uisp-dev] [support #103577] can't compile 20040311 on fedora3 x86_64 -


From: Theodore A. Roth
Subject: [Uisp-dev] [support #103577] can't compile 20040311 on fedora3 x86_64 - NULL undefined
Date: Tue, 16 Nov 2004 21:56:53 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

This mail is an automated notification from the support tracker
 of the project: AVR In-System Programmer.

/**************************************************************************/
[support #103577] Latest Modifications:

Changes by: 
                Theodore A. Roth <address@hidden>
'Date: 
                Wed 11/17/2004 at 02:51 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Done
         Assigned to | None                      | troth
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This was fixed in cvs a while back. I just did a successful build in Fedora 
Core 3 on i386. I suspect that it will work on ix86_64 too.

Here's the ChangeLog entry:

2004-10-11  Theodore A. Roth  <address@hidden>
[Contributed by Margarita Manterola <address@hidden>]

        * configure.ac (AC_INIT): Bump version.

        * src/Global.h: Include stddef.h so that NULL is always defined, making
        the code g++-3.4 compatible.







/**************************************************************************/
[support #103577] Full Item Snapshot:

URL: <http://savannah.nongnu.org/support/?func=detailitem&item_id=103577>
Project: AVR In-System Programmer
Submitted by: 0
On: Tue 11/16/2004 at 22:40

Category:  None
Priority:  5 - Normal
Severity:  3 - Ordinary
Resolution:  Done
Privacy:  Public
Assigned to:  troth
Originator Email:  address@hidden
Status:  Closed


Summary:  can't compile 20040311 on fedora3 x86_64 - NULL undefined

Original Submission:  ./configure completes ok.

compile complains about NULL. added
#include <string.h>
at line 31 of Global.h and all is well.


16:29:10 nomad /prog/avr/uisp-20040311# make
Making all in src
make[1]: Entering directory `/prog/avr/uisp-20040311/src'
make  all-am
make[2]: Entering directory `/prog/avr/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 `/prog/avr/uisp-20040311/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/prog/avr/uisp-20040311/src'
make: *** [all-recursive] Error 1
16:29:24 nomad /prog/avr/uisp-20040311#


Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 11/17/2004 at 02:51       By: Theodore A. Roth <troth>
This was fixed in cvs a while back. I just did a successful build in Fedora 
Core 3 on i386. I suspect that it will work on ix86_64 too.

Here's the ChangeLog entry:

2004-10-11  Theodore A. Roth  <address@hidden>
[Contributed by Margarita Manterola <address@hidden>]

        * configure.ac (AC_INIT): Bump version.

        * src/Global.h: Include stddef.h so that NULL is always defined, making
        the code g++-3.4 compatible.













For detailed info, follow this link:
<http://savannah.nongnu.org/support/?func=detailitem&item_id=103577>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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