Fail to cross-compile for ARM on x86

Bug #892570 reported by Didier Barvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.2.x
Fix Released
Medium
Didier Barvaux
1.3.x
Fix Released
Medium
Didier Barvaux
Rohc-main
Invalid
Undecided
Didier Barvaux

Bug Description

Cross-compilation for ARM on x86 of both 1.2.x and 1.3.x branches fails with the following error:

/bin/sh ../../libtool --tag=CC --mode=compile arm-9tdmi-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -g -Wall -Wstrict-prototypes -g -O2 -Werror -MT wlsb.lo -MD -MP -MF .deps/wlsb.Tpo -c -o wlsb.lo wlsb.c
libtool: compile: arm-9tdmi-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -g -Wall -Wstrict-prototypes -g -O2 -Werror -MT wlsb.lo -MD -MP -MF .deps/wlsb.Tpo -c wlsb.c -fPIC -DPIC -o .libs/wlsb.o
cc1: warnings being treated as errors
wlsb.c: In function 'c_create_wlsb':
wlsb.c:56:2: error: implicit declaration of function 'rpl_malloc'
wlsb.c:56:4: error: assignment makes pointer from integer without a cast
make[3]: *** [wlsb.lo] Error 1

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Fixed in the 1.3.x branch by removing the deprecated AC_FUNC_MALLOC macro from configure.ac.
See http://bazaar.launchpad.net/~didier-barvaux/rohc/1.3.x/revision/164

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Fixed in the 1.2.x branch by removing the deprecated AC_FUNC_MALLOC macro from configure.ac.
See http://bazaar.launchpad.net/~didier-barvaux/rohc/1.2.x/revision/138

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.