acs_advanced_device executable not generated with toolchain

1 view
Skip to first unread message

Leo C.

unread,
May 13, 2011, 5:13:55 AM5/13/11
to WS4D-gSOAP Users
Hello,
I cross-compiled ws4d-gsoap for Android, as well as the examples.
For testing purpose I would need the acs_advanced_device executable to
run on Android, but it is not generated like the other executable
files. When compiling and installing examples for Ubuntu,
acs_advanced_device is installed.

It seems CMake doesn't find the Threads library when cross-compiling
whereas while installing the example for Ubuntu, the Thread library is
found. What could cause this issue?

Regards
Léo

Elmar Zeeb

unread,
May 13, 2011, 5:42:51 AM5/13/11
to ws4d-gso...@googlegroups.com
The issue is either in the FindThreads.cmake file under
/usr/share/cmake-2.8/Modules or in the android ndk. On most systems this
cmake module works but not with the android ndk as it has lot of
differences to a common unix or linux environment.

I made a small change to the main cmake file:
http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/changeset/436 .
Now you can "overwrite" the system FindThreads.cmake file by putting
your own version in the cmake-modules directory and try to change the
file to make the thread support work. When i looked at the module the
first thing noticed is that it searches for a pthread library and the
ndk does not have such a library. The pthread functions must be included
in another android specific library.

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

Reply all
Reply to author
Forward
0 new messages