[Simulavr-devel] [bug #49033] Compiling the SimulAVR sources on Debian (Testing) fails

2016-11-04 Thread anonymous
Follow-up Comment #1, bug #49033 (project simulavr):

The problem is the two defines in the makefile for gtest:
 -Dprivate=public -Dprotected=public

Remove/comment out the line:
 GTEST_CXXFLAGS = -Dprivate=public -Dprotected=public

from Makefile.am in regress/gtest, reconfigure and it should compile fine.

Regards,

 -- Ronny

___

Reply to this item at:

  

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


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


[Simulavr-devel] [bug #49033] Compiling the SimulAVR sources on Debian (Testing) fails

2016-09-08 Thread anonymous
URL:
  

 Summary: Compiling the SimulAVR sources on Debian (Testing)
fails
 Project: Simulavr: an AVR simulator
Submitted by: None
Submitted on: Thu 08 Sep 2016 07:28:36 PM UTC
Category: Configure
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: nasser.at...@hotmail.com
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: simulavr

___

Details:

Hi,

I've pulled the source from git and executed 
./bootstrap 
./configure 
make 

as described in the INSTALL - file. But during compilation the make program
aborts the compilation with the following error:

[...]
make[2]: Entering directory '/home/zufall/SimulAVR/simulavr/regress/gtest'
depbase=`echo session_001/unittest001.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../src-Dprivate=public -Dprotected=public 
-Igtest-1.6.0/include/gtest -Igtest-1.6.0/include -Igtest-1.6.0 -I../../src -g
-g -O2 -MT session_001/unittest001.o -MD -MP -MF $depbase.Tpo -c -o
session_001/unittest001.o session_001/unittest001.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from gtest-1.6.0/include/gtest/internal/gtest-port.h:197:0,
 from gtest-1.6.0/include/gtest/internal/gtest-internal.h:40,
 from gtest-1.6.0/include/gtest/gtest.h:57,
 from session_001/unittest001.cpp:4:
/usr/include/c++/6/sstream:300:7: error: 'struct
std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs'
redeclared with different access
   struct __xfer_bufptrs
   ^~
Makefile:572: recipe for target 'session_001/unittest001.o' failed
make[2]: *** [session_001/unittest001.o] Error 1
make[2]: Leaving directory '/home/zufall/SimulAVR/simulavr/regress/gtest'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zufall/SimulAVR/simulavr/regress'
Makefile:509: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

The file with the entire make output is attached. Any help is highly
appreciated.

Regards
Nasser



___

File Attachments:


---
Date: Thu 08 Sep 2016 07:28:36 PM UTC  Name: make-output.txt  Size: 5kB   By:
None
output of make


___

Reply to this item at:

  

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


___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel