[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [sr #108667] Compilation problems
From: |
anonymous |
Subject: |
[Simulavr-devel] [sr #108667] Compilation problems |
Date: |
Wed, 15 Oct 2014 09:50:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL:
<http://savannah.nongnu.org/support/?108667>
Summary: Compilation problems
Project: Simulavr: an AVR simulator
Submitted by: None
Submitted on: Wed 15 Oct 2014 09:50:26 AM UTC
Category: bugs
Priority: 5 - Normal
Severity: 5 - Blocker
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavr
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
Under ubuntu 14.04, compiling the latest git version yields some problems:
- in src/hwacomp.cpp the "hwtimer.h" include must be modified in
"hwtimer/hwtimer.h"
-in "src/avrreadelf.cpp" the #include "elfio/elfio.hpp" must be modified
#include "elfio/elfio/elfio.hpp"
- in "src/elfio/elfio/elfio.hpp" (at the beginning and around line 622)
explicit include must be specified as follows:
#include "elf_types.hpp"
#include "elfio_utils.hpp"
#include "elfio_header.hpp"
#include "elfio_section.hpp"
#include "elfio_segment.hpp"
#include "elfio_strings.hpp"
- Unresolved yet, when compiling "gtest" the following happens (gtest.h badly
included) and no way to add it in simulavr-1.1dev
Making all in gtest
make[3]: entrant dans le répertoire «
/opt/simulavr/simulavr/simulavr-1.1dev/_build/regress/gtest »
depbase=`echo gtest_main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../regress/gtest -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 gtest_main.o -MD
-MP -MF $depbase.Tpo -c -o gtest_main.o ../../../regress/gtest/gtest_main.cpp
&&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo session_001/unittest001.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../regress/gtest -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 ../../../regress/gtest/session_001/unittest001.cpp
&&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo session_irq_check/unittest_irq.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../regress/gtest -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_irq_check/unittest_irq.o -MD -MP -MF $depbase.Tpo -c -o
session_irq_check/unittest_irq.o
../../../regress/gtest/session_irq_check/unittest_irq.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo session_io_pin/unittest_io_pin.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../regress/gtest -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_io_pin/unittest_io_pin.o -MD -MP -MF $depbase.Tpo -c -o
session_io_pin/unittest_io_pin.o
../../../regress/gtest/session_io_pin/unittest_io_pin.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo gtest-1.6.0/src/gtest-all.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../regress/gtest -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
gtest-1.6.0/src/gtest-all.o -MD -MP -MF $depbase.Tpo -c -o
gtest-1.6.0/src/gtest-all.o
../../../regress/gtest/gtest-1.6.0/src/gtest-all.cc &&\
mv -f $depbase.Tpo $depbase.Po
../../../regress/gtest/gtest_main.cpp:1:19: fatal error: gtest.h: Aucun
fichier ou dossier de ce type
#include "gtest.h"
^
compilation terminated.
../../../regress/gtest/gtest-1.6.0/src/gtest-all.cc:39:25: fatal error:
gtest/gtest.h: Aucun fichier ou dossier de ce type
#include "gtest/gtest.h"
^
compilation terminated.
../../../regress/gtest/session_001/unittest001.cpp:4:19: fatal error: gtest.h:
Aucun fichier ou dossier de ce type
#include "gtest.h"
^
compilation terminated.
../../../regress/gtest/session_io_pin/unittest_io_pin.cpp:4:19: fatal error:
gtest.h: Aucun fichier ou dossier de ce type
#include "gtest.h"
^
compilation terminated.
make[3]: *** [gtest_main.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
../../../regress/gtest/session_irq_check/unittest_irq.cpp:4:19: fatal error:
gtest.h: Aucun fichier ou dossier de ce type
#include "gtest.h"
^
compilation terminated.
make[3]: *** [gtest-1.6.0/src/gtest-all.o] Erreur 1
make[3]: *** [session_001/unittest001.o] Erreur 1
make[3]: *** [session_io_pin/unittest_io_pin.o] Erreur 1
make[3]: *** [session_irq_check/unittest_irq.o] Erreur 1
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/support/?108667>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Simulavr-devel] [sr #108667] Compilation problems,
anonymous <=