You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@kbc.be on 2005/07/19 16:29:53 UTC

Solaris compilation problem - wrong elf machine type

Hello,

When i try to link my c++ webservice client on solaris 8 i got the
following error

ld: fatal: file /ontw/warroom/AxisC++/lib/libaxiscpp_client.so: wrong ELF
machine type: EM_386
ld: fatal: File processing errors. No output written to testrun2


The link command
/opt/SUNWspro/WS6U2/bin/CC -I/ontw/warroom/AxisC++/include
-L/ontw/warroom/AxisC++/lib -laxiscpp_client -o testrun2 testrun Vanilla.o
VanillaModel.o

I found this example in the AXIS developers guide and since i include the
'axiscpp_client' library , which is necessary to build and link the client
code, i get this error.

It looks like the binaries were build on another machine then Solaris, but
on the apache site there is no downloadable distribution for solaris as
well as no build script available.

Any help is welcome ;-)

Thanks

Axel. Segers


This e-mail and any attached files are confidential and may be legally privileged. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify KBC immediately and then delete this e-mail.
KBC does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of or reliance on the information.
All e-mail messages addressed to, received or sent by KBC or KBC employees are deemed to be professional in nature. Accordingly, the sender or recipient of these messages agrees that they may be read by other KBC employees than the official recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof.

Re: Solaris compilation problem - wrong elf machine type

Posted by Adrian Dick <ad...@uk.ibm.com>.
Hi,

For the latest release binaries are available for Windows (32bit) and
Linux.  see ( http://ws.apache.org/axis/cpp/download.html  )
The nightly builds are also available on AIX. (see
http://cvs.apache.org/dist/axis/nightly/ )

As for building from source.  We are using an ANT based system,
instructions for which can be found here:
http://ws.apache.org/axis/cpp/antbuild-guide.html

Adrian
_______________________________________
Adrian Dick (adrian.dick@uk.ibm.com)


axel.segers@kbc.be wrote on 19/07/2005 15:29:53:

> Hello,
>
> When i try to link my c++ webservice client on solaris 8 i got the
> following error
>
> ld: fatal: file /ontw/warroom/AxisC++/lib/libaxiscpp_client.so: wrong ELF
> machine type: EM_386
> ld: fatal: File processing errors. No output written to testrun2
>
>
> The link command
> /opt/SUNWspro/WS6U2/bin/CC -I/ontw/warroom/AxisC++/include
> -L/ontw/warroom/AxisC++/lib -laxiscpp_client -o testrun2 testrun
Vanilla.o
> VanillaModel.o
>
> I found this example in the AXIS developers guide and since i include the
> 'axiscpp_client' library , which is necessary to build and link the
client
> code, i get this error.
>
> It looks like the binaries were build on another machine then Solaris,
but
> on the apache site there is no downloadable distribution for solaris as
> well as no build script available.
>
> Any help is welcome ;-)
>
> Thanks
>
> Axel. Segers
>
>
> This e-mail and any attached files are confidential and may be
> legally privileged. If you are not the addressee, any disclosure,
> reproduction, copying, distribution, or other dissemination or use
> of this communication is strictly prohibited. If you have received
> this transmission in error please notify KBC immediately and then
> delete this e-mail.
> KBC does not accept liability for the correct and complete
> transmission of the information, nor for any delay or interruption
> of the transmission, nor for damages arising from the use of or
> reliance on the information.
> All e-mail messages addressed to, received or sent by KBC or KBC
> employees are deemed to be professional in nature. Accordingly, the
> sender or recipient of these messages agrees that they may be read
> by other KBC employees than the official recipient or sender in
> order to ensure the continuity of work-related activities and allow
> supervision thereof.