2006-06-27 12:05:54

by Mayank Batra

[permalink] [raw]
Subject: [Bluez-devel] Cross Compiling openobex

Hi,

I am able to cross compile openobex-1.0.1 and openobex-apps-1.0.0 for ARM.
But when I try to compile the application ussp-push, I get the following
errors:

arm-linux-gcc -I/usr/local/include
-I/usr/include/glib-1.2-I/usr/lib/glib/include -c obex_main.c -o
obex_main.o
arm-linux-gcc -I/usr/local/include
-I/usr/include/glib-1.2-I/usr/lib/glib/include -c obex_socket.c -o
obex_socket.o
arm-linux-gcc obex_main.o obex_socket.o -L/usr/lib -lglib -L/usr/local/lib
/usr/local/arm/2.95.3/arm-linux/lib/libopenobex.a -o ussp-push
/usr/lib/libglib.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status


Does this mean that I have to compile glib also for ARM?

Thanks.
Regards,
Mayank


Attachments:
(No filename) (711.00 B)
(No filename) (892.00 B)
(No filename) (299.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-27 13:17:12

by Mayank Batra

[permalink] [raw]
Subject: Re: [Bluez-devel] Cross Compiling openobex

Hi Marcel,

On 6/27/06, Marcel Holtmann <[email protected]> wrote:
>
> > Does this mean that I have to compile glib also for ARM?
>
> use openobex-1.3 all other versions are outdated. And you might need to
> change ussp-push to not compile with GLib.


Actually, that is what I wanted to know. How do I compile ussp-push without
GLib?
It is simply not possible as the source files of ussp-push are including
header files from GLib.

Regards,
Mayank


Attachments:
(No filename) (451.00 B)
(No filename) (789.00 B)
(No filename) (299.00 B)
(No filename) (164.00 B)
Download all attachments

2006-06-27 12:18:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Cross Compiling openobex

Hi Mayank,

> I am able to cross compile openobex-1.0.1 and openobex-apps-1.0.0 for
> ARM.
> But when I try to compile the application ussp-push, I get the
> following errors:
>
> arm-linux-gcc -I/usr/local/include -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -c obex_main.c -o obex_main.o
> arm-linux-gcc -I/usr/local/include -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -c obex_socket.c -o obex_socket.o
> arm-linux-gcc obex_main.o obex_socket.o -L/usr/lib -lglib
> -L/usr/local/lib /usr/local/arm/2.95.3/arm-linux/lib/libopenobex.a -o
> ussp-push
> /usr/lib/libglib.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
>
> Does this mean that I have to compile glib also for ARM?

use openobex-1.3 all other versions are outdated. And you might need to
change ussp-push to not compile with GLib.

Regards

Marcel



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel