[Olsr-users] Android Development - Samsung Galaxy
Henning Rogge
(spam-protected)
Thu May 19 09:05:56 CEST 2011
On Wed May 18 2011 23:29:20 Fabio Almeida wrote:
> (spam-protected):~/Desktop/olsrd-0.6.0$ make OS=android DEBUG=1
> build_all
> /home/fabioalmeida/android-ndk-r4/build/prebuilt/linux-x86/arm-eabi-
> 4.2.1/bin/arm-eabi-gcc -Wall -Wextra -Wold-style-definition
> -Wdeclaration-after- statement -Wmissing-prototypes -Wstrict-prototypes
> -Wmissing-declarations - Wsign-compare -Waggregate-return
> -Wmissing-noreturn -Wmissing-format-attribute - Wno-multichar
> -Wno-deprecated-declarations -Wendif-labels -Wwrite-strings -Wbad-
> function-cast -Wpointer-arith -Wcast-qual -Wshadow -Wsequence-point
> -Wpointer- arith -Wcast-align -Wnested-externs -Winline
> -Wdisabled-optimization -finline- functions-called-once -funit-at-a-time
> -fearly-inlining -finline-limit=350 -
> I/home/fabioalmeida/android-ndk-r4/build/platforms/android-4/arch-
> arm/usr/include -ggdb -Isrc -DUSE_FPM -Dlinux -Dandroid
> -DINET_ADDRSTRLEN=16 - Dipv6mr_interface=ipv6mr_ifindex
> -D'IPTOS_PREC(tos)=((tos)&0xe0)' - D'IPTOS_TOS(tos)=((tos)&0x1e)' -
> DOLSRD_GLOBAL_CONF_FILE=\"/data/local/etc/olsrd.conf\" -DDEBUG -c -o
> src/linux/kernel_routes_ioctl.o src/linux/kernel_routes_ioctl.c
Something strange is going on in your build system... the Android makefile
shoudl activate "LINUX_NETLINK_ROUTING", which should comment out the whole
src/linux/kernel_routes_ioctl.c file.
> In file included from
> /home/fabioalmeida/android-ndk-r4/build/platforms/android-
> 4/arch-arm/usr/include/sys/socket.h:33,
> from src/defs.h:48,
> from src/linux/kernel_routes_ioctl.c:42:
> /home/fabioalmeida/android-ndk-r4/build/platforms/android-4/arch-
> arm/usr/include/linux/socket.h: In function '__cmsg_nxthdr':
> /home/fabioalmeida/android-ndk-r4/build/platforms/android-4/arch-
> arm/usr/include/linux/socket.h:89: warning: cast increases required
> alignment of target type
Thats an error in a system include... hmm...
Henning Rogge
--
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20110519/aa0fa6a7/attachment-0001.sig>
More information about the Olsr-users
mailing list