Re: Rép: Re: Compilation on a ARM processor (ReadyNas 102)
Олег Борисенко <al@...
2016-02-03 21:11:21 GMT
If you provide me an ssh access to your build machine, maybe I could
find the reason and fix it (blind remote debug has much less chances
to succeed since we don't have any ARM environment and
cross-compilation is impossible since we can't reproduce your system).
Here is my ssh public key in the attachment if you preffer to do it in
this way. I will be at work in interval of 14:00-20:00 by Moscow time
On Thu, Feb 4, 2016 at 12:01 AM, ansel.jm <ansel.jm@...> wrote:
> I don't understand the error relatively to the exec method not found. Method exec is present in the
pcre_matcher.h file and the call seems correct at line 130. So I think that this is a very small bug but I
don't find it...
> Thank you
> Олег Борисенко <al@...> a écrit :
>>The error you see is related to third-party library PCRE (the first
>>one not PCRE2). You may try to substitute it with current version, but
>>if it doesn't help, we can not do anything with it. You can get these
>>and replace the files that are in sedna/libs/pcre with the files you downloaded.
>>Also I would recommend you to use not 3.4.66 version, but 3.6 (it's
>>newer by 3 years than 3.4). You can get the sources for it using git:
>>git clone git://sedna.org/sedna.git
>>On Wed, Feb 3, 2016 at 5:11 PM, <ansel.jm@...> wrote:
>>> Hello !
>>> Thanks for your answer !
>>> I tried the compilation forcing SEDNA_X32. __arm__ is automatically set by the cmake.
>>> The result is ALMOST GOOD : there is an (obviously un-correlated) error when compiling gen_num_ops,
file pcre_matcher.h, method exec not found on the class PcreMatcher.
>>> Built target gen_num_ops
>>> [ 26%] Building CXX object kernel/tr/CMakeFiles/se_trn.dir/executor/base/xs_uri.cpp.o
>>> In file included from /root/sedna-3.4.66/libs/pcre/pcre.h:211:0,
>>> from /root/sedna-3.4.66/kernel/tr/executor/base/xs_uri.cpp:20:
>>> /root/sedna-3.4.66/libs/pcre/pcre_matcher.h: In instantiation of ‘bool
PcreMatcher<CharIterator, iter_off_t>::matches(const CharIterator&, const CharIterator&, const
CharIterator&, int) [with CharIterator = const char*; iter_off_t = int]’:
>>> /root/sedna-3.4.66/kernel/tr/executor/base/xs_uri.cpp:703:68: required from here
>>> /root/sedna-3.4.66/libs/pcre/pcre_matcher.h:130:100: error: ‘exec’ was not declared in
this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>>> int rc = exec(m_re_extra, subject_start, subject_end, match_start, options, m_offsets, m_ofscount);
>>> I think there is a pb with the method, its declaration or its use but I can't find it.
>>> Do you have an idea please ?
>>> ----- Mail original -----
>>> De: "Олег Борисенко" <al@...>
>>> À: "ansel jm" <ansel.jm@...>
>>> Cc: sedna-discussion@...
>>> Envoyé: Mercredi 3 Février 2016 12:56:46
>>> Objet: Re: [Sedna-discussion] Compilation on a ARM processor (ReadyNas 102)
>>> Hello! We haven't even try to compile it against ARM arch, but you can
>>> try. You should look through this document:
>>> http://sourceforge.net/p/predef/wiki/Architectures/ and acknowledge
>>> what strings correspond your processor (ARM processors may be rather
>>> different - they can be 32 or 64 bit at least). Then you should insert
>>> the following construction in file / kernel / common / u / u.h (15 or
>>> 17 line if processor is 64 or 32 bit correspondingly)
>>> But most likely it wouldn't work at all because we don't have
>>> /u/atomic/arm.h at all because we hadn't ever got ARM hardware for
>>> On Wed, Feb 3, 2016 at 9:29 AM, <ansel.jm@...> wrote:
>>>> I'm trying to recompile SEDNA on an ARM processor.
>>>> Linux ECTSERVEUR 4.1.13.armada.1 #1 SMP Sat Nov 21 15:57:29 PST 2015 armv7l GNU/Linux
>>>> There is a problem in the file
>>>> make says : error: cannot determine architecture or it's not supported
>>>> Isn't it possible to recompile on ARM ? Which type of architecture should be there ?
>>>> Thanks in advance for any help.
>>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>> Monitor end-to-end web transactions and take corrective actions now
>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>> Sedna-discussion mailing list
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
Sedna-discussion mailing list