bugAVR In-System Programmer - Bugs: bug #11032, Reassigned item: can't compile...

 
 

bug #11032: Reassigned item: can't compile 20040311 on fedora3 x86_64 - NULL undefined

Submitter:  None
Submitted:  Wed 17 Nov 2004 02:51:14 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  troth
Originator Email:  * -email is unavailable- Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Nov 2004 02:51:14 AM UTC, comment #2: 

This item has been reassigned from the project AVR In-System Programmer support tracker to your tracker.

The original report is still available at support #103577

Following are the information included in the original report:

[field #0] Item ID: 103577
[field #1] Group ID: 2117
[field #2] Status: Closed
[field #3] Severity: 3 - Ordinary
[field #4] Privacy: Public
[field #5] Category: None
[field #6] Submitted by: None
[field #7] Assigned to: troth
[field #8] Submitted on: Tue 11/16/2004 at 22:40
[field #9] Summary: can t compile 20040311 on fedora3 x86_64 - NULL undefined
[field #10] 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#


[field #11] Closed on: Wed 11/17/2004 at 02:51
[field #12] Item Group: None
[field #13] Resolution: Done
[field #14] Component Version: None
[field #15] Platform Version: None
[field #16] Reproducibility: None
[field #17] Size (loc): None
[field #18] Fixed Release: None
[field #19] Planned Release: None
[field #20] Effort: 0.00
[field #24] Priority: 5 - Normal
[field #27] Percent Complete: 0%
[field #29] Release: None
[field #32] Originator Email: atomic@panaband.com
[field #54] Custom Select Box #1: None
[field #55] Custom Select Box #2: None
[field #56] Custom Select Box #3: None
[field #57] Custom Select Box #4: None
[field #58] Custom Select Box #5: None
[field #59] Custom Select Box #6: None
[field #60] Custom Select Box #7: None
[field #61] Custom Select Box #8: None
[field #62] Custom Select Box #9: None
[field #63] Custom Select Box #10: None

Theodore A. Roth <troth>
Wed 17 Nov 2004 02:51:11 AM UTC, comment #1: 

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  <troth@openavr.org>
[Contributed by Margarita Manterola <margamanterola@gmail.com>]

        * 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.

Theodore A. Roth <troth>
Wed 17 Nov 2004 02:51:14 AM UTC, 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#

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-17 troth StatusNone Fixed
    Assigned toNone troth
    Originator Email -email is unavailable-
    Open/ClosedOpen Closed
2004-11-17 troth Reassign itemFrom group AVR In-System Programmer, support tracker To group AVR In-System Programmer, bugs tracker

Back to the top

Powered by Savane 3.15-8efa.
Corresponding source code