On Sat, 7 Feb 2009, Oguz Yarimtepe wrote:

Hi,

After installing the new version of freetype and cross compiling again i
decided to compile a small test application which just shows an EDC file on
the screen.

Here is what i got:

$ sh4-linux-gcc `pkg-config --cflags --libs ecore-evas evas ecore edje`
main.c -o efl-test2
/st710x/usr/local/efls/lib/libevas.so: undefined reference to
`FT_Get_TrueType_Engine_Type'

$ $ sh4-linux-nm -C /st710x/usr/local/efls/lib/libevas.so | grep FT_Get
        U FT_Get_Char_Index
        U FT_Get_Glyph
        U FT_Get_Kerning
        U FT_Get_TrueType_Engine_Type

Why is that FT_Get_TrueType_Engine_Type marked as undefined?

it is normal to find it undefined in the *evas* library. The symbol will be resolved at run time. What you must check is that the symbol FT_Get_TrueType_Engine_Type is defined in the freetype shared library

Vincent

I am not sure where to look for a solution. I may be doing something wrong
while cross compiling.  I have
LD_LIBRARY_PATH=/st710x/usr/local/efls/lib:/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/

LD_RUN_PATH=/st710x/usr/local/efls/lib:/opt/STM/STLinux-2.2/devkit/sh4/target/usr/X11R7/lib/:/st710x/usr/lib

variables at my env with sh4-linux-cc related stuff. evas and ecore are
compiled and installed without any errors. I had to play with the
fontconfig.la and expat.la files which are under /opt/.... I changed the
directory definitions related with the freetype, to the newly installed
directory. After showing it the right dir it started to compiled without
errors.

Will be happy if someone helps me.

On Wed, Feb 4, 2009 at 10:12 PM, Vincent Torri <vto...@univ-evry.fr> wrote:



 What can be other things that i should suspicious about? As you said adter
2.2 it is defined. Do you know where the definition is at the freetype
headers, i better check it.


check the symbol in the shared lib:

sh4-linux-nm -C /path/to/freetype.so | grep FT_Get_TrueType_Engine_Type

give the output

Vincent

 ...
...
mv -f .deps/ecore_config.Tpo .deps/ecore_config.Po
/bin/bash ../../libtool --tag=CC   --mode=link
/opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc  -g -O2
 -L/st710x/usr/lib
-o ecore_config ecore_config.o
../../src/lib/ecore_config/libecore_config.la../../src/lib/ecore_ipc/
libecore_ipc.la../../src/lib/ecore_con/libecore_con.la../../src/lib/ecore/
libecore.la
mkdir .libs
/opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux-gcc -g -O2 -o
.libs/ecore_config ecore_config.o  -L/st710x/usr/lib
../../src/lib/ecore_config/.libs/libecore_config.so
../../src/lib/ecore_ipc/.libs/libecore_ipc.so
../../src/lib/ecore_con/.libs/libecore_con.so
../../src/lib/ecore/.libs/libecore.so  -Wl,--rpath
-Wl,/st710x/usr/local/efls/lib
/st710x/usr/local/efls/lib/libevas.so.0: undefined reference to
`FT_Get_TrueType_Engine_Type'


It's strange as the api ref (

http://www.freetype.org/freetype2/docs/reference/ft2-truetype_engine.html#FT_Get_TrueType_Engine_Type
)
mentions that the function exists since freetype 2.2

Nevertheless, try to update freetype

Vincent




--
O?uz Yar?mtepe
www.loopbacking.info

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications today-
http://p.sf.net/sfu/adobe-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.





--
O?uz Yar?mtepe
www.loopbacking.info

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to