Hi irda-users,
I am having problem in building irdadump tool for arm based board. Seems there is some problem with glib.
The question is :
do I need to have glib compiled for arm ?
I successfully built glib-2.4.1 for arm also but, irdadump is looking for glib-config & libglib.so library & it coudnt find them in 2.4.1.
I am also trying with different versions of glib.
is it possible to make irdadump to skip glib?
Below is the log.
Am in need of your help. And its greatly appreciated
Thanks in advance
make  all-recursive
make[1]: Entering directory `/home/ragha/irda-utils-0.9.16/irdadump'
Making all in src
make[2]: Entering directory `/home/ragha/irda-utils-0.9.16/irdadump/src'
source='irdadump.c' object='irdadump.o' libtool=no \
depfile='.deps/irdadump.Po' tmpdepfile='.deps/irdadump.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'irdadump.c' || echo './'`irdadump.c
source='irlmp.c' object='irlmp.o' libtool=no \
depfile='.deps/irlmp.Po' tmpdepfile='.deps/irlmp.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'irlmp.c' || echo './'`irlmp.c
source='obex.c' object='obex.o' libtool=no \
depfile='.deps/obex.Po' tmpdepfile='.deps/obex.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'obex.c' || echo './'`obex.c
source='ircomm.c' object='ircomm.o' libtool=no \
depfile='.deps/ircomm.Po' tmpdepfile='.deps/ircomm.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'ircomm.c' || echo './'`ircomm.c
source='netbuf.c' object='netbuf.o' libtool=no \
depfile='.deps/netbuf.Po' tmpdepfile='.deps/netbuf.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'netbuf.c' || echo './'`netbuf.c
source='capture.c' object='capture.o' libtool=no \
depfile='.deps/capture.Po' tmpdepfile='.deps/capture.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../../include    -g -O2 -c `test -f 'capture.c' || echo './'`capture.c
rm -f libirdadump.a
ar cru libirdadump.a irdadump.o irlmp.o obex.o ircomm.o netbuf.o capture.o
ranlib libirdadump.a
make[2]: Leaving directory `/home/ragha/irda-utils-0.9.16/irdadump/src'
Making all in shell
make[2]: Entering directory `/home/ragha/irda-utils-0.9.16/irdadump/shell'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -g -O2 -c `test -f 'main.c' || echo './'`main.c
/bin/sh ../libtool --mode=link /usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc  -g -O2   -o irdadump  main.o -L/usr/lib -lglib ../src/libirdadump.a
mkdir .libs
/usr/local/arm/gnu/release-3.4.0/bin/arm-linux-gcc -g -O2 -o irdadump main.o  -L/usr/lib /usr/lib/libglib.so ../src/libirdadump.a
/usr/lib/libglib.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [irdadump] Error 1
make[2]: Leaving directory `/home/ragha/irda-utils-0.9.16/irdadump/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ragha/irda-utils-0.9.16/irdadump'
make: *** [all] Error 2