[kaffe] arm linux compilation problem of kaffe-1.1.0

Sankalpa sgamwarige@sri.crossvue.com
Sun Jun 15 20:56:01 2003


Hi

	I tried to compile kaffe 1.1.0 with awt qt support.I have successfully
ported qt embedded 2.3.4 with qtopia 1.6.(I used same tool chain to
compile qt.qtopia and kaffe)

I compiled kaffe with following environment variables set.


export CC=arm-linux-gcc
export AS=arm-linux-as
export LD=arm-linux-ld
export CC=arm-linux-gcc
export CPP='arm-linux-gcc -E'
export AR=arm-linux-ar
export NM=arm-linux-nm
export STRIP=arm-linux-strip
export OBJCOPY=arm-linux-objcopy
export OBJDUMP=arm-linux-objdump
export RANLIB=arm-linux-ranlib
export KAFFEH=/tmp/temp1/bin/kaffeh

export QTDIR=~/to_qt_path/
export PATH=$QTDIR/bin:$PATH

./configure --prefix=/mnt/ide/kaffe --build=i386-linux --host=arm-linux
--with-awt=qt --with-qtdir=/tmp/qtopia/qtopia/qt-2.3.4 
--with-includes=/usr/local/arm/2.95.3/include
--with-libraries=/usr/local/arm/2.95.3/lib --without-x

arm-linux-gcc -g -O2 -Wall -Wstrict-prototypes -fsigned-char -o kaffeh
sigs.o support.o main.o mem.o inflate.o jar.o utf8const.o readClass.o
constants.o debug.o  -L/tmp/qtopia/qtopia/qt-2.3.4/lib -lqte -Wl,--rpath
-Wl,/usr/local/arm/2.95.3/lib
/tmp/qtopia/qtopia/qt-2.3.4/lib/libqte.so: undefined reference to `cos'
/tmp/qtopia/qtopia/qt-2.3.4/lib/libqte.so: undefined reference to `sin'
/tmp/qtopia/qtopia/qt-2.3.4/lib/libqte.so: undefined reference to `pow'
collect2: ld returned 1 exit status
make[2]: *** [kaffeh] Error 1


What may be the reason for this.

Thanks

Sankalpa


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
Crossvue Private Limited - a Symbol Technologies Company