Hi Johannes,

I'm still struggling with autotools plugin in eclipse and ibrdtn.

I'm having an issue when I try to crosscompile ibrdtn-tools,I think I have been able to crosscompile ibrcommon, ibrdtn and ibrdtnd but with the last package ibrdtn-tools while crosscompiling I was retreived this error
In file included from /usr/include/c++/4.6/bits/stl_algo.h:61:0,
                 from /usr/include/c++/4.6/algorithm:63,
                 from dtntracepath.cpp:17:
/usr/include/c++/4.6/cstdlib:119:11: error: ‘::malloc’ has not been declared


I've checked out the configure output of my ibrdtn-tools noticing this
...
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for memset... yes
...

I know how to fix it through linux terminal, but non through Eclipse or autotools pluging, since the settings of the project aren't available. May you enlighten me?

On the other hand, I'm wondering why you did disable the project C/C++ settings?

Kind regards,

Francisco


2013/1/29 Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
Hi.

The OpenWRT packages are build from the release archives using the
OpenWRT toolchain. The Makefiles and the additional stuff for OpenWRT
are available in the GIT or SVN repository:
http://www.ibr.cs.tu-bs.de/svn/ibr-dtn/trunk/recipes/openwrt/

Using the recipes there is not need to do configure manually at all.

Kind regards,
Johannes Morgenroth

-------- Weitergeleitete Nachricht --------
Von: Francisco Cuesta <ndarkness@gmail.com>
An: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>,
ibr-dtn@ibr.cs.tu-bs.de
Betreff: Re: [ibr-dtn] Compiling ibrdtn on Eclipse
Datum: Tue, 29 Jan 2013 16:05:44 +0100

Hello,


I have a question concerning to how did you cross-compile ibtrdt suite
for openwrt in a terminal first you configure ibrdtn project
with ./configure indicating that the target was a mips processor and you
passed as compiler the one in hte toolchain of OpenWRT, am I mistaken?


Thanks in advance

Regards,





2013/1/25 Francisco Cuesta <ndarkness@gmail.com>
        Hi Johannes,


        Understood, concerning to the crosscompilation with eclipse I
        know how to do it for my  target, however the error when I try
        to crosscompile ibrdtn project on eclipse is a reference one,
        since it always complains about the path of some files inside
        the project which cannot be reached, that's to say, it complains
        about the sentences include <ibrdtn/utils/Uitls.h> for instance,
        because it cannot find the file (or the path I guess) and says
        that such a file does not exist. May you tell me how how to
        reference the project inside folders in order other subfolders
        can reach then avoiding this reference problem? I tried to look
        it into the project settings (which were downloaded too) but I
        couldn't find them.

        Thank you so much


        Kind regards


        Fran



        2013/1/24 Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
                Both. In a terminal using the OpenWRT toolchain.

                -------- Weitergeleitete Nachricht --------
                Von: Francisco Cuesta <ndarkness@gmail.com>
                An: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
                Betreff: Re: [ibr-dtn] Compiling ibrdtn on Eclipse

                Datum: Thu, 24 Jan 2013 14:29:46 +0100

                I see, then when you compiled the code forn Openwrt for
                instance, did
                you make it through a terminal or wiht openwrt
                toolchain??







--
!! This message is brought to you via the `ibr-dtn' mailing list.
!! Please do not reply to this message to unsubscribe. To unsubscribe or adjust
!! your settings, send a mail message to <ibr-dtn-request@ibr.cs.tu-bs.de>
!! or look at https://www.ibr.cs.tu-bs.de/mailman/listinfo/ibr-dtn.