QUSIR / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Unable to cross compile staff code (with axis2/c-1.6.0) for BeagleBone(AM335x Cortex A8 ARM processor) #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 

Original issue reported on code.google.com by mandar.n...@gmail.com on 4 Jun 2012 at 10:43

GoogleCodeExporter commented 9 years ago
This issue trakcer is for reporting defects or new features only.

If you want to ask a question, you should use 
[https://groups.google.com/forum/?fromgroups#!forum/wsf-staff WSF Staff on 
Google Groups].

Please repost your question there.

Hint: looks like you include path are invalid:

In file included from /usr/include/stdio.h:928:0,
^^^ /usr/include should never included while using toolchain.

Axis2c should be compiled and installed prior to Staff.

Original comment by loentar on 4 Jun 2012 at 11:23

GoogleCodeExporter commented 9 years ago
Issue 166 has been merged into this issue.

Original comment by loentar on 5 Jun 2012 at 6:27