building libkflash fails and a workaround

yan seiner yan at seiner.com
Tue Mar 7 23:06:47 CET 2006


I'm trying to build the flash player for konq/e....  It fails at the 
very end with:

/bin/sh ../../libtool --silent --tag=CXX --mode=link arm-linux-g++  
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
-fno-exceptions -fno-check-new -fno-common -fno-rtti 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST    -o konqueror  
-L/usr/local/arm/konq/lib -L/qte/lib   -L/usr/local/arm/lib 
-export-dynamic main.o mainwindowbase.o mainwindebug.o htmlview.o 
popuphandler.o view.o run.o browseriface.o bookmarks.o preferences.o 
preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o 
mainwindow_tv.o xmltree.o bookmarkeditor.o bookmarkeditorimpl.o 
bookmarkedit.o bookmarkeditimpl.o 
../../konq-embed/add-ons/kflashpart/libkflash_e.la 
../../konq-embed/dropin/kio/libkiodropin.la 
../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la 
../../konq-embed/kdesrc/kjs/libkjs.la  ../lib/libkonqe.la 
../../konq-embed/kdesrc/kparts/libkparts.la 
../../konq-embed/dropin/libdropin.la 
../../konq-embed/dropin/kparts/libkpartsdropin.la 
../../konq-embed/kdesrc/khtml/libkhtml_i.la 
../../konq-embed/dropin/kssl/libkssldropin.la 
../../konq-embed/kdesrc/kssl/libkssl.la
../../konq-embed/add-ons/kflashpart/.libs/libkflash_e.a(graphic32.o)(.text+0x1338): 
In function `GraphicDevice32::fillLineRG(Gradient*, long, long, long)':
: undefined reference to `SQRT'

AFAICT, it has to do with sqrt.cc not exporting its symbols 
correctly.... I don't know enough about c++ to fix it; for now I've 
gotten around it by the ugly and brute-force method of changing the

extern unsigned char SQRT[];

to

#include "sqrt.cc"

in all of the /kflashpart/flashlib/graphics*cc files....

Once that's done flash does work....

--Yan


More information about the konq-e mailing list