OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
summer00 doesn't have a personal statement currently.
Personal Info
summer00
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 2-June 04
Profile Views: 687*
Last Seen: 14th July 2004 - 08:45 PM
Local Time: Jul 29 2014, 11:03 PM
42 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Private
* Profile views updated each hour

summer00

Members


Topics
Posts
Comments
Friends
My Content
28 Jun 2004
Any opensource VOIP software that works in 5500? Any program that can be cross-compiled into a PDA?thanks
28 Jun 2004
I knew i have posted a lot of similar posts, very sorry about that, but this is the latest progression of my project, hope someone can help me on this smile.gif

I am trying to cross compile kphone(a VOIP softphone) so that it will work in a ZAURUS sl-5500.
I have qt-embedded in " file:/qt-embedded-free-3.3.2 ". I have executed the steps below in the kphone directory :

$ PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH ./configure --host=arm-linux
CODE
reating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... yes
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking whether gcc needs -traditional... no
checking for moc... /usr/lib/qt-3.1/bin/moc
checking for uic... /usr/lib/qt-3.1/bin/uic
checking location of Qt header files... /usr/lib/qt-3.1/include
checking location of Qt library... /usr/lib/qt-3.1/lib
checking if Qt is multi-threaded... no
checking for main in -lX11... no
checking for main in -lXext... no
checking for main in -lXt... no
checking for main in -lICE... no
checking for main in -lSM... no
checking for main in -lpng... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for select... no
checking for mkstemp() in unistd.h... no
checking for mkstemp() in stdlib.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating kphone/Makefile
creating dissipate2/Makefile
creating ilbc/Makefile
creating gsm/Makefile
creating icons/Makefile

Now type 'make', followed by 'make install' as root.

[root@localhost kphone-4.0.1]#


$ PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH make
here are the erros during "make" process
CODE
 ......
 ......
/usr/bin/ld: main.o: Relocations in generic ELF (EM: 40)
main.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [kphone] Error 1
make[1]: Leaving directory `/kphone-4.0.1/kphone'
make: *** [all] Error 2


the compilation was successful if i use:
CODE
$ ./configure
$ make


instead of

CODE
$ PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH ./configure --host=arm-linux
$ PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH make



Any idea on this ?

Kphone source
http://cvs.wirlab.net/cgi-bin/viewcvs.cgi/...ar.gz?tarball=1
21 Jun 2004
im using qtopia right now, wonder how to create a .pro file using configure script?
One way is modifying the example.pro given...but how if i have a lot of .cpp and .h files?
16 Jun 2004
i have two types of compiler installed in my system

1)usr/bin/gcc --> normal gcc compiler
2)usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin/gcc --> arm gcc compiler

now i wish to build a program that could run on a zaurus PDA using CONFIGURE SCRIPT.
in this case, i wish to use the cross compiler, so how should i set the path ?

i have tried to run below

$PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH ./configure --host=am-linux
$make

but the computer would use normal gcc instead of the arm-gcc,how should i do?

$ file application
gave the result :
ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped
16 Jun 2004
1)
i have the cross-compile toolchain in /usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin/gcc , now what i want to do is to compile a program with configure script, how do i set the path so that the computer will use the arm gcc(in the path i've just mentioned) instead of the normal gcc ?

2)
is this the command to compile ?
./configure --host=arm-linux

thanks a lot
Last Visitors


4 Feb 2009 - 5:07


1 Apr 2008 - 12:23

Comments
Other users have left no comments for summer00.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 29th July 2014 - 11:03 PM