Unable to cross compile staff code (with axis2/c-1.6.0) for BeagleBone(AM335x Cortex A8 ARM processor) using native compiler.

429 views
Skip to first unread message

Mandar Nandale

unread,
Jun 4, 2012, 8:48:13 AM6/4/12
to wsf-...@googlegroups.com
I am trying to install my staff code(LIBRARY_VERSION=1.99.1 & PACKAGE_VERSION=2.0.0-a1) for beagleBone but i am getting following errors:(I am using native compiler on board which comes with armstrong file system)

In file included from /usr/include/stdio.h:928:0,
from ../../../include/platforms/unix/axutil_date_time_util_unix.h:23,
from ../../../include/platforms/unix/axutil_unix.h:120,
from ../../../include/platforms/axutil_platform_auto_sense.h:53,
from uuid_gen_unix.c:50:
/usr/include/bits/stdio.h:37:1: error: redefinition of 'vprintf'
/usr/include/bits/stdio.h:45:1: error: redefinition of 'getchar'
/usr/include/bits/stdio.h:45:1: note: previous definition of 'getchar' was here
/usr/include/bits/stdio.h:54:1: error: redefinition of 'fgetc_unlocked'
/usr/include/bits/stdio.h:54:1: note: previous definition of 'fgetc_unlocked' was here
/usr/include/bits/stdio.h:64:1: error: redefinition of 'getc_unlocked'
/usr/include/bits/stdio.h:64:1: note: previous definition of 'getc_unlocked' was here
/usr/include/bits/stdio.h:71:1: error: redefinition of 'getchar_unlocked'
/usr/include/bits/stdio.h:71:1: note: previous definition of 'getchar_unlocked' was here
/usr/include/bits/stdio.h:80:1: error: redefinition of 'putchar'
/usr/include/bits/stdio.h:89:1: error: redefinition of 'fputc_unlocked'
/usr/include/bits/stdio.h:89:1: note: previous definition of 'fputc_unlocked' was here
/usr/include/bits/stdio.h:99:1: error: redefinition of 'putc_unlocked'
/usr/include/bits/stdio.h:99:1: note: previous definition of 'putc_unlocked' was here
/usr/include/bits/stdio.h:106:1: error: redefinition of 'putchar_unlocked'
/usr/include/bits/stdio.h:106:1: note: previous definition of 'putchar_unlocked' was here
/usr/include/bits/stdio.h:116:1: error: redefinition of 'getline'
/usr/include/bits/stdio.h:116:1: note: previous definition of 'getline' was here
/usr/include/bits/stdio.h:126:1: error: redefinition of 'feof_unlocked'
/usr/include/bits/stdio.h:126:1: note: previous definition of 'feof_unlocked' was here
/usr/include/bits/stdio.h:133:1: error: redefinition of 'ferror_unlocked'
/usr/include/bits/stdio.h:133:1: note: previous definition of 'ferror_unlocked' was here
make[5]: *** [uuid_gen_unix.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/date_time_util_unix.Tpo .deps/date_time_util_unix.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -D_GNU_SOURCE -MT thread_unix.lo -MD -MP -MF .deps/thread_unix.Tpo -c thread_unix.c -o thread_unix.o >/dev/null 2>&1
mv -f .deps/thread_unix.Tpo .deps/thread_unix.Plo
make[5]: Leaving directory `/home/root/staff/staff/axis2c/util/src/platforms/unix'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/root/staff/staff/axis2c/util/src'
make[3]: *** [all-recursive] Error 1


What is a reason that unable to compile axis2/c(1.6.0) on my board?
Anybody successfully installed staff on arm platform?
Any kind of help on cross_compilation, RESTful, staff,axis2/c is welcome
THANK YOU

These errors are coming while installing axis2/c on BeagleBone. and make is using a cross-native compiler available with armstrong file system,


Dmitry Utkin

unread,
Jun 4, 2012, 2:57:58 PM6/4/12
to wsf-...@googlegroups.com

One thing I not understand fully.. You made crosscompilation using toolchain and then you start make install on the board?

Please describe your actions step by step.


Some time ago I made builds of Axis2/C and Staff using arm toolchains (cross compiler tools) and under debian arm chroot environment (using qemu). In both cases builds of Axis2/C and Staff successfully worked on Arm5 target platform under busybox.

There is some strange thing in your logs: redifinition of a symbol, that is defined in the same file and line. It is possible that your header files is defective? Looks like standard header guard is missing of corrupted.

Also it is possible that configure script has detected some features incorrectly (for example __USE_EXTERN_INLINES definition).


Please post your config.h, config.log files that was created by configure script. It may help to diagnose the problem.


понедельник, 4 июня 2012 г., 16:48:13 UTC+4 пользователь Mandar Nandale написал:
Message has been deleted

Mandar Nandale

unread,
Jun 5, 2012, 1:36:22 AM6/5/12
to wsf-...@googlegroups.com
More message actions
1 minute (11:03)
Other recipients:
Hey Dmitry Thanks for your help and time...

What i was trying (step by step):
1) I developed bootloader and filesystem using das-u-boot and busybox respectively.
2) Then i created cross-native compiler for arm board using my working toolchain. and installed it on filesystem.
3) I downloaded axis2/c-1.6.0 and wsf staff and dumbed them on beaglebone (without cross compiling).
4) I configured axis2/c using --> ./configure --prefix=$AXIS2C_HOME --enable-tests=no --enable-amqp=no
5) Then i tried "make" and following errors occured.

I was trying to find out the reasons and you are absolutely right because header file (/include/bits/stdio.h) was defective and replacement for this file is attached here http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40212

but still after replacing this file i am getting some new errors... i will find way out of this later..

first I will try the conventional way as u had done for arm5...and then once again i will try this cross-native for fun...
Thanks again Dmitry...
Message has been deleted

Mandar Nandale

unread,
Jun 6, 2012, 8:55:17 AM6/6/12
to wsf-...@googlegroups.com
I tried cross compiling axis2/c and make gives -lssl cannot found error :

I am using build.sh script :


#!/bin/bash
set -e
sh autogen.sh
WSFCPP_HOME=${WSFCPP_HOME:=`pwd`/deploy}

export WSFCPP_HOME

echo "WSFCPP_HOME = ${WSFCPP_HOME}"

sh configure --prefix=${WSFCPP_HOME} --enable-tests=yes --host=i686-pc-linux-gnu ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-
make -j 10 ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-
make install ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-

cd samples
sh autogen.sh
sh configure --prefix=${WSFCPP_HOME} --with-axis2=${WSFCPP_HOME}/include/axis2-1.6.0 --host=i686-pc-linux-gnu ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-

make -j 10 ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi-
make install ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi- --prefix=${TARGET_PREFIX}
cd ..

And configure was successful but make gives following error:
 
Making all in server
make[6]: Entering directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server'
Making all in simple_axis2_server
make[7]: Entering directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server/simple_axis2_server'
make[8]: Entering directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server/simple_axis2_server'
/bin/sh ../../../../../../libtool --tag=CC   --mode=link /home/Project/control-project/daq-module/tools/bin/arm-unknown-linux-gnueabi-gcc -g -pthread -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall  -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_SVR_MULTI_THREADED -DAXIS2_SSL_ENABLED  -lpthread -o axis2_http_server http_server_main.o -lpthread ../../../../../../src/core/transport/http/util/libaxis2_http_util.la ../../../../../../src/core/transport/http/common/libaxis2_http_common.la ../../../../../../axiom/src/om/libaxis2_axiom.la ../../../../../../util/src/libaxutil.la ../../../../../../axiom/src/parser/guththila/libaxis2_parser.la ../../../../../../src/core/description/libaxis2_description.la ../../../../../../src/core/deployment/libaxis2_deployment.la ../../../../../../src/core/context/libaxis2_context.la ../../../../../../src/core/clientapi/libaxis2_clientapi.la ../../../../../../src/core/engine/libaxis2_engine.la ../../../../../../src/core/transport/http/sender/libaxis2_http_sender.la ../../../../../../src/core/transport/http/receiver/libaxis2_http_receiver.la ../../../../../../neethi/src/libneethi.la -lpthread -ldl
libtool: link: /home/Project/control-project/daq-module/tools/bin/arm-unknown-linux-gnueabi-gcc -g -pthread -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -g -D_GNU_SOURCE -DAXIS2_SVR_MULTI_THREADED -DAXIS2_SSL_ENABLED -o axis2_http_server http_server_main.o  ../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a ../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common.a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a ../../../../../../util/src/.libs/libaxutil.a ../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a ../../../../../../src/core/description/.libs/libaxis2_description.a ../../../../../../src/core/deployment/.libs/libaxis2_deployment.a ../../../../../../src/core/context/.libs/libaxis2_context.a ../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a ../../../../../../src/core/engine/.libs/libaxis2_engine.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/neethi/src/.libs/libneethi.a ../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender.a -lssl -lcrypto ../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_receiver.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/common/.libs/libaxis2_http_common.a ../../../../../../neethi/src/.libs/libneethi.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/axiom/src/om/.libs/libaxis2_axiom.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/axiom/src/parser/guththila/.libs/libaxis2_parser.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/guththila/src/.libs/libguththila.a /home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/util/src/.libs/libaxutil.a -lpthread -ldl -pthread
/home/Project/control-project/daq-module/tools/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.4.1/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[8]: *** [axis2_http_server] Error 1
make[8]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server/simple_axis2_server'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server/simple_axis2_server'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http/server'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport/http'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core/transport'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Mandar/workspace/source/bsp/root_fs/test/home/staff/staff/axis2/axis2c'
make: *** [all] Error 2

What is a solution for this -lssl ?

Mandar Nandale

unread,
Jun 6, 2012, 9:05:09 AM6/6/12
to wsf-...@googlegroups.com
One more question Dmitry ...I am trying to install staff/axis2/c on my board for xml  (send/recieve) using REST so will openssl required for this ? if no, how can i disable this option while configuring axis2/c, so that i can build successfully...
Thank you

Dmitry Utkin

unread,
Jun 6, 2012, 9:27:09 AM6/6/12
to wsf-...@googlegroups.com
Strange, seems like my last message was removed by someone without sending a mail notification (some spam protection or file attach is too big)?



SSL is needed when you are using HTTPS only. If you don't need HTTPS don't enable ssl.

Why you are using WSF/CPP to build Axis2/C, not the plain Axis2/C?



I built Axis2/C and Staff using that Installation manual: http://code.google.com/p/staff/wiki/InstallationManualLinux

Link to built version for BeagleBone: https://docs.google.com/open?id=0BwvdX1pBENi1UjIyaDlzU3BtZk0

To build that version I downloaded http://downloads.angstrom-distribution.org/demo/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.05-beaglebone-2012.05.09.img.xz image, and built it using qemu's chroot environment.

Just fixed the axis2c-src-1.6.0/neethi/Makefile.am, removing test from targets to get axis2/c build correctly.

среда, 6 июня 2012 г., 17:05:09 UTC+4 пользователь Mandar Nandale написал:

Mandar Nandale

unread,
Jun 7, 2012, 2:58:46 AM6/7/12
to wsf-...@googlegroups.com
Hey Thanks Dmitry i tried built version for BeagleBone and it worked smoothly... I used staff_codegen for creating REST services and client...
Thanks again for your help and valuable time, i learned lots of things from this discussion...THANK YOU

maddy

unread,
Jun 18, 2012, 4:24:54 AM6/18/12
to wsf-...@googlegroups.com
Hey Dmitry,
         I am using staff code generator and my REST GET worked fine on BeagleBone (i am using ws-arm-staff-2.0.0-a1-r674) but now i need to implement POST services and i tried but i am getting this error (415 unsupported media type) while sending HTTP POST requests, I followed rest examples given on http://code.google.com/p/staff/wiki/Example for creating services/clients and i am properly adding metacomments for enabling rest support and post method.
        Is it a problem of axis2c or is there any patch to be added in staff for doing HTTP POST requests... i am trying to send xml data to server through post request...

Dmitry Utkin

unread,
Jun 18, 2012, 9:45:46 AM6/18/12
to wsf-...@googlegroups.com
Hi,

Post your service interface and network capture of your request and response, please.

2012/6/18 maddy <mandar....@gmail.com>



--
Best regards, Dmitry Utkin.

   E-Mail: loe...@gmail.com
   Skype: loentar
   ICQ: 179070447
   Jabber: --de...@jabber.org/Work
   Jabber-qip: 1790...@qip.ru/
   Magic word is: MjAxMQ

maddy

unread,
Jun 18, 2012, 11:20:32 AM6/18/12
to wsf-...@googlegroups.com
I attached files from my service folder , after creating my service i started server by following command, i checked (using browser at http://localhost:8080/axis2/services ) and i got following response that means service is created ,

samples.test

test service [wsdl]

Available Operations
  • Rules
Then i am using REST client (firefox plugin for REST client) and in which i am POSTing random data (say abcd) on http://localhost:8080/axis2/services/Rules/data     rest client response is,
  1. Status Code: 415 Unsupported Media Type
  2. Connection: Keep-Alive
  3. Date: Mon Jun 18 20:44:44 2012 GMT
  4. Server: Axis2C/1.6.0 (Simple Axis2 HTTP Server)
and as i am printing  logs on terminal server logs are as below,
 
./axis2_http_server -l 3 -p 8080 -r $AXIS2C_HOME -f /dev/stderr
[Mon Jun 18 20:33:04 2012] [info]  Starting Axis2 HTTP server....
[Mon Jun 18 20:33:04 2012] [info]  Apache Axis2/C version in use : 1.6.0
[Mon Jun 18 20:33:04 2012] [info]  Server port : 8080
[Mon Jun 18 20:33:04 2012] [info]  Repo location : /usr/local/axis2c
[Mon Jun 18 20:33:04 2012] [info]  Read Timeout : 60000 ms
INFO src/DepSvc4Impl.cpp[23] OnCreate: Service 4 is loaded
INFO src/DepSvc3Impl.cpp[23] OnCreate: Service 3 is loaded
INFO src/DepSvc1Impl.cpp[23] OnCreate: Service 1 is loaded
INFO src/DepSvc2Impl.cpp[23] OnCreate: Service 2 is loaded
StaffService started (version 1.99.1)
Started Simple Axis2 HTTP Server ...
[Mon Jun 18 20:33:05 2012] [info]  Starting HTTP server thread
[Mon Jun 18 20:34:40 2012] [info]  Request served in 0.039 seconds


It says request served, then why unsupported media type error is coming?
I am new to c++ and REST may be i am doing some mistake in POST request...or service creation..what is correct way to post xml data on server..
test.h
testWrapper.cpp
testImpl.cpp

Dmitry Utkin

unread,
Jun 18, 2012, 3:25:11 PM6/18/12
to wsf-...@googlegroups.com
Axis2/C cannot serve default "text/plain" content type, so you should define custom Content-Type header in RESTClient:

Content-Type: application/x-www-form-urlencoded

and use that url to invoke your service with POST method:

http://localhost:8080/axis2/services/samples.test/Rules/data=test

Please note, if you set Content-Type to text/xml, you should POST valid soap envelope s request.

2012/6/18 maddy <mandar....@gmail.com>

maddy

unread,
Jun 19, 2012, 4:31:21 AM6/19/12
to wsf-...@googlegroups.com
Thanks Dmitry,
         
       I added Content-Type line to my rest client and it works for me.... now i can post text data...
for example i posted "welcome to the world of linux" and it was successful but when i tried posting xml data it wasn't,error is url not found (i think this is because of "/" in xml data)
      what changes i should do to post data in xml format? 

i attached  main.cpp and test.h of client and as u can see i am sending "welcome to the world of linux" this was successful and,
when i changed my string to "<ZigBee_Configuration><PAN_ID V='1122334455667788'/><CHANNEL V= '318C800'/><PERMIT_JOIN V='1'/><PERMIT_DEVICES V='FFFF'/></ZigBee_Configuration>"  post failed and it gives url not found error.
test.h
main.cpp

Dmitry Utkin

unread,
Jun 20, 2012, 1:37:19 AM6/20/12
to wsf-...@googlegroups.com
Hi,

1. On client side you should change Content-Type to "text/xml"
2. When sending xml request you should surround it onto <OperationName> (seems like axis2/c does not adds those xml element for text/xml content type).
Fixed request is:

<Rules>

  <ZigBee_Configuration>
    <PAN_ID V='1122334455667788'/>

    <CHANNEL V='318C800'/>
    <PERMIT_JOIN V='1'/>
    <PERMIT_DEVICES V='FFFF'/>
  </ZigBee_Configuration>
</Rules>


3. Remove parameter name in restLocation: all data should be in xml.

4. Add metacomment to get the correct request element in your service.
// *param-YOURPARAMNAME-useParentElement: true

5. Use staff::DataObject class to get access to the xml posted.

Working example of a service is in attach.

2012/6/19 maddy <mandar....@gmail.com>
rest_do.zip

maddy

unread,
Jun 21, 2012, 4:53:47 AM6/21/12
to wsf-...@googlegroups.com
Hi,
      Thanks a lot Dmitry finally everything is working smoothly on ARM board, this wasn't possible without your support and valuable suggestions, you are doing excellent work. Thanx again, I will contact you soon if i decide to use staff/axis2c for commercial use.

maddy

unread,
Jul 10, 2012, 3:42:17 AM7/10/12
to wsf-...@googlegroups.com
Hi Dmitry,

          What are the ways to add security in RESTful web services? In one of your reply to older thread you mentioned this  link
is there any alternative other than this? I was reading this post http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/
and also some more replies on REST security, so,because i am new to all these stuff i am quite confused in which way to go... will you please suggest me which way i should go.
THANK YOU

Regards,
Mandar

Dmitry Utkin

unread,
Jul 10, 2012, 2:12:53 PM7/10/12
to wsf-...@googlegroups.com
Hi,

Sorry, I'm not very familiar with secure REST services. This is out of WSF Staff scope and out of my competence.

2012/7/10 maddy <mandar....@gmail.com>

Yasir K

unread,
Feb 25, 2014, 6:22:54 AM2/25/14
to wsf-...@googlegroups.com
Hi Dimitry,

I'm trying to compile STAFF and Axis2C on a beaglebone running angstrom, but it fails on the make command with the following error, do you know of any installation guide other than the one mentioned in this thread that I can use to build staff and axis on a BB.


 gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -D_GNU_SOURCE -MT uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
uuid_gen_unix.c: In function 'axutil_uuid_gen_v1':
uuid_gen_unix.c:62:20: error: variable 'tv' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[5]: *** [uuid_gen_unix.lo] Error 1
make[5]: Leaving directory `/home/root/Axis/axisSource1.6/axis2c-src-1.6.0/util/src/platforms/unix'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/root/Axis/axisSource1.6/axis2c-src-1.6.0/util/src'

make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/root/Axis/axisSource1.6/axis2c-src-1.6.0/util'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/root/Axis/axisSource1.6/axis2c-src-1.6.0/util'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/Axis/axisSource1.6/axis2c-src-1.6.0'

Dmitry Utkin

unread,
Feb 25, 2014, 6:35:44 AM2/25/14
to wsf-...@googlegroups.com
You must disable -Werror flag everywhere or just use Axis2/C-unofficial instead.

To compile for BB please use this guide skipping steps 0 and 1 and replacing

 TARGET_HOST=i586-mingw32msvc

to BB's crosscompiler.


вторник, 25 февраля 2014 г., 15:22:54 UTC+4 пользователь Yasir K написал:

Yasir K

unread,
Mar 28, 2014, 5:57:26 AM3/28/14
to wsf-...@googlegroups.com
Thanks Dimitri, this worked!!

vinod Limbone

unread,
Apr 8, 2014, 6:29:37 AM4/8/14
to wsf-...@googlegroups.com
Hi Dmitry,

 I am unable to cross compile STAF source code  for ARM processer. Can you please help us on same


Following errors were resulted while cross compiling STAF for ARM imax536  processor Linux environment.

 /obj/linux/staf/retail/codepage/ucm2bin.o: In function `main':


ucm2bin.cpp:(.text.startup+0x85): undefined reference to `STAFConverter::~STAFConverter()'
ucm2bin.cpp:(.text.startup+0x1c3): undefined reference to `STAFConverter::STAFConverter(char*, STAFConverter::FileType)'
ucm2bin.cpp:(.text.startup+0x293): undefined reference to `STAFConverter::~STAFConverter()'


collect2: ld returned 1 exit status

make: *** [/home/baibhav/sarmistha/obj/linux/staf/retail/codepage/ucm2bin] Error 1

Thanks in advance
vinod

On Tuesday, 5 June 2012 00:27:58 UTC+5:30, Dmitry Utkin wrote:
Reply all
Reply to author
Forward
0 new messages