Hi Steven,

My compile failed, even following the process you mentioned. I have a
Debian (Jessie) installation with non-native ace library (i using the EMANE
custom lib ace).

---
$ dpkg -l ace*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome                        Versão            Arquitectura
Descrição
+++-===========================-==================-==================-============================================================
ii  ace                         6.1.7-1            amd64              The
ADAPTIVE Communication Environment (ACE) is a freely ava
ii  ace-dev                     6.1.7-1            amd64              This
package contains the components needed for developing p
---

Follows the error:

---
Making all in src/emane
make[1]: Entering directory
`/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/emane'
make[2]: Entering directory
`/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1'
make[2]: Leaving directory
`/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1'
g++ -DPACKAGE_NAME=\"emane\" -DPACKAGE_TARNAME=\"emane\"
-DPACKAGE_VERSION=\"0.8.1\" -DPACKAGE_STRING=\"emane\ 0.8.1\"
-DPACKAGE_BUGREPORT=\"labs\ at\ cengen\ dot\ com\" -DPACKAGE=\"emane\"
-DVERSION=\"0.8.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE_RAND_R_SEED_PASS_BY_PTR=/\*\*/ -D__BYTE_ORDER=__LITTLE_ENDIAN
-D__LITTLE_ENDIAN=1234 -D__BIG_ENDIAN=4321 -I. -I../../include
-I../../src/libemanexmlparser   -I/usr/include/libxml2     -W -Wall -O2 -MT
emane-emane.o -MD -MP -MF .deps/emane-emane.Tpo -c -o emane-emane.o `test
-f 'emane.cc' || echo './'`emane.cc
mv -f .deps/emane-emane.Tpo .deps/emane-emane.Po
g++ -DPACKAGE_NAME=\"emane\" -DPACKAGE_TARNAME=\"emane\"
-DPACKAGE_VERSION=\"0.8.1\" -DPACKAGE_STRING=\"emane\ 0.8.1\"
-DPACKAGE_BUGREPORT=\"labs\ at\ cengen\ dot\ com\" -DPACKAGE=\"emane\"
-DVERSION=\"0.8.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE_RAND_R_SEED_PASS_BY_PTR=/\*\*/ -D__BYTE_ORDER=__LITTLE_ENDIAN
-D__LITTLE_ENDIAN=1234 -D__BIG_ENDIAN=4321 -I. -I../../include
-I../../src/libemanexmlparser   -I/usr/include/libxml2     -W -Wall -O2 -MT
emane-nemdirector.o -MD -MP -MF .deps/emane-nemdirector.Tpo -c -o
emane-nemdirector.o `test -f 'nemdirector.cc' || echo './'`nemdirector.cc
mv -f .deps/emane-nemdirector.Tpo .deps/emane-nemdirector.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -I/usr/include/libxml2
    -W -Wall -O2  -lpthread -ldl -avoid-version -o emane emane-emane.o
emane-nemdirector.o -L../../src/libemanexmlparser/.libs
-L../../src/libemane/.libs -lemanexmlparser -lemane -lxml2   -lACE
libtool: link: g++ -I/usr/include/libxml2 -W -Wall -O2 -o .libs/emane
emane-emane.o emane-nemdirector.o
 
-L/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/libemanexmlparser/.libs
-L/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/libemane/.libs
/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/libemanexmlparser/.libs/libemanexmlparser.so
/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/libemane/.libs/libemane.so
-lpthread -ldl -lxml2 -lACE
/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/libemane/.libs/libemane.so:
undefined reference to `ACE_Event_Handler::handle_signal(int, siginfo_t*,
ucontext*)'
collect2: error: ld returned 1 exit status
make[1]: *** [emane] Error 1
make[1]: Leaving directory
`/root/emane/src/emane-0.8.1-release-1/src/emane-0.8.1/src/emane'
make: ** [all-recursive] Erro 1

---

Has anyone had this problem?

Bye,


2013/7/25 Steven Galgano <[email protected]>

> Simone,
>
> Below are the detailed steps for obtaining the 0.8.1 source and applying
> the universalphy_stalepathlosspropagation.patch patch.
>
> [] Download emane 0.8.1 source bundle
>
> # wget
>
> http://downloads.pf.itd.nrl.navy.mil/emane/0.8.1-r1/emane-0.8.1-release-1.src.tgz
>
> [] Unpack the source bundle
> # tar zxvf emane-0.8.1-release-1.src.tgz
>
> [] Navigate to the src directory
> # cd emane-0.8.1-release-1/src
>
> [] Unpack emane 0.8.1
> # tar zxvf emane-0.8.1.tar.gz
>
> [] Navigate to the src directory
> # cd emane-0.8.1
>
> [] Apply the patch
> # patch -p 1 < <PATCH
> DIR>/emane-0.8.1-universalphy_stalepathlosspropagation.patch
>
> [] Configure emane
> # ./configure --prefix=/usr
>
> [] Build emane
> # make
>
> After a successful build the patched Universal PHY plugin will be
> located here:
>
>  emane-0.8.1/models/universal/phylayer/.libs/libuniversalphylayer.so
>
> At this point you have two options:
>
> 1. Simply replace the library installed on your system with the one you
> just built
>
> (on my system)
>
> # sudo cp models/universal/phylayer/.libs/libuniversalphylayer.so
> /usr/lib64/libuniversalphylayer.so
>
> 2. Do a complete install:
>
> # sudo make install
>
>
> Note: All the development packages required to build emane are available
> via your distribution package manager with one exception, ACE. You can
> find the ACE development package in the package directory of your
> distribution specific emane 0.8.1 bundle.
>
> All distribution specific bundles are located here:
>
>  http://downloads.pf.itd.nrl.navy.mil/emane/0.8.1-r1/
>
> The procedure for installing any of the other patches is similar.
>
>
> --
> Steven Galgano
> Adjacent Link LLC
> www.adjacentlink.com
>
>
> On 07/25/2013 11:12 AM, smlabs wrote:
> > Hello Steve,
> >
> > which is the procedure to apply the patch?
> >
> > Regards,
> > Simone
> >
> >
> > On Jul 25, 2013, at 3:37 PM, Steven Galgano <[email protected]>
> wrote:
> >
> >> A bug was found in EMANE 0.8.1 that will cause a stale pathloss value
> >> and a stale propagation time to be used for receive processing within
> >> the Universal PHY when a transmitting NEM's location changes but the
> >> receiving NEM's location remains the same. These stale values will be
> >> reported until the receiving NEM's location changes.  At which time both
> >> the pathloss and propagation time from the transmitting NEM to the
> >> receiving NEM will be recalculated.
> >>
> >> This bug affects *all* Universal PHY instances. Those instances
> >> configured to use EMANE's built in propagation algorithms, those with
> >> the 'pathlossmode' configuration parameter set to 'freespace' or '2ray',
> >> will have *both* the stale pathloss and the stale propagation time
> >> issue. Those Universal PHY instances with 'pathlossmode' set to
> >> 'pathloss' will *only* have the stale propagation time issue.
> >>
> >> The attached patch fixes the stale pathloss and propagation time issues:
> >> emane-0.8.1-universalphy_stalepathlosspropagation .patch (emane)
> >>
> >> Since the release of 0.8.1 there have been a total of 3 patches (not
> >> including this one):
> >>
> >> * Set TTL for OTA and Event multicast channels (emane)
> >>    emane-0.8.1-ttl_ota_event_channels.patch
> >>
> >> * Fix Comm Effect EEL event addressing  (emanegeneel add-on)
> >>    emanegeneel-0.2.1-commeffectaddressing.patch
> >>
> >> * Fix Comm Effect off-by-on loss percentage (emanecommeffect add-on)
> >>    emanecommeffect-0.5.1-loss_probability.patch
> >>
> >> All 0.8.1 patches to date have been attached for your convenience.
> >>
> >> --
> >> Steven Galgano
> >> Adjacent Link LLC
> >> www.adjacentlink.com
> >>
> <emane-0.8.1-universalphy_stalepathlosspropagation.patch><emane-0.8.1-ttl_ota_event_channels.patch><emanegeneel-0.2.1-commeffectaddressing.patch><emanecommeffect-0.5.1-loss_probability.patch>_______________________________________________
> >> emane-users mailing list
> >> [email protected]
> >> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
> >
> _______________________________________________
> emane-users mailing list
> [email protected]
> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
>
_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to